DD-WRT 安裝方式:( 十分的危險的行為, 不要自己亂做喔. ref: http://www.dd-wrt.com/wiki/index.php/La_Fonera_Flashing ref: http://earlreco.blogspot.com/2007/04...
DD-WRT 安裝方式:(十分的危險的行為, 不要自己亂做喔.
ref: http://www.dd-wrt.com/wiki/index.php/La_Fonera_Flashing
ref: http://earlreco.blogspot.com/2007/04/fonera.html
)
如果失敗了, 想用 serial console cable, 這裡有製作方式.
ref: http://www.dd-wrt.com/wiki/index.php/LaFonera_Hardware_Serial-Cable-Port
ref: http://cclien.net/archives/000299.html
1. 首先要能夠登入 Fon
2. 準備用的到的東西
(免安裝)HFS http://www.melauto.it/public/rejetto/hfs.exe
(免安裝)Tftpd32 http://tftpd32.jounin.net/download/tftpd32.323.zip
DD-WRT http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fbeta%2FFONERA/
要使用之檔案
openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma http://fonera.info/camicia/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma
out.hex http://fonera.info/camicia/out.hex
DD-WRT:root.fs,vmlinux.bin.l7 http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fbeta%2FFONERA/
建議使用 HFS 加載這些檔案.(現在每一步驟都要有耐心)
3. 登入 Fon
cd /tmp
wget http://192.168.10.167:8080/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma
mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7
reboot
等1~2分鐘
cd /tmp
wget http://192.168.10.167:8080/out.hex
mtd -e "RedBoot config" write out.hex "RedBoot config"
reboot
重頭戲上場, 放入 DD-WRT
修改eth0設定, 就是透過 RJ45 跟Fon連接.
ip: 192.168.1.166
subnet mask: 255.255.255.0
default gateway: 169.254.255.1
DNS: 169.254.255.1
立即啟動 TFTP, 並將 root.fs,vmlinux.bin.l7 放在相同目錄.(十分重要)
使用 telnet 登入 192.168.1.254, port 為 9000
telnet 192.168.1.254 9000
看到下面, 開始建立 FIS, 指立如下, 請逐步執行.(要很久, 請有耐心.)
^C
RedBoot>
ip_address -l 192.168.1.254/24 -h 192.168.1.166
fis init
按 y
load -r -v -b 0x80041000 root.fs
fis create -b 0x80041000 -f 0xA8030000 -l 0x002C0000 -e 0x00000000 rootfs
load -r -v -b 0x80041000 vmlinux.bin.l7
fis create -r 0x80041000 -e 0x80041000 -l 0x000E0000 vmlinux.bin.l7
fis create -f 0xA83D0000 -l 0x00010000 -n nvram
reset
如此就會變身為 DD-WRT.
透過 wifi 取得 IP, 登入 dd-wrt, http://192.168.1.1/
帳/密: root/admin