From owner-FreeBSD-users-jp@jp.FreeBSD.org Sun Jul  3 16:00:51 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j6370pw52632;
	Sun, 3 Jul 2005 16:00:51 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id j6370oh52627
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sun, 3 Jul 2005 16:00:50 +0900 (JST)
	(envelope-from tyuu@on.rim.or.jp)
Received: from mail6
	by serio.al.rim.or.jp (3.7W/HMX-13) id QAA27718
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sun, 3 Jul 2005 16:00:50 +0900 (JST)
Received: from localhost (250.179.150.220.ap.yournet.ne.jp [220.150.179.250]) by mail6 (8.9.3/3.7W)
	id QAA23967 for <FreeBSD-users-jp@jp.FreeBSD.org>; Sun, 3 Jul 2005 16:00:50 +0900 (JST)
Message-Id: <20050703.160049.74754608.tyuu@on.rim.or.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Hiroshi Morita <tyuu@on.rim.or.jp>
In-Reply-To: <42C775FB.7030409@nifty.com>
References: <ygevf3uhes2.wl%ume@mahoroba.org>
	<20050703.100518.104029164.tyuu@on.rim.or.jp>
	<42C775FB.7030409@nifty.com>
X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Sun, 03 Jul 2005 16:00:49 +0900
X-Sequence: FreeBSD-users-jp 85752
Subject: [FreeBSD-users-jp 85752] Re: Let's note CF-W4G
 =?ISO-2022-JP?B?GyRCJEskRCQkJEYbKEI=?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: tyuu@on.rim.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+050320

tyuu $B$G$9!#(B

> [FreeBSD-users-jp 85705]$B$G(B6.0-CURRENT$B$K$7$?$s$G$9$h$M!)(B
6.0-CURRENT $B$K$7$^$7$?!#(B
% name -a
FreeBSD cherry.tyuu.com 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Jul  1 15:54:54 JST 2005     tyuu@cherry.tyuu.com:/usr/src/sys/i386/compile/CF-W4  i386


> $BK?=j$G$b=q$-$^$7$?$,!"(B6.0$B$GL5@~(BLAN$B4X78$NG'>Z5!9=$,(Bplugin$B2=$5$l$F$^$9!#(B
> $B$3$N$?$a!"BP1~$9$k%+!<%M%k%b%8%e!<%k$r%m!<%I$7$J$$$H(BWEP$B$b(BWPA$B$b;H$($^$;(B
> $B$s!#(B

$BG'>Z5!9=$,(B plugin $B$K$J$C$?$N$G$9$M!#(B
$B$^$:<jF0$G(B module $B$rAH$_9~$s$G$_$^$7$?!#(B
$B<!$K(B /boot/loader.conf $B$K!#(B

$B$?$@!"$I$A$i$b(B WEP $B$N@\B3$O$G$-$^$;$s$G$7$?!#(B
wep $B$NG'>Z$r9T$J$&$N$K!"B>$K$bFI9~$`%b%8%e!<%k$,$"$k$N$G$7$g$&$+!)(B


# kldload -v wlan
kldload: can't load wlan: File exists
# kldload -v wlan_wep
Loaded wlan_wep, id=3
# kldload -v if_iwi
Loaded if_iwi, id=4

wlan $B$,FI9~$a$J$$$N$,5$$K$J$j$^$9(B ...$B!#(B
$B$=$7$F@_Dj$rF~$l$k$H$d$O$j(B no carrier.
# iwicontrol -i iwi0 -d /usr/local/share/iwi-firmware -m bss
# ifconfig iwi0 inet 192.168.1.210/24 ssid wlan wepkey 1234567890123 weptxkey 1 wepmode on
# ifconfig iwi0
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.210 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:12:f0:5f:98:1c
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid wlan
        authmode OPEN privacy ON deftxkey 1
        wepkey 1:104-bit <31323334353637383930313233>
        txpowmax 100



$B<!$K$^$M$r$7$F(B /boot/loader.conf $B$K5-:\$7$F:F5/F0$7$^$7$?!#(B
> wlan_load="YES"
> wlan_wep_load="YES"
> if_iwi_load="YES"

% cat /boot/loader.conf
wlan_load="YES"
wlan_wep_load="YES"
if_iwi_load="YES"
% kldstat
Id Refs Address    Size     Name
 1    8 0xc0400000 5f7650   kernel
 2    1 0xc09f8000 2f1c     wlan_wep.ko
 3    1 0xc09fb000 a458     if_iwi.ko
 4   16 0xc0a06000 640d8    acpi.ko

% ifconfig iwi0
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:12:f0:5f:98:1c
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid ""
        authmode OPEN privacy OFF txpowmax 100
# iwicontrol -i iwi0 -d /usr/local/share/iwi-firmware -m bss
# ifconfig iwi0 inet 192.168.1.210/24 ssid wlan \
   wepkey 1234567890123 weptxkey 1 wepmode on
# ifconfig iwi0
iwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.210 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:12:f0:5f:98:1c
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid wlan
        authmode OPEN privacy ON deftxkey 1
        wepkey 1:104-bit <31323334353637383930313233>
        txpowmax 100



$B0J>e(B

by tyuu.
