This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 2021:xiaomi_flash [2021/10/20 21:05] – [Flashing the new firmware] admin | 2021:xiaomi_flash [2021/11/03 15:43] (current) – [Flashing the new firmware] admin | ||
|---|---|---|---|
| Line 114: | Line 114: | ||
| * SSH into the router | * SSH into the router | ||
| * Write the firmware to the OS1 flash partition using the **mtd** program. | * Write the firmware to the OS1 flash partition using the **mtd** program. | ||
| - | * Copy the firmware file to the router. Please change the name of the firmware file to match yours. | + | * Copy the firmware file to the router. |
| + | |||
| + | |||
| + | <wrap em> | ||
| <code bash> | <code bash> | ||
| scp -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/ | scp -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/ | ||
| </ | </ | ||
| * SSH into the device | * SSH into the device | ||
| + | |||
| + | <wrap em>**!! Here also change the name of the firmware file to match yours !!**</ | ||
| + | |||
| <code bash> | <code bash> | ||
| ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/ | ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc -o UserKnownHostsFile=/ | ||