Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-settings.php on line 512

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-settings.php on line 527

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-settings.php on line 534

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-settings.php on line 570

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1244

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/sodoityo/public_html/wp-includes/classes.php on line 1442

Strict Standards: Redefining already defined constructor for class wpdb in /home/sodoityo/public_html/wp-includes/wp-db.php on line 306

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-includes/cache.php on line 103

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/sodoityo/public_html/wp-includes/cache.php on line 431

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-includes/query.php on line 61

Deprecated: Assigning the return value of new by reference is deprecated in /home/sodoityo/public_html/wp-includes/theme.php on line 1109

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/sodoityo/public_html/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/sodoityo/public_html/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/sodoityo/public_html/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/sodoityo/public_html/wp-includes/comment-template.php on line 1266

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /home/sodoityo/public_html/wp-includes/class.wp-dependencies.php on line 31

Strict Standards: Redefining already defined constructor for class WP_Http in /home/sodoityo/public_html/wp-includes/http.php on line 61
 » 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 ...


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sodoityo/public_html/wp-content/plugins/postratings/postratings.php on line 399

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: 
      • 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:
      • Now enter : ip_address -l 192.168.1.254/24 -h 192.168.1.155
      • Enter: fis init
      • Enter: load -r -v -b 0×80041000 root.fs
      • Enter:
      • Enter:
      • Enter: 
      • Enter:
      • Now just restart the router by entering reset .
    • 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, [0x80040450-0x80fe1000] available
      FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0×00010000 bytes each.
      == Executing boot script in 1.000 seconds - enter ^C to abort 

       

      RedBoot> 

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

      Output:

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

      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

      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.

       

       

      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

      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: .

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

      Output:

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

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 

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

  1. Comment by Fonera:

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sodoityo/public_html/wp-includes/kses.php on line 1002

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sodoityo/public_html/wp-includes/kses.php on line 1003

    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 George:

    I´ve skipped some of the steps you write about, because of other tutorial and fonera works fine, BUT only when using SERIAL connection:/

    I cannot access fonera via SSH, nor SCP. I cannot upload files to fonera, so I can´t do anything about installing any other package. What should I do? Should I re-flash it or can I do the step, I have skipped? I just need to know, how to install other packages or how to gain access using the WINSCP to copy necessary packages.