Hi, just wanted to share some new things I discovered about how to flashing firmware though an HTTP server, since I started to use a serial-USB converter:
serial-port GL-iNet → USB to my PC. (it’s not necessary to have the serial converter, it just helped me to understand/debug what was happening), so if you don’t have one just go to the step number 5.
- Open the cover of the router
- Connect serial port to the USB using a serial-usb converter
- In terminal, type dmesg to find where is the serial-USB attached:
$ dmesg
The ouput should contain something like:
[784212.385191] usb 2-2: cp210x converter now attached to ttyUSB0
- Open picocom to read serial data from the router
$ picocom -b 115200 /dev/ttyUSB0 #use the USB number listed by dmesg ouput, in my case ttyUSB0
- Power on the router pressing the reset button for more than 10 seconds, then you can see in picocom that an HTTP server is opened at 192.168.1.1
- Go to your browser and type the 192.168.1.1 IP address. Now there should be an option to chose and upload your file (I’ve used the sysupgrade.bin file I compiled in openwrt, but renamed as lede-gl-b1300.bin). Wait some time and the sysupgrade is made, way easier than using the TFTP server!
1 Like