Hi,

I use ndiswrapper with wpa_supplicant. I am stuck and I can't access
to my wireless lan. I have no idea what to do next.... need some
advise

I have an Acer travelmate 4400, with turion 64.

My Wireless card is a  Broadcom Corporation BCM4318:
fabre-linux ~ # lspci
06:05.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)

I installed ndiswrapper (1.5) and it seems to work fine:
fabre-linux ~ # ndiswrapper -l
Installed ndis drivers:
bcmwl5          driver present, hardware present

I installed wpa_supplicant (0.4.7):

in /etc/conf.d/net.wlan0  I have:
config_wlan0=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dndiswrapper"

in /etc/wpa_supplicant.conf, I have
update_config=1
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=2
fast_reauth=1
network={
        ssid="campbellsrealm"
        key_mgmt=NONE
        wep_key0="1234567890"
        wep_tx_keyidx=0
        priority=5
        auth_alg=SHARED
}


When I run "wpa_supplicant":

fabre-linux ~ # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D
ndiswrapper -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver
'ndiswrapper' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
update_config=1
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=10 (from group name 'wheel')
eapol_version=1
ap_scan=2
fast_reauth=1
Line: 557 - start of a new network block
ssid - hexdump_ascii(len=14):
     63 61 6d 70 62 65 6c 6c 73 72 65 61 6c 6d         campbellsrealm
key_mgmt: 0x4
wep_key0 - hexdump(len=10): [REMOVED]
wep_tx_keyidx=0 (0x0)
priority=5 (0x5)
auth_alg: 0x1
Priority group 5
   id=0 ssid='campbellsrealm'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xe
  capabilities: key_mgmt 0xa enc 0xf
Own MAC address: 00:14:a4:38:fb:f7
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'campbellsrealm'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized

and stop at this point, then followed with this loop:

Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'campbellsrealm'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
Overriding auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized

and in the same time, if I run

fabre-linux ~ # ifconfig
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:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13267 (12.9 Kb)  TX bytes:13267 (12.9 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:14:A4:38:FB:F7
          inet6 addr: fe80::214:a4ff:fe38:fbf7/64 Scope:Link
          UP BROADCAST RUNNING 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)
          Interrupt:10 Memory:c0204000-c0205fff

I have only an ipv6 address, no inet appeared !!

and :

fabre-linux ~ # iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=54 Mb/s   Tx-Power:25 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I am completely stuck, I have no idea what to do next, I've read lots
of wiki but usualy they think that's part is easy .... but not for me
:-/

Thank for help,

Jean-Jacques

-- 
gentoo-user@gentoo.org mailing list

Reply via email to