[Bug 625265] [NEW] rtl8187: spontaneously disassociates

Vince McIntyre 625265 at bugs.launchpad.net
Fri Aug 27 11:44:59 UTC 2010


Public bug reported:

I have a Netgear WG111(v3) USB dongle, lsusb id is  0846:4260.

The device is configured with a static IP address, and connects to an access point using WEP encryption.
The machine it is connected to is a Dell PC, located under a desk. Normally nobody is logged in via GDM,
network-manager is not running and it is not managing the interface.
The computer collects syslog information sent to it over the wireless interface, at present from only one host.

After a few hours the device disconnects with this message:

Aug 26 18:12:24 ubuntu kernel: [606323.620015] No probe response from AP 00:04:ed:00:00:00 after 500ms, disconnecting.
Aug 26 18:12:24 ubuntu kernel: [606323.761271] cfg80211: All devices are disconnected, going to restore regulatory settings
Aug 26 18:12:24 ubuntu kernel: [606323.761277] cfg80211: Restoring regulatory settings
Aug 26 18:12:24 ubuntu kernel: [606323.761282] cfg80211: Calling CRDA to update world regulatory domain
Aug 26 18:12:24 ubuntu kernel: [606323.764770] cfg80211: World regulatory domain updated:
Aug 26 18:12:24 ubuntu kernel: [606323.764775]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Aug 26 18:12:24 ubuntu kernel: [606323.764779]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 26 18:12:24 ubuntu kernel: [606323.764783]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug 26 18:12:24 ubuntu kernel: [606323.764786]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Aug 26 18:12:24 ubuntu kernel: [606323.764790]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Aug 26 18:12:24 ubuntu kernel: [606323.764793]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

The interval before disconnection is variable, but usually more than 1 hour.
I have a cron job that stops and starts the interface once per day
$ cat /etc/cron.d/wireless-restart
55 0 * * *  root  (/sbin/ifdown wlan1; sleep 15; /sbin/ifup wlan1) 1>/dev/null 2>&1

This always works, ie the interface comes up, but it disconnects again
after a few hours.

Notes:
The AP MAC address looks bogus but it is in fact ok.

Signal strength is reasonable, according to iwconfig:
 iwconfig wlan1
 wlan1     IEEE 802.11bg  ESSID:"My Net's home"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:04:ED:00:00:00   
          Bit Rate=11 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


/etc/network/interfaces is configured like this:

iface wlan1 inet static
  address   192.168.13.12
  netmask   255.255.255.0
  gateway   192.168.13.1
  network   192.168.13.0
  broadcast 192.168.13.255
  wireless-essid My Net's home
  wireless-key   f43e-d0b4-6b
  wireless-mode  managed

I am usually running the generic lucid kernel, at present linux-image-2.6.32-24-generic (2.6.32-24.41)
$ uname -a
Linux ubuntu 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux

I've tried this setup for a few days  with a mainline build, linux-image-2.6.35-020635rc1-generic.
I see the same behaviour.

The only other thing I have noticed is on ifup I see a message about the wrong country code in syslog
...
Aug 27 21:02:27 ubuntu kernel: [702927.383547] wlan1: RX AssocResp from 00:04:ed:00:00:00 (capab=0x431 status=0 aid=1)
Aug 27 21:02:27 ubuntu kernel: [702927.383551] wlan1: associated
Aug 27 21:02:28 ubuntu kernel: [702927.457481] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Aug 27 21:02:28 ubuntu kernel: [702927.457646] cfg80211: Ignoring bogus country IE

However I don't set this anywhere and don't see any config files setting it. The locale is:
LANG=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

$ sudo iw reg get
country 00:
        (2402 - 2472 @ 40), (3, 20)
        (2457 - 2482 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS
        (2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
        (5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
        (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-24-generic 2.6.32-24.41
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  vjm        1669 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with AD1981B at irq 23'
   Mixer name	: 'Analog Devices AD1981B'
   Components	: 'AC97a:41445374'
   Controls      : 28
   Simple ctrls  : 20
Date: Fri Aug 27 21:17:09 2010
HibernationDevice: RESUME=UUID=4efab890-99aa-4920-8190-db0fc273b48c
InstallationMedia: Ubuntu-Studio 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
MachineType: Dell Inc. OptiPlex GX280
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-24-generic root=/dev/mapper/hostname-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill:
 0: phy0: Wireless LAN
 	Soft blocked: no
 	Hard blocked: no
SourcePackage: linux
dmi.bios.date: 09/17/2004
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.name: 0G5611
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd09/17/2004:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G5611:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex GX280
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid needs-upstream-testing networking

-- 
rtl8187: spontaneously disassociates
https://bugs.launchpad.net/bugs/625265
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list