User Tools

Site Tools


updating_firmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

updating_firmware [2016/02/21 21:43]
jacky created
updating_firmware [2016/02/22 20:05] (current)
jacky [Linux + network + nc]
Line 5: Line 5:
 Copying the firmware on the router is the main challenge. We have described a few ways below. Copying the firmware on the router is the main challenge. We have described a few ways below.
 ==== Linux + network + nc ==== ==== Linux + network + nc ====
 +We assume that you have a working Ethernet connection to the router, running a Linux host PC. It may also work in Windows/Mac if you have the nc (netcat) tool avaliable.
  
 +On your host, start a netcat server on some port and pipe the .bin firmware file into it:
 +<​code>​$ nc -l -p 5555 < /​path/​to/​openwrt-...-sysupgrade.bin</​code>​
 +
 +Now open a ssh/​telnet/​serial connection to the router and download the image file:
 +<​code>#​ cd /tmp
 +nc <ip> 5555 > image.bin</​code>​
 +Where <ip> is the IP address of the host PC.
updating_firmware.txt ยท Last modified: 2016/02/22 20:05 by jacky