Wireless bit rate incorrectly defaults to 1Mb/s
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The iwconfig command shows that my bit rate on wlan0 consistently and incorrectly defaults to 1Mb/s upon establishing a wireless connection. I seem to be able to workaround this problem using "sudo iwconfig wlan0 rate 11Mb/s" at the command line each and every time a wireless connection is established.
I am running Ubuntu 9.10, on a Dell Inspiron 1100, with a Linksys, Instant Wireless, Wireless-B Notebook Adapter, Model No. WPC11 ver.4, PCMCIA card. This is an 802.11b capable card / adapter, and the the bit rate should default to 11Mb/s.
lspci reports the wireless card / adapter as follows:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
iwconfig shows the following before issuing the "sudo iwconfig wlan0 rate 11Mb/s" command:
wlan0 IEEE 802.11b ESSID:"tachowicz"
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=85/100 Signal level=85/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwconfig shows shows the following after issuing the "sudo iwconfig wlan0 rate 11Mb/s" command:
wlan0 IEEE 802.11b ESSID:"tachowicz"
Bit Rate=11 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=89/100 Signal level=89/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Both link quality and signal level appear continuously swing pretty widely.
For the purpose of troubleshooting, I unchecked "Enable Wireless" in the NetworkManager Applet and removed the card / adapter from the laptop. Upon reinsertion of the card / adapter into the laptop, the following log entries appear:
daemon.log:
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> Found radio killswitch rfkill1 (at /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'rtl8180')
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): exported as /org/freedeskto
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): now managed
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): bringing up device.
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): deactivating device (reason: 2).
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/
debug:
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040089] pci 0000:03:00.0: reg 10 io port: [0x00-0xff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040101] pci 0000:03:00.0: reg 14 32bit mmio: [0x000000-0x0001ff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040167] pci 0000:03:00.0: supports D1 D2
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040408] rtl8180 0000:03:00.0: setting latency timer to 64
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.063399] phy1: Selected rate control algorithm 'minstrel'
kern.log:
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040032] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040089] pci 0000:03:00.0: reg 10 io port: [0x00-0xff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040101] pci 0000:03:00.0: reg 14 32bit mmio: [0x000000-0x0001ff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040167] pci 0000:03:00.0: supports D1 D2
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040171] pci 0000:03:00.0: PME# supported from D1 D2 D3hot D3cold
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040178] pci 0000:03:00.0: PME# disabled
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040371] rtl8180 0000:03:00.0: enabling device (0000 -> 0003)
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040386] rtl8180 0000:03:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040408] rtl8180 0000:03:00.0: setting latency timer to 64
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.063399] phy1: Selected rate control algorithm 'minstrel'
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.094393] phy1: hwaddr 00:06:25:2e:03:b9, RTL8180 + Maxim
messages:
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040032] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040171] pci 0000:03:00.0: PME# supported from D1 D2 D3hot D3cold
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040178] pci 0000:03:00.0: PME# disabled
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040371] rtl8180 0000:03:00.0: enabling device (0000 -> 0003)
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040386] rtl8180 0000:03:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.094393] phy1: hwaddr 00:06:25:2e:03:b9, RTL8180 + Maxim
syslog:
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040032] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040089] pci 0000:03:00.0: reg 10 io port: [0x00-0xff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040101] pci 0000:03:00.0: reg 14 32bit mmio: [0x000000-0x0001ff]
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040167] pci 0000:03:00.0: supports D1 D2
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040171] pci 0000:03:00.0: PME# supported from D1 D2 D3hot D3cold
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040178] pci 0000:03:00.0: PME# disabled
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040371] rtl8180 0000:03:00.0: enabling device (0000 -> 0003)
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040386] rtl8180 0000:03:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.040408] rtl8180 0000:03:00.0: setting latency timer to 64
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.063399] phy1: Selected rate control algorithm 'minstrel'
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> Found radio killswitch rfkill1 (at /sys/devices/
Feb 8 20:35:29 inspiron1100 kernel: [ 3237.094393] phy1: hwaddr 00:06:25:2e:03:b9, RTL8180 + Maxim
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'rtl8180')
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): exported as /org/freedeskto
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): now managed
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): bringing up device.
Feb 8 20:35:29 inspiron1100 NetworkManager: <info> (wlan0): deactivating device (reason: 2).
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/
Feb 8 20:35:29 inspiron1100 NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/
Feb 8 20:35:55 inspiron1100 pulseaudio[1312]: ratelimit.c: 3 events suppressed
After rechecking "Enable Wireless" in the NetworkManager Applet, the card / adapter automatically associates with my access point; and the following log entires appear:
daemon.log:
https:/
debug:
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.192021] wlan0: authenticate with AP 00:1a:70:45:f9:76
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.193502] wlan0: authenticated
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.193506] wlan0: associate with AP 00:1a:70:45:f9:76
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.195880] wlan0: RX AssocResp from 00:1a:70:45:f9:76 (capab=0x411 status=0 aid=3)
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.195886] wlan0: associated
Feb 8 20:44:12 inspiron1100 kernel: [ 3760.520022] wlan0: no IPv6 routers present
kern.log:
Feb 8 20:43:54 inspiron1100 kernel: [ 3742.420255] ADDRCONF(
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.192021] wlan0: authenticate with AP 00:1a:70:45:f9:76
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.193502] wlan0: authenticated
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.193506] wlan0: associate with AP 00:1a:70:45:f9:76
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.195880] wlan0: RX AssocResp from 00:1a:70:45:f9:76 (capab=0x411 status=0 aid=3)
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.195886] wlan0: associated
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.197313] ADDRCONF(
Feb 8 20:44:12 inspiron1100 kernel: [ 3760.520022] wlan0: no IPv6 routers present
messages:
Feb 8 20:43:54 inspiron1100 kernel: [ 3742.420255] ADDRCONF(
Feb 8 20:44:02 inspiron1100 kernel: [ 3750.197313] ADDRCONF(
syslog:
https:/
affects: | ubuntu → network-manager (Ubuntu) |
I have this issue when using Ubuntu 10.04 with 2.6.32-19-generic kernel. I can change the speed manually with iwconfig but I have pretty unstable signal after that. The card works perfectly in Windows XP so it is clearly something about the driver.