Not working network connection after boot
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | NetworkManager |
Expired
|
Critical
|
||
| | network-manager (Ubuntu) |
Critical
|
Unassigned | ||
Bug Description
Directly after boot the network connections are not working. I am connected and have an IP address, but I cannot establish a connection with any Internet server.
I have the impression it is related to thee DNS lookup, which waits forever for a result.
Cycling the connection (disconnect-
I am reporting this against network-manager, but I am not sure if it is directly in network manager or if it is systemd related.
With 14.10 everything worked perfectly.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager 0.9.10.0-4ubuntu11
ProcVersionSign
Uname: Linux 3.19.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Mar 22 12:38:26 2015
EcryptfsInUse: Yes
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2015-01-30 (50 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
IpRoute:
default via 192.168.1.1 dev eth0 proto static metric 1024
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.26
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.29
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to vivid on 2015-03-19 (3 days ago)
modified.
mtime.conffile.
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet connected /org/freedeskto
wlan0 wifi connected /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.
| Jan Henke (jhe) wrote : | #1 |
| Benjamin Geese (ben-8409) wrote : | #3 |
This is happening for me as well on Ubuntu 15.04 (upgraded from 14.04 through 14.10).
Interestingly, i changed my wifi-card since first experiencing this, but it did not help. It had an rt2x00 driven USB adapter before and now run an Intel based PCIe card with exactly the same behaviour: Directly after boot, NM shows a connection but i cannot visit any website. I have to manually disconnect and connect again to get internet access.
My network adapter:
05:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
| Changed in network-manager (Ubuntu): | |
| importance: | Undecided → High |
| importance: | High → Critical |
Please:
1. Report to <https:/
2. Paste the new report URL here.
3. Set this bug status back to "confirmed".
Thank you.
| Changed in network-manager (Ubuntu): | |
| status: | Confirmed → Incomplete |
| tags: | added: asked-to-upstream |
| Jan Henke (jhe) wrote : | #5 |
As requested: https:/
| Changed in network-manager (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Changed in network-manager: | |
| importance: | Undecided → Unknown |
| status: | New → Unknown |
| Jan Rathmann (kaiserclaudius) wrote : | #6 |
I suffer from the same problem and have just (accidently) reported a duplicate: #1445999
@ Jan Henke
Thank you.
| Changed in network-manager (Ubuntu): | |
| status: | Confirmed → Triaged |
| Changed in network-manager: | |
| importance: | Unknown → Critical |
| status: | Unknown → Confirmed |
| Jan Rathmann (kaiserclaudius) wrote : | #8 |
Some addtional information:
- The bug also appears when booting a live session
- If I setup my network via /etc/network/
Kind regards,
Jan
| ralf tauscher (stereo) wrote : | #9 |
I found this in dmesg:
[ 3.092545] systemd[1]: Job NetworkManager-
and a
sudo /etc/init.
helps to get online again, but not right after booting.
| carlix (carlixlinux) wrote : | #10 |
I have tested ubuntu 15.04 kubuntu 15.04 and ubuntu gnome 15.04 and after reboot i lose connection but i discovered that if i turn off my router and turn on again when i turn on the computer the internet autoconnect succsessfully but if i reboot the problem persist, in 14.10 i dont have any problems
| Benjamin Geese (ben-8409) wrote : | #11 |
Any news?
This is very annoying and clearly a regression. I understand this might be annoying to fix, but as asked, @jhe created the bug in the Gnome Bugtracker and there is zero activity on this bug. Only on user on CC and no comment. How can we raise awareness if you think this is an upstream bug?
| carlix (carlixlinux) wrote : | #12 |
I`ve noticed that the network-manager was updated but I finally realised that SYSTEMD was the real problem because when I tested 15.04 alpha I hadn`t any problems but when I received a update the network problem began.
I supose that SYSTEMD was updated and the problem started.
| vmagnin (vincent-magnin) wrote : | #13 |
I have also the problem with two PC (Kubuntu 15.04) linked to the same router. Sometimes I have network after the boot, sometimes not.
I have found this message in dmesg when I have no network:
[ 7.195372] systemd[1]: Job NetworkManager.
This bug is quite annoying. When there is this problem, I reboot the machine.
| carlix (carlixlinux) wrote : | #14 |
I`ve tested Wily and the problem persist, my motherboard is http://
lspci: Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Please help me, this problem maybe affect a lot of people, is very annoying :´O(
I’m just a poor latinoamerican boy.
| carlix (carlixlinux) wrote : | #15 |
In Fedora 22 beta and Debian Jessie any problems.
Why?
| Benjamin Geese (ben-8409) wrote : | #16 |
I too think this is a systemd-related problem. It was running 15.04 a while before this occured and i do not think it is a coincedence. We have another laptop here recently updated from 14.10 to 15.04 which introduced the same problem.
| carlix (carlixlinux) wrote : | #17 |
I´m using 15.10 now and I have the same problem
| Jan Rathmann (kaiserclaudius) wrote : | #18 |
Benjamin, calix: Did you test booting your system with init=/sbin/upstart ? On my system this bug also appears when using Upstart as init, so this doesn't seem to be related to Systemd.
| Arash (arashministar) wrote : | #19 |
I have this problem after upgrading from 14 to 15.4 ! :(
| carlix (carlixlinux) wrote : | #20 |
Lubuntu 15.10 and 15.04 and other distros like debian 8 and fedora 22 works fine but others like kubuntu, ubuntu gnome, doesn´t.
This is so strange!!!
| Benjamin Geese (ben-8409) wrote : | #21 |
This was getting really annoying, so i simple reinstalled my system yesterday. I directly installed Ubuntu 15.04. The problem is gone now. So it must be a configuration. Either something i did which cannot remember (i can not see a reason is should have fiddled with that), or something introducing during the 15.05 development process. I still suspect the timeframe around the systemd switch. It might be helpful to know that 1) the problem did not exist with 14.04 or 14.10 (upgraded from 14.04) but 15.04 since systemd switch (upgraded from 14.04, then 14.10).
@kaiserclaudius: sadly did not try to used upstart on this machine, but we have a second machine with a similar issue, i will try this there as soon as i find the time.
@carlix: Does Lubuntu use systemd?
| Jan Rathmann (kaiserclaudius) wrote : | #22 |
Benjamin, I don't think the problem is related to a somehow messed up configuration (user or system wide), because as mentioned in #8, I can reproduce the bug by booting from a pristine live iso image. Or we a suffering from different bugs.
| carlix (carlixlinux) wrote : | #23 |
Exactly, when I boot from a live usb the problem persist, I think that lubuntu use Systemd, remember the problem in #10 this is very important
| carlix (carlixlinux) wrote : | #24 |
Nobody help us!!! The problem persist in 15.10 if 16.04 will still have it Ubuntu will lose a lot of users
| A. Eibach (andi3) wrote : | #25 |
Confirming with 1.0.4.
But WFM with 0.19.10.0.
BTW, instead of funny guessing, just do
ps -ef | grep NetworkManager
/usr/sbin/
1.0.4 did NOT run. When checking /var/log/*.crash files, I found a network-
Downgraded NM and everything worked as expected.
If you are experiencing this bug in Ubuntu 15.10, please have a look at https:/
| A. Eibach (andi3) wrote : | #27 |
...which has even been marked 'Invalid' as now.
| carlix (carlixlinux) wrote : | #28 |
Finally after an update in Ubuntu Gnome 15.10 the problem is gone in my computer, I have also tested a live usb two times and it's working perfect, thanks to everyone!!! .
| Jan Rathmann (kaiserclaudius) wrote : | #29 |
Like carlix, I didn't see this bug so far under Wily.
| RoundDuckMan (roundduckman2) wrote : | #30 |
Funnily enough, this bug also appears in 14.04.3, under the 3.19 kernel, strange.
| RoundDuckMan (roundduckman2) wrote : | #31 |
Also it appears in a live DVD of the original 14.04 (not 14.04.1, just plain 14.04) as well. Once again, strange.
| cethru (cethru) wrote : | #32 |
Had the same problem: NM was hanging after system start and i had no nm-applet and no network connection.
Solution for me on Ubuntu 15.10, wired lan, manually entered network configuration was:
sudo killall NetworkManager
sudo service NetworkManager start
sudo reboot
Shouldn't systemd start NM?
| vmagnin (vincent-magnin) wrote : | #33 |
The bug is still present after upgrading to Kubuntu 15.10.
Same workaround as before to access to the network after booting:
sudo /etc/init.
| Vincent Thiele (vincentthiele) wrote : | #35 |
I get this error:
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
Nov 22 03:45:23 arbeits-pc NetworkManager[
| Dave Rice (ricey) wrote : | #36 |
Hi guys,
I too am seeing this on 15.10
USB WiFi dongle is not configured/present in network manager after a boot.
Nov 29 16:53:29 desktop systemd[1]: Starting WPA supplicant...
Nov 29 16:53:29 desktop kernel: [ 3.270513] usb 1-8: r8712u: CustomerID = 0x0015
Nov 29 16:53:29 desktop kernel: [ 3.270516] usb 1-8: r8712u: MAC Address from efuse = 94:44:52:28:34:43
Nov 29 16:53:29 desktop kernel: [ 3.270519] usb 1-8: r8712u: Loading firmware from "rtlwifi/
Nov 29 16:53:29 desktop kernel: [ 3.270547] usbcore: registered new interface driver r8712u
Nov 29 16:53:29 desktop kernel: [ 3.272672] r8712u 1-8:1.0 wlx944452283443: renamed from wlan0
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
Nov 29 16:53:29 desktop NetworkManager[
| Deepak G N R (gnrdeepak) wrote : | #37 |
I am facing the same issue after upgrading from 15.04 to 15.10
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
| Pappy137 (txcrittr) wrote : | #38 |
I just did a new install Ubuntu 15.10, network-
sleep 3
service network-manager restart
| Stuart Gillies (gillies) wrote : | #39 |
I'm using the latest 16.04 beta, up to date. When I reboot, the wifi does not work, I think because it is not detected. When I replug the little USB wifi thingy, it then does work, though the signal strength indication is very low (no bars) even though another device alongside is seeing full strength. The usb thing worked fine on 14.04. So hotplug sort-of works but not at reboot time.
I also find that every second reboot the display just shows me a small white shape, approx a 2cm square but irregular. Fixed by a further reboot.
Sorry if this should go some where else, I could not find where so perhaps the moderator could move it?
thanks
| Marco Righi (marco-righi) wrote : Re: [Bug 1434986] Re: Not working network connection after boot | #40 |
Sorry I can not help you.
Il 13/04/2016 11:01, Stuart Gillies ha scritto:
> I'm using the latest 16.04 beta, up to date. When I reboot, the wifi
> does not work, I think because it is not detected. When I replug the
> little USB wifi thingy, it then does work, though the signal strength
> indication is very low (no bars) even though another device alongside is
> seeing full strength. The usb thing worked fine on 14.04. So hotplug
> sort-of works but not at reboot time.
>
> I also find that every second reboot the display just shows me a small
> white shape, approx a 2cm square but irregular. Fixed by a further
> reboot.
>
> Sorry if this should go some where else, I could not find where so
> perhaps the moderator could move it?
>
> thanks
>
--
Think Marco, think different
web site:http://
| tags: | added: xenial |
| Changed in network-manager: | |
| status: | Confirmed → Expired |
| Pawel (woloszynpwp) wrote : | #41 |
In the 16.04 LTS problem still persists.
| Pawel (woloszynpwp) wrote : | #42 |
Hi again,
this repair problem:
sudo systemctl enable NetworkManager.
| William D (bturner02-sa) wrote : | #43 |
Confirm that the problem is still in 16.04. To Pawel - yes "systemctl enable NetworkManager.
| jango (pjalegria) wrote : | #44 |
Lubuntu 16.04 LTS same thing
| yan (yannn) wrote : | #45 |
This might be related: https:/
I tried sudo systemctl enable NetworkManager.
| vmagnin (vincent-magnin) wrote : | #46 |
The bug is still present after upgrading to Kubuntu 16.04.
Same workaround as before to access to the network after booting:
sudo /etc/init.
It is present only on two PCs behind a DSL router. My notebook is not affected.
This bug is very annoying ! and lasts now for one year...
| Marco Righi (marco-righi) wrote : | #47 |
Hi,
I have re-installed from scratch and after the reboot the problem WAS NOT present!
| jango (pjalegria) wrote : | #48 |
what did you re-installed?
| Tristan Cormier (tristanc-3) wrote : | #49 |
I too am affected by this bug, on Ubuntu 16.04 LTS. The bug has been present for me, in a way or another, since 15.04.
| Jeff (ujr-n) wrote : | #50 |
I had a similar problem in Ubuntu server - needed to cycle network state by ifdown/ifup after every reboot.
On another server this problem didn't exist - a difference could be found related to the resolvconf package.
After I installed it the problem went away. Maybe it'll help here too? If so, uninstalling the package might help to reproduce the bug.
| jango (pjalegria) wrote : | #51 |
No fix yet??? This is very bad...
I am experiencing this issue on 16.04 LTS when resuming from suspend. Running `sudo systemctl restart NetworkManager.
| boon (boon-9ft1s) wrote : | #53 |
I think I am experiencing the same issue.
This is a brand new desktop PC with 16.04 LTS installed from scratch i.e. not an upgrade from a previous version.
This is wired ethernet (GbE) i.e. not WiFi.
Immediately after a boot, the user logs in and attempts to access a computer on the local network (so no possibility of internet problems and most likely no possibility of DNS problems). The attempt to use the network fails.
ifconfig appears to show everything normal - ethernet is UP and an IP address is assigned. Icon at top right of screen appears to show everything normal (up-arrow-
ping of a host on the local network fails.
Wait about 25 seconds though and suddenly it's working.
This is not good user interface because the user has no way of seeing when the network starts to work. It's not a good user experience either as the computer is working significantly before the network is usable.
syslog from boot doesn't show anything obviously wrong - NetworkManager sees the ethernet and appears to bring it up - but then about a minute after the first message of the boot I see that NetworkManager reports that the link is disconnected and then connected.
Don't know whether it matters but both IPv4 and IPv6 are in use. IPv6 uses DHCP. Once all the weirdness has finished, both IPv4 and IPv6 work correctly.
| biohazara (biohazara) wrote : | #54 |
I think this bug is fixed after 16.04.01. I no longer have this problem on a fresh install of Ubuntu MATE 16.06.1 64-bit, as well as on doing an upgrade from Ubuntu 14.04 64-bit to Ubuntu 16.06.1 64-bit.
However, my previous installations/
My advice is to do a fresh install of a current 16.04.1 ISO or, in the case of an upgrade, if you still have a backup of your 14.04 installation, try to use it to upgrade as of today and discard previous attempts.
| biohazara (biohazara) wrote : | #55 |
Turns out what I said before isn't true. The issue still exists.
So, why was I getting a good network connection on the physical machine I tried 16.04.1 on? Because I was connecting to WiFi via an Access Point created on a 14.04 installation. The minute I connected directly to the router, it started showing the network connection issues all over again.
Similarly, it seems that the network works fine in VirtualBox (14.04 host) if using a NAT network adapter. If I switch it a bridged adapter I get the network stops working after a while, just like a physical machine running 16.04 before.
| biohazara (biohazara) wrote : | #56 |
Sorry to spam this bug with comments, but I just found out a workaround to my problem. I had to disable IPv6 on the network connection (setting Method to ignore). Not sure why I need to do this in 16.04, but this isn't needed in 14.04.
After doing this, the internet connection doesn't drop at all anymore.
| carlix (carlixlinux) wrote : | #57 |
I don´t have this problem since 15.10
| Ilya Bizyaev (bizyaev-game) wrote : | #58 |
Seems to affect me on Ubuntu 16.04. Also I don't think that's a GNOME problem as I use KDE.
| Ilya Bizyaev (bizyaev-game) wrote : | #59 |
Oh, sorry for a typo! That's Ubuntu 16.10!
| tags: | added: yakkety |
| yan (yannn) wrote : | #60 |
This might be related:
No internet connection through WLAN although connected to network
https:/
| vmagnin (vincent-magnin) wrote : | #61 |
Since Ubuntu 16.10, the problem is worse !
1) When my PC is booting faster than my DSL Modem, the following command does not solve the problem anymore : sudo /etc/init.
I am forced to reboot.
2) When my modem lose the sync, I am obliged to launch that command (since Ubuntu 16.10).
| Younus (my334529) wrote : | #62 |
After upgrading 16.04 from 14.04 i face the same problem.
Then i got my solution. U can try this. By this network and wifi will be normal.
1 ==> open your terminal and type
sudo nano /etc/NetworkMan
2 ==> change managed=false to managed=true and save the file
3 ==> again in terminal type
sudo service network-manager restart
hope it helps.
| Andrew (am-public-o) wrote : | #63 |
Hi Younus,
I am also affected on 16.04 and it is terrible.
Thanks for your solution, I have set that and will see if it solves the problem in the long term.
| vmagnin (vincent-magnin) wrote : | #64 |
I found a solution when there is no network just after booting:
sudo pkill dnsmasq
The network manager then automatically relaunch dnsmasq as you can see by typing:
sudo /etc/init.
And it's OK !
So it seems to be a DNS related problem.
Please:
1. In the Terminal application enter "sudo apt purge dnsmasq".
2. Reboot the system.
3. If that fixes this bug, please mark it as duplicate of bug #1534501.
Thank you.
| Erwin van Diermen (erwin13) wrote : | #66 |
Same problem after upgrade from 14.04 to 16.04. (Dell Precision M4700)
After reboot, ifconfig displays IP address and all seems well. Connecting to local IP works, but internet fails.
I found another workaround by adding eth0 configuration to the /etc/network/
then: ifdown eth0
then: ifup eth0
and internet works. So, seems indeed a DNS problem.
| Erwin van Diermen (erwin13) wrote : | #67 |
For me the problem is solved, read the solution here
http://
I had the same problem with the latest 16.04 updates. Fixed as follows:
Remove (or comment out) the below line from /etc/NetworkMan
Run service NetworkManager restart
| Erwin van Diermen (erwin13) wrote : | #68 |
Above comment is partly true... after reboot it doesn't work anymore.
| vmagnin (vincent-magnin) wrote : | #69 |
Good news ! This bug seems to have disappeared since I upgraded my two PC toward Kubuntu 17.04. No problem for several weeks, after two years of problems...
In fact, it seems that Kubuntu does not launch anymore dnsmasq. It does not appear in the results of the command:
sudo /etc/init.
In my package manager, I see that the dnsmasq package is not installed, but the dnsmasq-base is.
Thanks to anyone who solved that !
| Jeff (jdferron) wrote : | #70 |
All,
Is anyone working on this considering this issue is marked critical?


Status changed to 'Confirmed' because the bug affects multiple users.