Skip to content

Commit

Permalink
Add copying over ssh command to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Dec 27, 2022
1 parent 35cdc29 commit 722dcea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ Password:

# Copy images over SSH to router
scp -r xiaomi_openwrt_images [email protected]:/tmp/

## If your factory firmware doesn't have sftp-server installed use command below
### ash: /usr/libexec/sftp-server: not found
### scp: Connection closed
ssh [email protected] "mkdir -p /tmp/xiaomi_openwrt_images"
cat xiaomi_openwrt_images/factory.bin | base64 -w0 | ssh [email protected] "cat | base64 -d > /tmp/xiaomi_openwrt_images/factory.bin"
```

6. Validate sha256 checksums and flash OpenWRT
Expand Down

0 comments on commit 722dcea

Please sign in to comment.