Gentoo Archives: gentoo-user

From: Jean-Jacques FABRE <jeanjacquesfabre@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Wifi with ndiswrapper and wpa_supplicant
Date: Tue, 06 Dec 2005 19:41:53
Message-Id: b173cbf50512061131t4d0f1477qe515a10fbb852566@mail.gmail.com
1 Hi,
2
3 I use ndiswrapper with wpa_supplicant. I am stuck and I can't access
4 to my wireless lan. I have no idea what to do next.... need some
5 advise
6
7 I have an Acer travelmate 4400, with turion 64.
8
9 My Wireless card is a Broadcom Corporation BCM4318:
10 fabre-linux ~ # lspci
11 06:05.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
12 54g] 802.11g Wireless LAN Controller (rev 02)
13
14 I installed ndiswrapper (1.5) and it seems to work fine:
15 fabre-linux ~ # ndiswrapper -l
16 Installed ndis drivers:
17 bcmwl5 driver present, hardware present
18
19 I installed wpa_supplicant (0.4.7):
20
21 in /etc/conf.d/net.wlan0 I have:
22 config_wlan0=( "dhcp" )
23 modules=( "wpa_supplicant" )
24 wpa_supplicant_wlan0="-Dndiswrapper"
25
26 in /etc/wpa_supplicant.conf, I have
27 update_config=1
28 ctrl_interface=/var/run/wpa_supplicant
29 ctrl_interface_group=wheel
30 eapol_version=1
31 ap_scan=2
32 fast_reauth=1
33 network={
34 ssid="campbellsrealm"
35 key_mgmt=NONE
36 wep_key0="1234567890"
37 wep_tx_keyidx=0
38 priority=5
39 auth_alg=SHARED
40 }
41
42
43 When I run "wpa_supplicant":
44
45 fabre-linux ~ # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D
46 ndiswrapper -dd
47 Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
48 'ndiswrapper' ctrl_interface 'N/A'
49 Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
50 Reading configuration file '/etc/wpa_supplicant.conf'
51 update_config=1
52 ctrl_interface='/var/run/wpa_supplicant'
53 ctrl_interface_group=10 (from group name 'wheel')
54 eapol_version=1
55 ap_scan=2
56 fast_reauth=1
57 Line: 557 - start of a new network block
58 ssid - hexdump_ascii(len=14):
59 63 61 6d 70 62 65 6c 6c 73 72 65 61 6c 6d campbellsrealm
60 key_mgmt: 0x4
61 wep_key0 - hexdump(len=10): [REMOVED]
62 wep_tx_keyidx=0 (0x0)
63 priority=5 (0x5)
64 auth_alg: 0x1
65 Priority group 5
66 id=0 ssid='campbellsrealm'
67 Initializing interface (2) 'wlan0'
68 EAPOL: SUPP_PAE entering state DISCONNECTED
69 EAPOL: KEY_RX entering state NO_KEY_RECEIVE
70 EAPOL: SUPP_BE entering state INITIALIZE
71 EAP: EAP entering state DISABLED
72 EAPOL: External notification - portEnabled=0
73 EAPOL: External notification - portValid=0
74 SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xe
75 capabilities: key_mgmt 0xa enc 0xf
76 Own MAC address: 00:14:a4:38:fb:f7
77 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
78 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
79 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
80 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
81 Setting scan request: 0 sec 100000 usec
82 Added interface wlan0
83 Wireless event: cmd=0x8b06 len=12
84 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
85 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
86 State: DISCONNECTED -> SCANNING
87 Trying to associate with SSID 'campbellsrealm'
88 Cancelling scan request
89 WPA: clearing own WPA/RSN IE
90 Automatic auth_alg selection: 0x1
91 Overriding auth_alg selection: 0x1
92 WPA: clearing AP WPA IE
93 WPA: clearing AP RSN IE
94 WPA: clearing own WPA/RSN IE
95 No keys have been configured - skip key clearing
96 State: SCANNING -> ASSOCIATING
97 Setting authentication timeout: 60 sec 0 usec
98 EAPOL: External notification - portControl=ForceAuthorized
99
100 and stop at this point, then followed with this loop:
101
102 Added BSSID 00:00:00:00:00:00 into blacklist
103 State: ASSOCIATING -> DISCONNECTED
104 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
105 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
106 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
107 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
108 EAPOL: External notification - portEnabled=0
109 EAPOL: External notification - portValid=0
110 Setting scan request: 0 sec 0 usec
111 State: DISCONNECTED -> SCANNING
112 Trying to associate with SSID 'campbellsrealm'
113 Cancelling scan request
114 WPA: clearing own WPA/RSN IE
115 Automatic auth_alg selection: 0x1
116 Overriding auth_alg selection: 0x1
117 WPA: clearing AP WPA IE
118 WPA: clearing AP RSN IE
119 WPA: clearing own WPA/RSN IE
120 No keys have been configured - skip key clearing
121 State: SCANNING -> ASSOCIATING
122 Setting authentication timeout: 60 sec 0 usec
123 EAPOL: External notification - portControl=ForceAuthorized
124
125 and in the same time, if I run
126
127 fabre-linux ~ # ifconfig
128 lo Link encap:Local Loopback
129 inet addr:127.0.0.1 Mask:255.0.0.0
130 inet6 addr: ::1/128 Scope:Host
131 UP LOOPBACK RUNNING MTU:16436 Metric:1
132 RX packets:47 errors:0 dropped:0 overruns:0 frame:0
133 TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
134 collisions:0 txqueuelen:0
135 RX bytes:13267 (12.9 Kb) TX bytes:13267 (12.9 Kb)
136
137 wlan0 Link encap:Ethernet HWaddr 00:14:A4:38:FB:F7
138 inet6 addr: fe80::214:a4ff:fe38:fbf7/64 Scope:Link
139 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
140 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
141 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
142 collisions:0 txqueuelen:1000
143 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
144 Interrupt:10 Memory:c0204000-c0205fff
145
146 I have only an ipv6 address, no inet appeared !!
147
148 and :
149
150 fabre-linux ~ # iwconfig
151 lo no wireless extensions.
152
153 wlan0 IEEE 802.11g ESSID:off/any
154 Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
155 Bit Rate=54 Mb/s Tx-Power:25 dBm
156 RTS thr:off Fragment thr:off
157 Encryption key:off
158 Power Management:off
159 Link Quality:0 Signal level:0 Noise level:0
160 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
161 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
162
163 I am completely stuck, I have no idea what to do next, I've read lots
164 of wiki but usualy they think that's part is easy .... but not for me
165 :-/
166
167 Thank for help,
168
169 Jean-Jacques
170
171 --
172 gentoo-user@g.o mailing list