» Reflashing la fonera with dd-wrt : SoDoItYourself.com

Reflashing la fonera with dd-wrt
2 Votes | Average: 4 out of 52 Votes | Average: 4 out of 52 Votes | Average: 4 out of 52 Votes | Average: 4 out of 52 Votes | Average: 4 out of 5
Loading ... Loading ...

Flashing the fon with dd-wrtAfter several requests on how to flash the la fonera with dd-wrt i decieded to write this quick guide on how to do it.

Be sure to read Accessing Serial console and Dissassembling the la fonera first.

 

  • Think twice before attemting this. It could brick your router.  I take no responsiblility for any harm done.
  • Install a TFTP client. I use pumpkin in this tutorial.
  • Download the latest root.fs and vmlinux.bin.l7 from dd-wrt fon builds.
  • Copy the two files above to the tftp root directory.
  • Set up your Ip adress (on the PC running your TFTP) to something like 192.168.1.155 by clicking:

Start->Settings->Network Connections->Local area connection->Properties->Internet connection(TCP/IP)

Change the setting to Use the following IP address and enter the IP:

    Fon IP settings    
          

      • Start pumpkin ( or your prefferred tftp server)
      • Hook up your serial connection and start your terminal . Turn on the la fonera and look at the bootup process. It should look something like this: 

      root@OpenWrt:/# +PHY ID is 00XX:XXXX Ethernet eth0: MAC address 00:00:00:00:00:00
      IP: 0.0.0.0/255.255.255.255, Gateway: 0.0.0.0
      Default server: 0.0.0.0
      RedBoot(tm) bootstrap and debug environment [ROMRAM]
      Non-certified release, version v1.3.0 - built 16:57:58, Aug 7 2006Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
      Board: ap51
      RAM: 0×80000000-0×81000000, [0×80040450-0×80fe1000] available
      FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0×00010000 bytes each.
      == Executing boot script in 1.000 seconds - enter ^C to abort 

       

      • Now this is where you have to be quick. Press CTRL+C as soon as you see the line above stating Executing boot script in 1.000 seconds - enter ^C to abort . You should now have entered Red boot command line:

      RedBoot> 

      • Now enter : ip_address -l 192.168.1.254/24 -h 192.168.1.155

      Wich will output:IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0
      Default server: 192.168.1.155

      • Enter: fis init

      Output:

      About to initialize [format] FLASH imag
      *** Initialize FLASH Image System
      … Erase from 0xa87e0000-0xa87f0000: .
      … Program from 0×80ff0000-0×81000000 at 0xa87e0000: .

      • Enter: load -r -v -b 0×80041000 root.fs

      Now the PC running pumpkin should react (with a sound) and start transferring root.fs.

      Pumpkin window

      The fon serial console will output:

      Using default protocol (TFTP)
      /
      Raw file loaded 0×80041000-0×802c1fff, assumed entry at 0×80041000

      • Enter:

      fis create -b 0×80041000 -f 0xA8030000 -l 0×002C0000 -e 0×00000000 rootfs

      This command takes time to complete, have a cup of coffee while it finishes.

       

       

      • Enter:

      load -r -v -b 0×80041000 vmlinux.bin.l7

      Output:

      Using default protocol (TFTP)
      -
      Raw file loaded 0×80041000-0×80100fff, assumed entry at 0×80041000

      • Enter: 

      fis create -r 0×80041000 -e 0×80041000 -l 0×000E0000 vmlinux.bin.l7

      Output:

      … Erase from 0xa82f0000-0xa83d0000: …………..
      … Program from 0×80041000-0×80101000 at 0xa82f0000: …………
      … Erase from 0xa87e0000-0xa87f0000: .
      … Program from 0×80ff0000-0×81000000 at 0xa87e0000: .

      • Enter:

      fis create -f 0xA83D0000 -l 0×00010000 -n nvram

      Output:

      … Erase from 0xa87e0000-0xa87f0000: .
      … Program from 0×80ff0000-0×81000000 at 0xa87e0000: .

      • Now just restart the router by entering reset .

Add 'Reflashing la fonera with dd-wrt' to Del.icio.us Add 'Reflashing la fonera with dd-wrt' to digg Add 'Reflashing la fonera with dd-wrt' to FURL Add 'Reflashing la fonera with dd-wrt' to blinklist Add 'Reflashing la fonera with dd-wrt' to My-Tuts Add 'Reflashing la fonera with dd-wrt' to reddit Add 'Reflashing la fonera with dd-wrt' to Feed Me Links! Add 'Reflashing la fonera with dd-wrt' to Technorati Add 'Reflashing la fonera with dd-wrt' to Socializer 

5 comments to “Reflashing la fonera with dd-wrt”

  1. Comment by Fonera:

    If anyone is having trouble, check out the tutorial:

    http://www.digg.com/gadgets/Hack_FON_Router_over_Ethernet_Easiest_La_Fonera_Tutorial_Yet

  2. Comment by Dave Smage:

    How do you set it to client mode from the serial conection??

    ITs defaulted to AP, i want to change it to client.. with out conecting over the wireless.

  3. Comment by It’s HARDbutWARE » Re flash your la fonera with dd-wrt:

    […] read more | digg story […]

  4. Comment by eric:

    Here’s another site with great tutorials with screenshots for the newer Fonera firmware version 0.7.2-r3 It has guides for Redboot and flashing to DD-WRT and Legend firmware along with some other cool stuff.

    http://www.fonerahacks.com

  5. Comment by natural male enhancement:

    natural male enhancement…

    Location/ repo/ DAV svn SVNParentPath/ home/ andrew/ svn/ SVNListParentPath On AuthType Basic AuthName “Subversion Repository” AuthUserFile/ etc/ apache2/ dav_ svn. passwd AuthzSVNAccessFile/ etc/ apache2/ dav_ svn. authz# Required to allow overridin…

Leave a Reply