← Back to team overview

touch-packages team mailing list archive

[Bug 1354924] Re: Networkmanager does not autoconnect to wireless network

 

SOLVED!!!

The hint to the solution was the content of networking.log:

run-parts: failed to exec /etc/network/if-up.d/static-routes: Exec format error
run-parts: /etc/network/if-up.d/static-routes exited with return code 1
Failed to bring up lo.
run-parts: failed to exec /etc/network/if-up.d/static-routes: Exec format error
run-parts: /etc/network/if-up.d/static-routes exited with return code 1
ifup: post-up script failed.

So I compared the /etc/network/if-up.d directories on my working 32-bit
and 64-bit laptops. The difference was a single executable file on the
64-bit affected laptop but not on the unaffected 32-bit laptop:

-rwxr-xr-x 1 root root  351 Oct 17 16:25 static-routes

Which contains:

ip route add unreachable 10.0.0.0/8 metric 999
ip route add unreachable 172.16.0.0/12 metric 999
ip route add unreachable 192.168.0.0/16 metric 999
ip route add unreachable 169.254.0.0/16 metric 999
ip route add unreachable 192.0.2.0/24 metric 999
ip route add unreachable 198.51.100.0/24 metric 999
ip route add unreachable 203.0.113.0/24 metric 999

I removed the executable bit (sudo chmod -x) and logged out and
rebooted. My network was auto-started as it should!! I don't know why
the release-upgrade put it there (I assume it did), but it was the
culprit in this fiasco.

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

Title:
  Networkmanager does not autoconnect to wireless network

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

Bug description:
  When adding a net wireless network and enable "connect automatically'
  networkmanager does not automatically connect to the network wenever
  possible.

  I'm running kubuntu 14.10 daily.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: network-manager 0.9.8.8-0ubuntu23
  ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7
  Uname: Linux 3.16.0-6-generic x86_64
  ApportVersion: 2.14.5-0ubuntu4
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Sun Aug 10 21:30:03 2014
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2014-07-11 (29 days ago)
  InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140710)
  IpRoute:
   default via 192.168.0.2 dev wlan0  proto static 
   192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.213  metric 9
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                                  
   wlan0      802-11-wireless   connected     /org/freedesktop/NetworkManager/Devices/1  
   eth0       802-3-ethernet    unavailable   /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/1354924/+subscriptions


Follow ups

References