openwrt install on mzk ( or cqw) .... tftpおよび insturctionのメモ(我が家の環境のメモざんす) その2

http://d.hatena.ne.jp/toshi_hirasawa/20120804/1344075436
からの続き



openwrt install on mzk ( or cqw) .... tftpおよび insturctionのメモ(我が家の環境のメモざんす)では シリアル経由で接続できるところまで、
 /etc/config/networkはすでにOKとして

 passwd設定
 reboot
brctl show

root@OpenWrt:/# brctl show                                                      
bridge name     bridge id               STP enabled     interfaces              
br-lan          8000.0022cf077b3a       no              eth0                    
root@OpenWrt:/# 

てな感じに最初はなっているはずなので、

brctl addif br-lan eth1
てな手順でブリッジを追加。

 これでeth1(WAN)からssh経由で入れるようになるはず

root@OpenWrt:/etc/config# cat /etc/config/network
config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.1.100
        option netmask  255.255.255.0

config interface wan
        option ifname   eth1
        option proto    dhcp
root@OpenWrt:/etc/config# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.0090ccf1efdd       no              eth0
                                                        eth1                    
root@OpenWrt:/etc/config# 

WANにケーブルをさして
sshではいってみる

[hirasawa@aspire-white ~]$ ssh -l root  192.168.1.100
The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.
RSA key fingerprint is 1c:3c:8d:26:2f:b8:d9:20:c5:83:fc:93:43:0c:a2:ae.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
root@192.168.1.100's password: 


BusyBox v1.15.3 (2010-03-28 15:11:15 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 BackFire (10.03-rc3, r20653) ----------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:~# 

Goo!

つぎはWANからLuciwo
起動して、

-rw-r--r--  1 hirasawa hirasawa   3473412 2012-08-05 09:42 openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.bin
[hirasawa@aspire-white ~]$ 

にアップグレード(これはtftpサーバにおいてある)

2012/10/13追記
OpenWrt Backfire 10.03.1がリリースされました

[hirasawa@ubuntu1204-20 ~]$ pwd
/home/hirasawa
[hirasawa@ubuntu1204-20 ~]$ ls -ltr | grep openwrt
-rw-rw-r--  1 hirasawa hirasawa    3473412 10月 13  2012 openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.bin
lrwxrwxrwx  1 hirasawa hirasawa         48 10月 13  2012 openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.10.03.1 -> openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.bin
[hirasawa@ubuntu1204-20 ~]$ md5sum openwrt*
c14fe469aaac4ca423533a51c36d8f1d  openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.10.03.1
c14fe469aaac4ca423533a51c36d8f1d  openwrt-ar71xx-mzk-w04nu-squashfs-sysupgrade.bin
[hirasawa@ubuntu1204-20 ~]$ 

よって、以下の10.03.1-RC6はおぶそ

http://d.hatena.ne.jp/toshi_hirasawa/20121007/1349570909
追記終わり



終了!

こんな感じにみえる

OpenWrt Backfire 10.03.1-RC6

になったね

Router NameOpenWrt
		Router ModelPlanex MZK-W04NU
		Firmware Version
			 OpenWrt Backfire 10.03.1-RC6 /
			LuCI 0.10 Branch (0.10+svn7852)
		
		Kernel Version2.6.32.27

		Local TimeThu Sep  8 15:56:42 2011
		Uptime0h 1m 53s
		Load Average

残りはLuciを日本語かしたり、ntpうごかしたりとか、
hostname,ipaddrを変更......(192.168.1.100 now)

名前は pci-cqw-xxx
SSIDは openwrt-ap-xxx
などに統一することにする。




つぎのインストラクションはここ
http://d.hatena.ne.jp/toshi_hirasawa/20120701/1341124328