Comment 9 for bug 115812

Revision history for this message
Martín Ferrari (tincho) wrote :

More info,

- After network-manager touched the card I cannot configure it by hand, it misbehaves, does not change channel automatically, gets dissasociated,etc. I had to unplug the card and re-plug it to make it work.

With network-manager, you can see there is no key conigured:

# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"" Nickname:"zd1201"
          Mode:Managed Channel:1 Access Point: 50:67:F0:89:6A:70
          Bit Rate:11 Mb/s
          Retry RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/128 Signal level=25/128 Noise level:0/128
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Steps to make it work:

# service network-manager stop
network-manager stop/waiting

(unplug and replug the card)

# iwconfig wlan0 essid Tincho key xxxxxxxxx
# ip l s wlan0 up
# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"Tincho" Nickname:"zd1201"
          Mode:Managed Channel:11 Access Point: 50:67:F0:89:6A:70
          Bit Rate:11 Mb/s
          Retry RTS thr:off Fragment thr:off
          Encryption key:xxxxxxxxxxxxxxxxxxxxx Security mode:open
          Power Management:off
          Link Quality:0/128 Signal level=33/128 Noise level:0/128
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

(Now the key is correctly set)

# dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:0e:2e:40:f4:0d
Sending on LPF/wlan0/00:0e:2e:40:f4:0d
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPOFFER of 192.168.1.5 from 192.168.1.1
DHCPREQUEST of 192.168.1.5 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.5 from 192.168.1.1
bound to 192.168.1.5 -- renewal in 110190 seconds.

apport-collect does not run as the bug is closed. I' ll open and come back in a few minutes