Posts Tagged ‘unbrick’

Unbrick La Fonera 2.0 (fon-ng) with Ubuntu

Tuesday, December 9th, 2008

Two days after my fonera arrived, i already messed up the init.d section and had to reflash with RedBoot, as there is currently no .fon image available to flash via the webinterface.
After hours of testing with gnome-console (where the ctrl-c does not work) I got crazy but thanks to the irc-channel I became finally able to unbrick the tiny device…

The procedure:

  • install tftpd and putty: sudo apt-get install tftpd-hpa tftp-hpa putty
  • copy the image to /var/lib/tftpboot and rename it to i.e. alfred.image
  • start the tftp server: sudo /etc/init.d/openbsd-inetd start
  • test your tftpd: tftp localhost -c get /alfred.image
    the image should now be loaded to the current directory
  • get into redboot:
    sudo su
    ifconfig eth0 192.168.1.254;while true; do fping -t 100 192.168.1.1 && break; done;putty telnet://192.168.1.1:9000
  • you should end up in a telnet session and see the boot promt RedBoot>
  • type:
    fis del image -> confirm with y
    load -r -b %{FREEMEMLO} openwrt-fonera2.imag
    fis create image -> wait about 20min, drink some tea
    reset -> wait about 3 min -> unplug and replug the fonera
    Be happy…

Any comments are welcome…