[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:30886] Plamo 4.73 無線LAN ( WLI-CB-G54S)
-
From:Keiichiro Abe
-
Date:Mon, 27 Dec 2010 01:45:56 +0900 (JST)
- Subject: [plamo:30886] Plamo 4.73 無線LAN ( WLI-CB-G54S)
- From: Keiichiro Abe <abekeiichiro@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Dec 2010 01:45:56 +0900
こんにちは。あべ@宮崎 です。
ThinkPad X22(2662-95E) で BUFFALO の WLI-CB-G54S という無線LANカードの設
定に関する質問をさせてください(すいません、長文になりました...)。
Plamo 4.73 DVDの配布物をX22のHDDにコピーして置き、ウルトラベースのCD-ROM
から起動してインストールしています。
カーネルの再構築等は行っていません。
無線LANの設定は、結果的に成功して使用可能です。しかし、試行錯誤したので
何がよかったのか、不要なものは何か、等、頭の整理がついていない状況です。
最初に質問事項を挙げて、後半に現在の状況を掲載いたします。
(どこかの文書を読めとか、MLの過去ログ何番を参照せよといった程度でもよい
ので、この場でヒント等いただけると嬉しいです。)
================
1. 質問
================
Q1
どこかのサイトで、WLI-CB-G54S は Linux V2.6.17 以降ではbcm43xx というド
ライバで動作するがファームウェアは必要とありました。今回作業した結果の状
況をみると、bcm43xxではなく、b43で動作しているように思うのですが、正しい
理解でしょうか(後述の「lspci -vnn の結果」でKernel driver in use:
b43-pci-bridgeとか、「lsmod の結果」でb43とかあるので)。
Q2
bcm43xx-fwcutter や ndiswrapper で Windowsドライバ(netg54s)をカーネル
に組み込む作業をした後、PCカードのランプは点灯しませんでした。このような
場合、そのドライバは使用されていないと考えてよいでしょうか。
Q3
/lib/firmware ディレクトリの中に、bcm43xx_initval01.fw などのファイルが
あります。不要と思うので別ディレクトリに移動してみました。それでも問題な
さそうです。カーネルが認識していないと思われるfwファイルは単に削除するだ
けでよいものでしょうか。
Q4
手動で、ifconfig wlan0 up と打ち込んで無線LANを接続していますが、ifctl
wlan0 up という風に ifctl コマンドを使った方がPlamo的でしょうか。汎用コ
マンドifconfig よりも Planetの ifctl を使った方がメリットがあるはずと思
うのですが、勉強不足で申し訳ございません、ifctl のありがたさを理解してい
ません...
Q5
有線LANケーブルをX22の裏に挿せば、ifconfigコマンドを打たなくても自動で認
識してくれます。無線LANも自動認識する設定があれば、教えていただけると幸
いです(MLの過去ログにあったような...)。
================
2. 作業履歴
================
覚えている範囲で、列挙します。
1) BUFFALO Wireless LAN Driver Disk Ver.9.81 をとってくる。
2) 「bcm43xx-fwcutter」というツールで、1)を切り出してインストール。
...この時点でPCカードのランプが点灯しなかった...
3) PlamoのsetupコマンドでPlanetをインストールする。
4) 「NdisWrapper 1.56」を取ってきてインストールする。
4) 今度は、新しいWindows 用ドライバ「BUFFALO Wireless LAN Driver Disk
Ver.10.52」をとってきて展開しておく。
5) ndiswrapperコマンドでWindowsのINFファイルを指定してインストールする。
# ndiswrapper -i netg54s.inf
6) ndiswrapper -lを行うと「netg54s : driver installed」と認識されてい
る。
7) modprobeコマンドでNdisWrapperのカーネルモジュールを読み込む。
# modprobe ndiswrapper
8) この辺で後述の「3. 設定したファイル内容」を行ったような気がする。
...この時点でPCカードのランプは点灯しなかった...
9) いろいろ調べている内に「the official Linux Wireless wiki」
http://wireless.kernel.org/en/users/Drivers/b43#fw-b43-lp
に行き着く。Other distributions that are not mentioned aboveというセッ
ションから下を読んで試す。
b43-fwcutterのインストール:
1 wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-013.tar.bz2
2 tar xjf b43-fwcutter-013.tar.bz2
3 cd b43-fwcutter-013
4 make
5 cd ..
Broadcom's proprietary driver version 4.150.10.5 のインストール
1 export FIRMWARE_INSTALL_DIR="/lib/firmware"
2 wget
http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
3 tar xjf broadcom-wl-4.150.10.5.tar.bz2
4 cd broadcom-wl-4.150.10.5/driver
5 sudo ../../b43-fwcutter-013/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR"
wl_apsta_mimo.o
...ここででようやくPCカードのランプが点灯した!...
============================
3. 設定したファイル内容
============================
設定したファイルは、以下の5個。
/etc/modprobe.conf
/etc/network.conf
/etc/network.fixed
/etc/network.mode
/etc/wireless.conf
内容は以下のとおり。ただし、コメントは取り除いてます。
//------------------------------------
// modprobe.conf の内容
//------------------------------------
alias wlan0 ndiswrapper
//------------------------------------
// network.conf の内容
//------------------------------------
case "$ADDRESS" in
lo,*,*)
INFO="Local loopback"
PPPOE=n
DHCP=n
IPADDR=127.0.0.1/8
GATEWAY=
DOMAIN=
DNS=
;;
eth0,*,*)
INFO="Generic setup with DHCP"
PPPOE=n
DHCP=y
GATEWAY=+
DOMAIN=+
DNS=+
;;
eth1,*,*)
INFO="Generic setup with PPPoE"
PPPOE=y
;;
wlan0,default,*)
INFO="wlan0 with DHCP"
PPPOE=n
DHCP=y
GATEWAY=+
DOMAIN=+
DNS=+
;;
esac
//------------------------------------
// network.fixed の内容
//------------------------------------
lo
eth0
wlan0
//------------------------------------
// network.mode の内容
//------------------------------------
eth0 -d
wlan0 -m
//------------------------------------
// wireless.conf の内容
//------------------------------------
case "$ADDRESS" in
wlan0,*,*)
INFO="Wireless"
NICKNAME="WLI-CB-54S"
ESSID:"xxxxxxxxxxxxxxx" ←英数字
WEP=open
MODE="managed"
CHANNEL=
;;
esac
====================
4. 無線LAN接続手順
====================
rootになって、以下のコマンドを毎回打つ。
wconfig wlan0
ifconfig wlan0 up
iwlist wlan0 scan
iwconfig wlan0 essid 'xxxxxxxxxxxx' channel 5
dhclient wlan0
(注:xxxxxxxxxxxxは英数字)
====================
5. その他の情報
====================
必要であれば、ご覧ください。
//------------------------------------
// uname -a の結果
//------------------------------------
Linux X22 2.6.32.16-plamoSMP #1 SMP PREEMPT Sun Aug 1 09:51:34 JST 2010
i686 GNU/Linux
//------------------------------------
// lspci の結果
//------------------------------------
00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge
(rev 04)
00:01.0 PCI bridge: Intel Corporation 82830 830 Chipset AGP Bridge (rev
04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1
(rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2
(rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3
(rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller
(rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97
Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
M6 LY
02:03.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
02:03.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
02:05.0 Communication controller: Agere Systems WinModem 56k (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100
VE (LOM) Ethernet Controller (rev 42)
03:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 03)
//------------------------------------
// lspci -vnn の結果
//------------------------------------
03:00.0 Network controller [0280]: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller [14e4:4320] (rev 03)
Subsystem: Melco Inc Device [1154:032e]
Flags: bus master, fast devsel, latency 64, IRQ 11
Memory at c4000000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
//------------------------------------
// iwconfig の結果
//------------------------------------
lo no wireless extensions.
irda0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"xxxxxxxxxxxx"
Mode:Managed Frequency:2.412 GHz Access Point:
00:07:40:F8:52:C0
Bit Rate=18 Mb/s Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=65/70 Signal level=-45 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
//------------------------------------
// ifocnfig の結果
//------------------------------------
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9656 (9.4 KiB) TX bytes:9656 (9.4 KiB)
wlan0 Link encap:Ethernet HWaddr 00:07:40:fa:f3:eb
inet addr:192.168.11.6 Bcast:192.168.11.255
Mask:255.255.255.0
inet6 addr: fe80::207:40ff:fefa:f3eb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33053 (32.2 KiB) TX bytes:10697 (10.4 KiB)
//------------------------------------
// lsmod の結果
//------------------------------------
Module Size Used by
autofs4 17211 0
ipv6 195377 12
nfsd 197692 1
lockd 49981 1 nfsd
nfs_acl 1663 1 nfsd
auth_rpcgss 27678 1 nfsd
sunrpc 140897 8 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs 2482 1 nfsd
snd_seq_dummy 939 0
snd_seq_oss 20065 0
snd_seq_midi_event 3768 1 snd_seq_oss
snd_seq 34803 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 3793 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 29051 0
snd_mixer_oss 11961 1 snd_pcm_oss
ndiswrapper 144270 0
encode_eucjp 242577 0
unikey 6286 0
arc4 994 2
ecb 1433 2
b43 134889 0
mac80211 126817 1 b43
cfg80211 90007 2 b43,mac80211
ssb 33932 1 b43
mmc_core 37489 2 b43,ssb
pcmcia 29225 2 b43,ssb
snd_intel8x0 19695 0
snd_ac97_codec 80960 1 snd_intel8x0
thinkpad_acpi 42382 0
ac97_bus 722 1 snd_ac97_codec
yenta_socket 16495 3
snd_pcm 48443 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
rfkill 10408 2 cfg80211,thinkpad_acpi
rsrc_nonstatic 6084 1 yenta_socket
iTCO_wdt 8033 0
snd_timer 12870 2 snd_seq,snd_pcm
nsc_ircc 10386 0
e100 22701 0
mii 2686 1 e100
pcmcia_core 23579 5
b43,ssb,pcmcia,yenta_socket,rsrc_nonstatic
atkbd 12442 0
psmouse 44682 0
led_class 1789 2 b43,thinkpad_acpi
iTCO_vendor_support 1309 1 iTCO_wdt
snd 35968 9
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
thermal 9398 0
i2c_i801 6354 0
evdev 5781 6
parport_pc 16027 0
video 15049 0
irda 81270 1 nsc_ircc
rtc_cmos 6580 0
processor 27032 1
soundcore 3911 1 snd
thermal_sys 9822 3 thermal,video,processor
intel_agp 19255 1
libps2 2731 2 atkbd,psmouse
shpchp 22260 0
ac 2303 0
nvram 3817 1 thinkpad_acpi
parport 22687 1 parport_pc
battery 7468 0
output 1248 1 video
8250_pnp 3328 0
crc_ccitt 1035 1 irda
rtc_core 10011 1 rtc_cmos
rtc_lib 1302 1 rtc_core
pcspkr 1385 0
button 3714 0
sg 19953 0
snd_page_alloc 5049 2 snd_intel8x0,snd_pcm
hwmon 1005 2 thinkpad_acpi,thermal_sys
i2c_core 12401 1 i2c_i801
serio_raw 3112 0
agpgart 20144 1 intel_agp
rng_core 2198 1 b43
pci_hotplug 19786 1 shpchp
//---------------------------------------------------------------------------
// 作業したファイル(/home/kei ディレクトリの中身)
//---------------------------------------------------------------------------
BUFFALO-Driver-WIN2000/
b43-fwcutter-013/
b43-fwcutter-013.tar.bz2
bcm43xx-fwcutter-006/
bcm43xx-fwcutter-006.tar.bz2
broadcom-wl-4.150.10.5/
broadcom-wl-4.150.10.5.tar.bz2
broadcom-wl-4.178.10.4/
broadcom-wl-4.178.10.4.tar.bz2
ndiswrapper-1.56/
ndiswrapper-1.56.tar.gz
//------------------------------------
// /lib/firmware の中身
//------------------------------------
3com/
BCM-LEGAL.txt
BCM2033-FW.bin
BCM2033-MD.hex
STLC2500_R4_00_03.ptc
STLC2500_R4_00_06.ssf
STLC2500_R4_02_02_WLAN.ssf
STLC2500_R4_02_04.ptc
acenic/
adaptec/
advansys/
av7110/
b43/
bcm43xx_initval01.fw
bcm43xx_initval02.fw
bcm43xx_initval03.fw
bcm43xx_initval04.fw
bcm43xx_initval05.fw
bcm43xx_initval06.fw
bcm43xx_initval07.fw
bcm43xx_initval08.fw
bcm43xx_initval09.fw
bcm43xx_initval10.fw
bcm43xx_microcode2.fw
bcm43xx_microcode4.fw
bcm43xx_microcode5.fw
bcm43xx_pcm4.fw
bcm43xx_pcm5.fw
bnx2/
bnx2x-e1-5.0.21.0.fw
bnx2x-e1h-5.0.21.0.fw
cis/
cpia2/
cxgb3/
dabusb/
e100/
edgeport/
emi26/
emi62/
ess/
kaweth/
keyspan_pda/
korg/
matrox/
mts_cdma.fw
mts_edge.fw
mts_gsm.fw
ositech/
qlogic/
r128/
radeon/
sun/
tehuti/
ti_3410.fw
ti_5052.fw
tigon/
ttusb-budget/
vicam/
whiteheat.fw
whiteheat_loader.fw
yamaha/
以上、よろしくお願いいたします (_ _)
(こんなに長文、長すぎ!?)
あべ けいいちろう
- Follow-Ups
-
- [plamo:30887] Re: Plamo 4.73無線LAN ( WLI-CB-G54S), Tomioka Mikio
[検索ページ]
[メール一覧]
Plamo ML 公開システム