Creating hotspot leads to endless connect/disconnect loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
- Create Hotspot via "System Settings > Network > Wireless > Hotspot" or manually in the network-manager
- What I expected:
* Hotspot is created, clients can use internet connection
- What happened instead:
* The new connection connects and disconnects after a second, when "autoconnect" is enabled, this happens very fast in a endless loop.
I think this error message in the log causes the failure:
> dnsmasq[5213]: failed to create listening socket for 10.42.43.1: Address already in use
> dnsmasq[5213]: FAILED to start up
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.1.90-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden
Date: Fri Sep 23 13:06:40 2011
EcryptfsInUse: Yes
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
IpRoute:
default via 192.168.2.1 dev eth0 proto static
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.10
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (0 days ago)
mtime.conffile.
tags: | added: ipv6 |
tankdriver, I think the address in use error may be a red herring, as thats what happens if you rapidly shutdown and start back up a listening socket without using the SO_REUSEADDR socket option. dnsmasq is basically saying that it can't listen because there may be existing half-closed sockets on the port it wants to listen on.
That said, it needs to be investigated in both network manager and dnsmasq, so marking as Medium importance in both.