Jump to content

Reflashing the Fon


Recommended Posts

If you were like me and the Ap51 screwed up during the flash, I found a handy guide on how to flash the fon back to it's original (or close to it) at dd-wrt.com. note yat you have to set up a TFTP server to do it. Links provided at the end of the post

http://www.dd-wrt.com/wiki/index.php/La_Fo...iginal_firmware

"Reflashing LaFonera original firmware

1. Download the firmware:

* Download and unzip a pre-converted zip file:

7.1.1 version (Enable-SSH hole is OPEN in this version): Link

7.1.2 versions (Enable-SSH hole has been patched in this version): Link

* If you want the firmware directly from FON, download it here: Fon.com (Direct link) then follow these steps to convert it to usable files:

1. Remove the first 520 bytes of the downloaded file.

o On Linux, Mac OS X (or other *nixes): tail --bytes +520 fonera_0.7.1.3.fon > fonera_0.7.1.3.tar.gz

o Windows: Use the mirrored zip files which are already converted.

2. Change the extension of the resulting file to .tar.gz and untar it.

2. You need 2 files from the steps above, kernel.lzma and rootfs.squashfs. Put these in your TFTP server root directory. If you don't have a TFTP server, go back the beginning of this document and set one up.

3. Connect to the RedBoot prompt and type in the following commands:

ip_address -l 192.168.1.254/24 -h 192.168.1.2

fis init

load -r -v -b 0x80040450 rootfs.squashfs

fis create -b 0x80040450 -f 0xA8030000 -l 0x00700000 -e 0x00000000 rootfs

load -r -b %{FREEMEMLO} kernel.lzma

fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7

fis load -l vmlinux.bin.l7

exec

or with Fonera 2200

ip_address -l 192.168.1.254 -h 192.168.1.2

load -r -b %{FREEMEMLO} kernel.lzma

fis init

fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7

fis free

load -r -b %{FREEMEMLO} rootfs.squashfs

fis create -l 0x730000 rootfs

reset

Reboot the FON and you're done."

La Fonera firmware:

http://rapidshare.com/files/18083671/foner...packed.zip.html

TFTP software:

Windows: http://www.jounin.net/tftpd32.html

Linux: http://mirror.usu.edu/mirrors/gentoo/distf...pa-0.48.tar.bz2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...