Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
openwrt:reflash_wo_usb [2017/12/16 06:44] comap89 [Reflash in Failsafe-Mode using netcat] Typo. |
openwrt:reflash_wo_usb [2017/12/16 06:52] (current) comap89 [using Python & Linux] Misc. |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Reflashing via Failsafe mode and without USB ====== | ====== Reflashing via Failsafe mode and without USB ====== | ||
| - | ===== using Python & Linux ===== | + | ===== Using Python and Linux ===== |
| - | If your device is messed up and you are not able to change the network-configuration useful, you may can reflash the router with using you local network and a temporary webserver. | + | If your device is messed up and you are not able to change the network-configuration useful, you may reflash the router, using you local network and a temporary webserver. |
| - | In the following HowTo, I assume, that you are using an MR3020 , but this method works for all routers- only exchange the image(-link). I assume you have Linux-Computer with a working python installation. | + | In the following HowTo, I assume that you are using an MR3020, but this method works for all routers: you have only to exchange the image(-link). I assume you have a Linux-Computer with a working Python installation. |
| 1. Connect your laptop to the internet. | 1. Connect your laptop to the internet. | ||
| - | 2. Choose the correct image-file while referring to [[openwrt:hardware|our hardware list]], then open a Terminal and run | + | 2. Choose the correct image-file while referring to [[openwrt:hardware|our hardware list]], then open a Terminal and run: |
| cd /tmp | cd /tmp | ||
| wget http://stable.openwrt.piratebox.de/auto/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin | wget http://stable.openwrt.piratebox.de/auto/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin | ||
| - | 3. After you had downloaded the image, run the following command to launch a small basic webserver: | + | 3. After you have downloaded the image, run the following command to launch a small basic webserver: |
| - | **Python 2.7** | + | **Python 2.7**: |
| python -m SimpleHTTPServer 8000 | python -m SimpleHTTPServer 8000 | ||
| - | When this fails- you maybe have **Python 3.x** | + | When this fails (you maybe have **Python 3.x**): |
| python3 -m http.server | python3 -m http.server | ||
| - | 4. Then connect to your MR3020 and boot it into failsafe mode | + | 4. Then connect to your MR3020 and boot it into failsafe mode |
| - | 5. Set your computer to static IP 192.168.1.2 | + | |
| - | 6. Open | + | |
| - | telnet 192.168.1.1 | + | 5. Set your computer to the static IP 192.168.1.2 |
| - | 7. run the following command to download the image onto your MR3020 | + | 6. From Terminal, type: |
| + | |||
| + | telnet 192.168.1.1 | ||
| + | |||
| + | 7. Run the following command to download the image onto your MR3020: | ||
| cd /tmp | cd /tmp | ||