NGW100: Restore or Upgrade Usr Filesystem With WGET
May 23rd, 2009 by TheKidd
For this exercise, I will be basing my walk through off of AVR Freak’s Wiki documentation. For other updating options, please refer to the Firmware Upgrade page on AVR Freak’s Wiki.
Using NGW100′s Root FS & WGET to Load /usr FS
- Get booted all the way into the root filesystem on the NGW100.
- Run ps at the root prompt. You will be shown a list of all running processes on the NGW100.
- We must kill all processes running from /usr. Here is the command I used: killall dnsmasq telnetd inetd httpd dropbear nmbd
- Now issue umount /usr to unmount the partition. If it fails, you still have something running for the /usr partition. Check ps.
- Now we erase the /usr partition, otherwise known as /dev/mtd3 by issuing flash_eraseall /dev/mtd3.
- Once that is finished, we need to make sure we are in root (/) directory. Run cd ~ just to make sure.
- Now we download the usr image with
[...] That wasn’t too difficult. Next we will use WGET to load the /usr filesystem. [...]
Now I just need to figure out why my only blog is pinging itself…haha ftw!