forked from mikeeq/xiaomi_ax3200_openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add copying over ssh command to readme
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|