|
This guide is for flashing DD-WRT v24 final only.
Prep
The DD-WRT firmware can be downloaded here.
Download "linux.bin" and save it to a folder like C:\tftp
You will also need a tftp program to host the flash images for the Fonera. I recommend using tftpd32 which can be downloaded here (free).
Once you have tftpd32 installed, make sure the "Current Directory"
points to the folder you saved the flash files in the step above. Also
take note of the "Server interface" IP address as well.
Redboot will only look in the root folder of the tftp directory, so
put the files in the root directory. E.g. put the files in C:\tftp
not C:\tftp\flashfiles
Installation
1.
Access Redboot.
NOTE: Ignore the "/home/alfa.." messages. They will pop up periodically, but they do no harm.
2.
Specify the local IP and tftp server IP address. Use the following command:
ip_address -l 192.168.1.254/24 -h [remote server address]
Use the IP address of the tftp server you setup earlier. For example,
the tftp server IP address in this instance is "192.168.1.143".
Therefore, the command would be
ip_address -l 192.168.1.254/24 -h 192.168.1.143
3.
Now we will need to run a series of commands to wipe the existing firmware and install the new firmware. EDIT: The screen shot below shows "fis init". Instead, run "fis init -f" in order to clear the entire flash memory (thanks orange).
fis init
fis init -f
4.
Run the command:
load -r -b 0x80041000 linux.bin
5.
Run the command:
fis create linux
NOTE: This command can take up 45 minutes or even longer. The Fonera may appear unresponsive, but rest assured that it is working. DO NOT UNPLUG THE POWER.
6.
Now that DD-WRT is installed, you must make changes to the boot script in order to launch the firmware. Follow the steps below and perorm the actions in bold. Commands that you must type in are italicized. Lines with nothing but [Enter] means that the field should be empty.
RedBoot> fconfig [ENTER]
Run script at boot: true [ENTER]
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Enter script, terminate with empty line
>> fis load -l linux [ENTER]
>> exec [ENTER]
>>[ENTER]
Boot script timeout (1000ms resolution): 10 [ENTER]
Use BOOTP for network configuration: false [ENTER]
Gateway IP address: [ENTER]
Local IP address: 192.168.1.254 [ENTER]
Local IP address mask: 255.255.255.0 [ENTER]
Default server IP address: [ENTER]
Console baud rate: 9600 [ENTER]
GDB connection port: 9000 [ENTER]
Force console for special debug messages: false [ENTER]
Network debug at boot time: false [ENTER]
Update RedBoot non-volatile configuration - continue (y/n)? y [ENTER]
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot>reset [ENTER]
7.
You are now finished. Once your Fonera has finished rebooting, connect to the "dd-wrt" AP to access it.
Discuss this guide in the forums.
|