無線 LAN アダプタの接続(1)前途多難

Debian LS-QVL

以前からやってみたいと思っていた LinkStation へ無線 LAN アダプタを接続してみる。

無線 LAN アダプタの入手

Buffalo の WLI-UC-GNM2 を 京都駅ホーム上のショップで買ってきた。

楽天市場  Amazon

安くなったものだが、、、ひどいパッケージング。。。

LS-QVL に刺してみる

LS-QVLのフロントUSBポートに刺してみた

よく見えませんね

root@qvl:~# tail -f /var/log/messages
	:
	:
Oct 27 12:22:46 qvl kernel: usb 1-1.1: new high speed USB device using ehci_marvell and address 3
Oct 27 12:22:46 qvl kernel: usb 1-1.1: configuration #1 chosen from 1 choice
刺さったことは認識したが、デバイスとして認識していない。
まぁ、ドライバ入れてないし。

ドライバの導入

WLI-UC-GNM2 のドライバを導入する

ソースの修正

USB無線LAN子機 WLI-UC-GNM2をLinuxで使う を参考にさせていただいて、
yasunari@qvl:~$ cd /usr/src/linux-2.6.31.8
yasunari@qvl:/usr/src/linux-2.6.31.8$ cd drivers/net/wireless/rt2x00/
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$ mv rt2800usb.c{,.orig}
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$ cp rt2800usb.c{.orig,}
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$ vi rt2800usb.c
	:
	:
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$ !cp:s/cp/diff -u
diff -u rt2800usb.c{.orig,}
--- rt2800usb.c.orig    2009-12-24 15:20:19.000000000 +0900
+++ rt2800usb.c 2012-10-27 12:43:28.462955269 +0900
@@ -2906,6 +2906,7 @@
        /* Buffalo */
        { USB_DEVICE(0x0411, 0x00e8), USB_DEVICE_DATA(&rt2800usb_ops) },
        { USB_DEVICE(0x0411, 0x012e), USB_DEVICE_DATA(&rt2800usb_ops) },
+       { USB_DEVICE(0x0411, 0x01ee), USB_DEVICE_DATA(&rt2800usb_ops) },
        /* Conceptronic */
        { USB_DEVICE(0x14b2, 0x3c06), USB_DEVICE_DATA(&rt2800usb_ops) },
        { USB_DEVICE(0x14b2, 0x3c07), USB_DEVICE_DATA(&rt2800usb_ops) },
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$
yasunari@qvl:/usr/src/linux-2.6.31.8/drivers/net/wireless/rt2x00$ cd ../../../..
yasunari@qvl:/usr/src/linux-2.6.31.8$

make menuconfig

ドライバを組み込む
yasunari@qvl:/usr/src/linux-2.6.31.8$ make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
	:
 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqq Linux Kernel Configuration qqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x        General setup  --->                                          x x
  x x    [*] Enable loadable module support  --->                         x x
  x x    -*- Enable the block layer  --->                                 x x
  x x        System Type  --->                                            x x
  x x        Bus support  --->                                            x x
  x x        Kernel Features  --->                                        x x
  x x        Boot options  --->                                           x x
  x x        CPU Power Management  --->                                   x x
  x x        Floating point emulation  --->                               x x
  x x        Userspace binary formats  --->                               x x
  x x        Power management options  --->                               x x
  x mqqqqv(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


RT2800 を探すと、、、
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqq Search Results qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x Symbol: RT2800USB [=n]                                                  x
  x Prompt: Ralink rt2800 (USB) support                                     x
  x   Defined at drivers/net/wireless/rt2x00/Kconfig:80                     x
  x   Depends on: NETDEVICES && !S390 && RT2X00 && USB                      x
  x   Location:                                                             x
  x     -> Device Drivers                                                   x
  x       -> Network device support (NETDEVICES [=y])                       x
  x         -> Wireless LAN                                                 x
  x           -> Wireless LAN (IEEE 802.11) (WLAN_80211 [=n])               x
  x             -> Ralink driver support (RT2X00 [=n])                      x
  x   Selects: RT2X00_LIB_USB && RT2X00_LIB_HT && RT2X00_LIB_FIRMWARE && RT x
  x                                                                         x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq(100%)qqu
  x                                < Exit >                                 x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

とのことなので、 → Device Drivers → Network device support [*] → Wireless LAN → Wireless LAN (IEEE 802.11) [*]
としたが、、、
 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Wireless LAN qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x    [ ] Wireless LAN (pre-802.11)                                    x x
  x x    [*] Wireless LAN (IEEE 802.11)                                   x x
  x x    < >   Marvell 8xxx Libertas WLAN driver support                  x x
  x x    < >   Atmel at76c50x chipset  802.11b support                    x x
  x x    < >   Intersil Prism GT/Duette/Indigo PCI/Cardbus                x x
  x x    < >   USB ZD1201 based Wireless device support                   x x
  x x    < >   Intel PRO/Wireless 2100 Network Connection                 x x
  x x    < >   Intel PRO/Wireless 2200BG and 2915ABG Network Connection   x x
  x x    < >   IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)   x x
  x x    < >   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)     x x
  x x                                                                     x x
  x x                                                                     x x
  x x                                                                     x x
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


Ralink driver support がなひ。

困った。



LS-QVL
バッファローダイレクト
楽天市場
amazon
ドスパラ
livedoor デパート
Yahoo!ショッピング
バリューモア
ムラウチドットコム


切り捨てられた旧機種
ハックの記録
LinkStation/玄箱 をハックしよう

無線 LAN アダプタの接続(2)カーネルのリコンフィグ

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市