← Back to team overview

touch-packages team mailing list archive

[Bug 1316634] Re: Does not automatically reconnect to hidden WiFi network

 

The solution: 
Uncomment the code which has been commented out due to an already fixed gnome bug. This fixed the issue for me. Please confirm that it does fix it for you, too.

michael@thinkpad:/etc$ git diff NetworkManager/dispatcher.d/01ifupdown
diff --git a/NetworkManager/dispatcher.d/01ifupdown b/NetworkManager/dispatcher.d/01ifupdown
index ebadfd1..f4de9cc 100755
--- a/NetworkManager/dispatcher.d/01ifupdown
+++ b/NetworkManager/dispatcher.d/01ifupdown
@@ -55,16 +55,16 @@ for i in $ADDRESS_FAMILIES; do
             ;;
 # pre-up/pre-down not implemented. See
 # https://bugzilla.gnome.org/show_bug.cgi?id=387832
-#        pre-up)
-#            export MODE="start"
-#            export PHASE="pre-up"
-#            run-parts /etc/network/if-pre-up.d
-#            ;;
-#        pre-down)
-#            export MODE="stop"
-#            export PHASE="pre-down"
-#            run-parts /etc/network/if-down.d
-#            ;;
+        pre-up)
+            export MODE="start"
+            export PHASE="pre-up"
+            run-parts /etc/network/if-pre-up.d
+            ;;
+        pre-down)
+            export MODE="stop"
+            export PHASE="pre-down"
+            run-parts /etc/network/if-down.d
+            ;;
         hostname|dhcp4-change|dhcp6-change)
             # Do nothing
             ;;
michael@thinkpad:/etc$ 


** Bug watch added: GNOME Bug Tracker #387832
   https://bugzilla.gnome.org/show_bug.cgi?id=387832

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

Title:
  Does not automatically reconnect to hidden WiFi network

Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  Running Lubuntu 14.04 32-bit on a Lenovo 3000 C200 laptop with an
  integrated Broadcom network adapter, I installed
  firmware-b43-installer and then successfully connected to my hidden
  (SSID not broadcast) WiFi net.

  But I see that it will not automatically reconnect.  I don't have to
  re-enter the password, but I do have to click the nm-applet indicator,
  choose 'Connect to Hidden Wi-Fi Network' and then choose my already-
  defined connection, which indeed has been saved but not used to
  automatically reconnect.

  If I edit the connection, I see that on the General tab it is already
  set to 'Automatically connect to this network when it is available.'

  The only way I can get automatic reconnection is to enable SSID
  Broadcast.

  And a similar effect: If I am connected to the network while SSID
  Broadcast is in effect and then disable SSID Broadcast, network-
  manager immediately loses the connection.

  Someone suggested that network-manager would find the hidden network
  if I just waited, but after waiting 15 minutes it had still not
  connected.

  Dual-booting this same laptop with Windows Vista, I see that Windows
  knows how to automatically reconnect to the hidden net.

  I see that https://bugs.launchpad.net/ubuntu/+source/network-
  manager/+bug/295796 describes similar behavior, but that was reported
  back in 2008 and I'm imagining that there should be a separate report
  for the new release.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: network-manager 0.9.8.8-0ubuntu7
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  CRDA: Error: [Errno 2] No such file or directory: 'iw'
  CurrentDesktop: LXDE
  Date: Tue May  6 10:24:32 2014
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2014-04-25 (10 days ago)
  InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
  IpRoute:
   default via 192.168.1.1 dev wlan0  proto static 
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.118  metric 9
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-con:
   NAME                      UUID                                   TYPE              TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   DBUS-PATH                                 
   Wired connection 1        ac7ba941-660f-40c5-9b1f-4d24accc6225   802-3-ethernet    1399385892   Tue 06 May 2014 10:18:12 AM EDT    yes           no         /org/freedesktop/NetworkManager/Settings/1
   PRP                       d25473c0-98d8-4d93-ab37-3dd070bbd34b   802-11-wireless   1399386192   Tue 06 May 2014 10:23:12 AM EDT    yes           no         /org/freedesktop/NetworkManager/Settings/0
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                                  
   eth0       802-3-ethernet    unavailable   /org/freedesktop/NetworkManager/Devices/1  
   wlan0      802-11-wireless   connected     /org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.8.8    connected       enabled       enabled         enabled    enabled         disabled

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