← Back to team overview

desktop-packages team mailing list archive

[Bug 903403] Re: Enabling Hotspot results in loop, which crashes DE

 

** Description changed:

  1) Ubuntu 11.10 x64 Server (Kernel 3.0.0.14)
  2) network-manager 0.9.1.90-0ubuntu5
  3) A working AccessPoint, so I could connect to it with other wifi devices.
  4) An AP that gets turned on, then crashes directly, gets re-enabled again and crashes again. NetworkManager tries to re-enable the AP so quickly that it creates a never ending loop. When this happens the whole Desktop freezes and only a force-reboot followed by booting into recovery mode *and* doing "sudo rm -R -f /etc/NetworkManager/" makes sure this doesn't happen again on the next login.
  
  At the moment I'm using the following setup with hostapd, which does give a working AccessPoint:
  ip a a 10.0.0.1/24 dev wlan0
  echo 1 > /proc/sys/net/ipv4/ip_forward
  iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  hostapd /etc/hostapd/hostapd.conf
  
  Network card is well supported:
  03:01.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
  --- 
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
- CRDA:
-  country CN:
-  	(2402 - 2482 @ 40), (N/A, 20)
-  	(5735 - 5835 @ 40), (N/A, 30)
  DistroRelease: Ubuntu 11.10
  Gconf:
   
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  IpRoute:
-  default via 94.209.152.1 dev eth0  proto static 
-  default via 94.209.152.1 dev eth0  metric 100 
-  94.209.152.0/21 dev eth0  proto kernel  scope link  src 94.209.154.68  metric 1 
+  default via dev eth0  proto static 
+  default via dev eth0  metric 100 
+  dev eth0  proto kernel  scope link  src metric 1 
   192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
  Keyfiles: Error: [Errno 2] No such file or directory
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  Package: network-manager 0.9.1.90-0ubuntu5
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.0.0-14.23-server 3.0.9
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  Tags:  oneiric
  Uname: Linux 3.0.0-14-server x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
  modified.conffile..etc.NetworkManager.NetworkManager.conf: [deleted]
  modified.conffile..etc.NetworkManager.dispatcher.d.01ifupdown: [deleted]

** Attachment removed: "Dependencies.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630276/+files/Dependencies.txt

** Attachment removed: "IfupdownConfig.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630277/+files/IfupdownConfig.txt

** Attachment removed: "IpAddr.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630278/+files/IpAddr.txt

** Attachment removed: "IwConfig.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630279/+files/IwConfig.txt

** Attachment removed: "NMTool.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630280/+files/NMTool.txt

** Attachment removed: "NetDevice.eth0.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630281/+files/NetDevice.eth0.txt

** Attachment removed: "NetDevice.lo.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630283/+files/NetDevice.lo.txt

** Attachment removed: "NetDevice.virbr0.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630284/+files/NetDevice.virbr0.txt

** Attachment removed: "NetDevice.wlan0.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630285/+files/NetDevice.wlan0.txt

** Attachment removed: "NetDevice.eth1.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630282/+files/NetDevice.eth1.txt

** Attachment removed: "ProcEnviron.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630287/+files/ProcEnviron.txt

** Attachment removed: "WifiSyslog.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630288/+files/WifiSyslog.txt

** Attachment removed: "PciNetwork.txt"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/903403/+attachment/2630286/+files/PciNetwork.txt

** Changed in: network-manager (Ubuntu)
       Status: Opinion => Invalid

** Information type changed from Public to Private

-- 
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/903403

Title:
  Enabling Hotspot results in loop, which crashes DE

Status in network-manager package in Ubuntu:
  Invalid

Bug description:
  1) Ubuntu 11.10 x64 Server (Kernel 3.0.0.14)
  2) network-manager 0.9.1.90-0ubuntu5
  3) A working AccessPoint, so I could connect to it with other wifi devices.
  4) An AP that gets turned on, then crashes directly, gets re-enabled again and crashes again. NetworkManager tries to re-enable the AP so quickly that it creates a never ending loop. When this happens the whole Desktop freezes and only a force-reboot followed by booting into recovery mode *and* doing "sudo rm -R -f /etc/NetworkManager/" makes sure this doesn't happen again on the next login.

  At the moment I'm using the following setup with hostapd, which does give a working AccessPoint:
  ip a a 10.0.0.1/24 dev wlan0
  echo 1 > /proc/sys/net/ipv4/ip_forward
  iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  hostapd /etc/hostapd/hostapd.conf

  Network card is well supported:
  03:01.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
  --- 
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  DistroRelease: Ubuntu 11.10
  Gconf:
   
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  IpRoute:
   default via dev eth0  proto static 
   default via dev eth0  metric 100 
   dev eth0  proto kernel  scope link  src metric 1 
   192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
  Keyfiles: Error: [Errno 2] No such file or directory
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  Package: network-manager 0.9.1.90-0ubuntu5
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.0.0-14.23-server 3.0.9
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  Tags:  oneiric
  Uname: Linux 3.0.0-14-server x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
  modified.conffile..etc.NetworkManager.NetworkManager.conf: [deleted]
  modified.conffile..etc.NetworkManager.dispatcher.d.01ifupdown: [deleted]

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


References