Failure timeout for connecting to hidden Wi-Fi network should be shorter than 60 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Unknown
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: network-manager
While testing how well hidden networks work in Ubuntu/Kubuntu Karmic Beta, I discovered that if you try to connect to a non-existent hidden network, that it takes a full 60 seconds to timeout / fail to connect.
I haven't actually looked at the code yet, but it should be possible to tell that the network doesn't exist in the time it takes to get a SSID-specific scan result back from wpa_supplicant.
ProblemType: Bug
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Thu Oct 8 15:21:49 2009
DistroRelease: Ubuntu 9.10
IfupdownConfig:
auto lo
iface lo inet loopback
IpRoute:
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.106 metric 1
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.104 metric 2
169.254.0.0/16 dev eth0 scope link metric 1000
default via 192.168.1.1 dev eth0 proto static
NonfreeKernelMo
Package: network-manager 0.8~a~git.
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: network-manager
Uname: Linux 2.6.31-12-generic i686
Related branches
Changed in network-manager: | |
status: | Unknown → Invalid |
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Invalid → Unknown |
summary: |
- Failure Timeout for Connecting to Hidden Network should be shorter + Failure timeout for connecting to hidden Wi-Fi network should be shorter + than 60 seconds |
lp292054_ tune_supplicant _timeout_ 60s.patch
From: Alexander Sack <email address hidden> wpasupplicant slowness bug by giving association launchpad. net/bugs/ 292054
Subject: Workaround driver/
more time
Bug-Ubuntu: http://
--- network- manager- 0.8.1~beta1~ git.20100510t07 3507.f3057a6. orig/src/ nm-device- wifi.c 2010-05-10 19:39:11.000000000 +0000 manager- 0.8.1~beta1~ git.20100510t07 3507.f3057a6/ src/nm- device- wifi.c 2010-05-10 19:56:21.000000000 +0000 WIFI_GET_ PRIVATE (self);
+++ network-
@@ -2792,7 +2792,7 @@
priv = NM_DEVICE_
/* Set up a timeout on the connection attempt to fail it after 25 seconds */ add_seconds (25, supplicant_ connection_ timeout_ cb, self); add_seconds (60, supplicant_ connection_ timeout_ cb, self);
nm_log_ err (LOGD_DEVICE | LOGD_WIFI,
"Activation (%s/wireless): couldn't start supplicant "
- id = g_timeout_
+ id = g_timeout_
if (id == 0) {