You are not logged in.

#1 2010-11-11 13:48:45

maxmstrmnn430
Member
Registered: 2010-11-11
Posts: 2

ndiswrapper does not setup wlan0 properly

Edit / Sorry I didn't intend to post to installation but hardware issues. Plase move the post there. Thank you.


Hi,
I switched to Archlinux recently. I've some issues making ndiswrapper or Arch setup my wlan connection properly. Currently I must do the following to connect to my router. But the output of the first iwconfig seems to equal the output of the second one. Why doesn't the connection work instantly after startup?

[bernhard@bernhard ~]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"WLAN"  
          Mode:Managed  Frequency:2.472 GHz  Access Point: 00:30:F1:91:FA:41   
          Bit Rate=11 Mb/s   Tx-Power:10 dBm   Sensitivity=0/3  
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:42/100  Signal level:-69 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[bernhard@bernhard ~]$ echo "connection does not work so far"
connection does not work so far

[bernhard@bernhard ~]$ sudo iwconfig wlan0 essid WLAN key E28503DBE**************
Password: 

[bernhard@bernhard ~]$ sudo dhcpcd wlan0
dhcpcd[2406]: version 5.2.8 starting
dhcpcd[2406]: wlan0: rebinding lease of 192.168.2.152
dhcpcd[2406]: wlan0: acknowledged 192.168.2.152 from 192.168.2.1
dhcpcd[2406]: wlan0: checking for 192.168.2.152
dhcpcd[2406]: wlan0: leased 192.168.2.152 for infinity
dhcpcd[2406]: forked to background, child pid 2427

[bernhard@bernhard ~]$ echo "connection is working now"
connection is working now

[bernhard@bernhard ~]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"WLAN"  
          Mode:Managed  Frequency:2.472 GHz  Access Point: 00:30:F1:91:FA:41   
          Bit Rate=11 Mb/s   Tx-Power:10 dBm   Sensitivity=0/3  
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:42/100  Signal level:-69 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:36  Invalid misc:36   Missed beacon:0

ndiswrapper related stuff in dmesg

ndiswrapper version 1.56 loaded (smp=yes, preempt=yes)
...
ndiswrapper (link_pe_images:565): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver fwlan64 (AVM GmbH,12/28/2006,2.0.6.1647) loaded
wlan0: ethernet device 00:04:0e:fb:29:5b using NDIS driver: fwlan64, version: 0x2000c6f, NDIS version: 0x501, vendor: 'AVM FRITZ!WLAN USB Stick', 057C:6201.F.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
usbcore: registered new interface driver ndiswrapper

If the first line is contained in /etc/rc.conf wlan0 does not show up when invoking 'iwconfig'.

wlan0="dhcp"
wlan_wlan0="wlan0 essid WLAN key E28503DB***"
INTERFACES=(eth0 wlan0)

It would be nice if someone could help me! Thanks
Please excuse my terrible english.

Last edited by maxmstrmnn430 (2010-11-11 13:57:44)

Offline

Board footer

Powered by FluxBB