Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openwrt:reflash_with_usb [2017/12/09 12:38] matthias adding changes based on forum feedback |
openwrt:reflash_with_usb [2017/12/11 09:48] (current) comap89 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Reflash using an USB Stick ====== | ====== Reflash using an USB Stick ====== | ||
- | YouTube video: http://youtu.be/axQvgqvlhcU | + | YouTube video (demo): http://youtu.be/axQvgqvlhcU |
- | The following howto works, if you already have usb drivers (pre) installed. This can be manually or within a custom image. The HowTo applyies to the most devices, it uses the MR3020 as an example. | + | The following howto works if you already have USB driver (pre) installed on the device. This can be manually or within a custom image. The HowTo applyies to the most of devices, it uses the TP-Link MR3020 as an example. |
- | * Download Image to your computer, refer to [[openwrt:hardware|our hardware list]] choosing the correct file. | + | * Download the image file to your computer, refer to [[openwrt:hardware|our hardware list]] choosing the correct file. |
- | * Power off the MR3020 | + | * Power off the MR3020. |
- | * Take your USB device and put the downloaded file to your usb device | + | * Take your USB device and copy the downloaded file onto. |
- | * Connect the MR3020 to your computer via Ethernet. | + | * Connect the MR3020 to your computer via a Ethernet cable. |
- | * Set your computer's IP to '''192.168.1.2''', subnet mask '''255.255.255.0''' . | + | * Set your computer's IP address to '''192.168.1.2''', subnet mask '''255.255.255.0'''. |
- | * Start to ping 192.168.1.1 (this is the failsave IP) infinitive | + | * Start to ping 192.168.1.1 (this is the failsave IP address) infinitely. |
- | * Power the MR3020 on and when the WPS Button starts to blink , push it (it will blink faster). The button for activating failsafe mode may vary per device (some examples): | + | * Power the MR3020 on and when the WPS Button starts to blink, push it (then it will blink faster). Note: The button name for activating the failsafe mode may vary per device (for example on the 'TP-Link WR1043ND v1': the 'WPS' button is named 'OSS'). |
- | * TP-Link WR1043ND v1 - the 'WPS' button is named 'OSS'. | + | * You should see the ping getting a response. |
- | * You see the ping getting response | + | * Type: |
- | * Run | + | |
telnet 192.168.1.1 | telnet 192.168.1.1 | ||
- | * Plugin your USB Device to the pbx-router | + | * Plug your USB Device to the pbx-router |
- | * Do the following commands: | + | * Do the following command: |
- | /etc/init.d/boot start (This will return some error messages - ignore it) | + | /etc/init.d/boot start (This will return some error messages - ignore these) |
- | * Try((If you can't remember the filename type ''ls'' to see the content of /mnt )) | + | * Then type: |
mount /dev/sda1 /mnt | mount /dev/sda1 /mnt | ||
cd /mnt/ | cd /mnt/ | ||
+ | ls | ||
mtd -r write <your filename> firmware | mtd -r write <your filename> firmware | ||
* The device reboots automatically after successfully flashing. | * The device reboots automatically after successfully flashing. | ||
- | If mount does not work, you can do | + | If the mount does not work, you can do: |
mount_root | mount_root | ||
- | Wich mounts your root partition and you can edit files. after you are finished run | + | Which mounts your root partition in order you can edit files. After you have finish, type: |
reboot -f | reboot -f |