WLI-UC-GNM2 を認識しているようなので、設定しようとしたが、 requesting rt2870.bin といわれて wlan0 が up できなかった。
これだ!
アーキテクチャも all で x86 に依存していない。
Linux 側で動くものではなく、WLI-UC-GNM2 のファームウェアなのだろう。
root@qvl:~# apt-get install firmware-ralink Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package firmware-ralink root@qvl:~#?
non-free だからか?
apt line を確認する。
root@qvl:~# cat /etc/apt/sources.list deb http://ftp.jp.debian.org/debian squeeze main deb-src http://ftp.jp.debian.org/debian squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main root@qvl:~#non-free がない。
パッケージダウンロードに利用するミラーサイトについて を参考に source line を修正する
root@qvl:~# vi !$ vi /etc/apt/sources.list : : root@qvl:~# !cat cat /etc/apt/sources.list deb http://ftp.jp.debian.org/debian squeeze main contrib non-free deb-src http://ftp.jp.debian.org/debian squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free root@qvl:~#パッケージリストの更新
root@qvl:~# apt-get update Hit http://ftp.jp.debian.org squeeze Release.gpg Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-en Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-en Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-en Hit http://ftp.jp.debian.org squeeze Release Hit http://ftp.jp.debian.org squeeze/main Sources Get:1 http://ftp.jp.debian.org squeeze/contrib Sources [40.9 kB] Get:2 http://ftp.jp.debian.org squeeze/non-free Sources [73.3 kB] Hit http://ftp.jp.debian.org squeeze/main armel Packages Get:3 http://ftp.jp.debian.org squeeze/contrib armel Packages [45.1 kB] Get:4 http://ftp.jp.debian.org squeeze/non-free armel Packages [82.9 kB] Hit http://security.debian.org squeeze/updates Release.gpg Ign http://security.debian.org/ squeeze/updates/contrib Translation-en Ign http://security.debian.org/ squeeze/updates/main Translation-en Ign http://security.debian.org/ squeeze/updates/non-free Translation-en Hit http://security.debian.org squeeze/updates Release Hit http://security.debian.org squeeze/updates/main Sources Get:5 http://security.debian.org squeeze/updates/contrib Sources [831 B] Get:6 http://security.debian.org squeeze/updates/non-free Sources [14 B] Hit http://security.debian.org squeeze/updates/main armel Packages Get:7 http://security.debian.org squeeze/updates/contrib armel Packages [677 B] Get:8 http://security.debian.org squeeze/updates/non-free armel Packages [14 B] Fetched 244 kB in 1s (131 kB/s) Reading package lists... Done root@qvl:~#今度こそ??
root@qvl:~# !?install apt-get install firmware-ralink Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: initramfs-tools linux-image The following NEW packages will be installed: firmware-ralink 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 21.5 kB of archives. After this operation, 111 kB of additional disk space will be used. Get:1 http://ftp.jp.debian.org/debian/ squeeze/non-free firmware-ralink all 0.28+squeeze1 [21.5 kB] Fetched 21.5 kB in 0s (170 kB/s) Selecting previously deselected package firmware-ralink. (Reading database ... 15912 files and directories currently installed.) Unpacking firmware-ralink (from .../firmware-ralink_0.28+squeeze1_all.deb) ... Setting up firmware-ralink (0.28+squeeze1) ... !root@qvl:~#インストールできた。
ファームウェアは??
!root@qvl:~# ls /lib/firmware/ rt2561.bin rt2661.bin rt2870.bin rt3071.bin rt73.bin rt2561s.bin rt2860.bin rt3070.bin rt3090.bin root@qvl:~#インストールできている!!
root@qvl:~# ifup wlan0 root@qvl:~#エラーなし!!
ログは??
root@qvl:~# tail /var/log/messages : : Oct 28 16:51:51 qvl kernel: rt2800usb 1-1.1:1.0: firmware: requesting rt2870.bin Oct 28 16:51:51 qvl kernel: input: rt2800usb as /devices/platform/ehci_marvell.70059/usb1/1-1/1-1.1/1-1.1:1.0/input/input0 root@qvl:~#うーん。よくわからん。input って何??
ifconfig を見てみる
root@qvl:~# ifconfig -a eth1 Link encap:Ethernet HWaddr 4c:e6:76:e7:0f:42 inet addr:192.168.2.56 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15500 errors:0 dropped:0 overruns:0 frame:0 TX packets:3667 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:532 RX bytes:2247780 (2.1 MiB) TX bytes:533931 (521.4 KiB) Interrupt:11 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1124 (1.0 KiB) TX bytes:1124 (1.0 KiB) wlan0 Link encap:Ethernet HWaddr 10:6f:3f:89:e0:66 inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wmaster0 Link encap:UNSPEC HWaddr 10-6F-3F-89-E0-66-00-00-00-00-00-00-00-00-00-00 UP RUNNING MTU:0 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@qvl:~#wlan0 が UP!!
なんか、進んでる感じ!!
|
← LinkStationシリーズ ファームウェア アップデーター Ver.1.63 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 無線 LAN アダプタの接続(7)親機としての設定 |
Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市