← Back to team overview

desktop-packages team mailing list archive

[Bug 855262] Re: Network Manager drops my wifi connection (Ateros) every 30 minutes or so

 

That's very weird. The last messages before disconnection is the following:
Sep 21 07:27:37 rick-qsus NetworkManager[894]: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Timeout) complete.
Sep 21 07:56:15 rick-qsus wpa_supplicant[901]: CTRL-EVENT-DISCONNECTED bssid=5c:33:8e:bd:99:70 reason=4
Sep 21 07:56:16 rick-qsus kernel: [ 1757.042804] cfg80211: All devices are disconnected, going to restore regulatory settings

Where the actual disconnection is an event from wpa_supplicant which translates to:
#define WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY 4

I can only assume there still happens to be some traffic on the link
during that thirty minutes (or you may want to check the wireless AP's
settings, in case there is some wireless settings that is set to 1800
seconds.), but as a test, could you check if constantly pinging the
gateway keeps the interface up longer?

Something else to have done while testing is to enable debugging logs in wpa_supplicant, which might tell us more:
1) edit /usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service, add '-d' to the parameters passed to wpasupplicant
2) stop network-manager
3) kill wpasupplicant
4) start network-manager

Starting NetworkManager will start wpasupplicant automatically; with the
logs still going to /var/log/syslog. Once the bug is reproduce (or not),
please attach /var/log/syslog to this bug report again (after making
sure it doesn't include passwords in the debugging logs).

** Changed in: network-manager (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/855262

Title:
  Network Manager drops my wifi connection (Ateros) every 30 minutes or
  so

Status in “network-manager” package in Ubuntu:
  Incomplete

Bug description:
  Installed daily from Sept. 19th
  Network manager still displays me as connected, but I cannot ping
  I can easily reconnect to the wireless network

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic x86_64
  ApportVersion: 1.23-0ubuntu1
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Wed Sep 21 08:00:12 2011
  Gconf:
   
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110919)
  IpRoute:
   default via 192.168.1.1 dev wlan0  proto static 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.18
  Keyfiles: Error: [Errno 2] No such file or directory
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/855262/+subscriptions


References