= Fon 2100EへOpenWrt 10.03.1(backfire)を導入 = ここでは、FON 2100EへOpenWrtの最新版(10.03.1)を導入する方法を紹介します。 == 準備 == http://downloads.openwrt.org/backfire/10.03.1/atheros/ から、 * openwrt-atheros-vmlinux.lzma * openwrt-atheros-root.jffs2-64k をダウンロードし、TFTPサーバのフォルダコピーしておきます。TFTPサーバの構築方法は適当に調べてください。 PCのネットワークカードのIPを192.168.1.2などを設定しておきます。 == RedBootへログイン == FONの電源を一度抜いて刺します。適当なタイミングで下記のコマンドを実行し、telnetでログインを試みます。Windowsを使う 場合は、puttyなどを使ってください。 {{{ $ telnet 192.168.1.254 9000 }}} RedBootと表示されたら、Ctrl-Cでブートを中断します。 == ロム焼き == 次の手順でflashロムへ書き込みます。 {{{ RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.2 IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.1.2 RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma Using default protocol (TFTP) Raw file loaded 0x80040800-0x801207ff, assumed entry at 0x80040800 RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7 ... Erase from 0xa8030000-0xa8110000: .............. ... Program from 0x80040800-0x80120800 at 0xa8030000: .............. ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> fis free 0xA8110000 .. 0xA87E0000 RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.jffs2-64k Using default protocol (TFTP) Raw file loaded 0x80040800-0x803207ff, assumed entry at 0x80040800 RedBoot> fis create -l 0x6D0000 rootfs ※ 0x6D0000は、0xA87E0000-0xA8110000から算出 RedBoot> fconfig boot_script_data >> fis load -l vmlinux.bin.l7 >> exec >> RedBoot> reset }}} == 完了したら == telnetでログインしてパスワードを変更しましょう。 {{{ # telnet 192.168.1.1 # passwd ※パスワードを変更 }}} パスワードを変更すると、rootでSSHでログインできるようになるとともにtelnetでログインできなくなります。 ブラウザで http://192.168.1.1/ にアクセスするとGUIでOpenWrtを設定できます。kamikazeと違ってwpa_supplicant相当のモジュールが最初から入っているので簡単にWPA/WPA2の設定も行うことができます。