I upgraded from 16.10 to 17.04 and my laptop connects to home wifi but acts as if the network is not working, no website would load. It's not the browser, none of the apps work. A dozen reboots of laptop and router did nothing. Other laptops (win7), phones and tv use this network without issues. All was fine this morning but then the home wifi just stopped working on ubuntu (after waking it from sleep). For a few minutes it worked fine connected to the extender of that home wifi but then stopped that too. Ubuntu connects and uses my mobile hotspot without issues, so far. Any ideas? None of the fixes in previously asked similar questions worked for me so I was told in another thread to ask my own question.
-
try forgetting the network than reconnecting?– user590419Apr 15, 2017 at 23:07
-
try this may be it will work : sudo service network-manager restart– gunjan parasharApr 16, 2017 at 15:10
-
I tried both of those several times before posting the question here, didn't work.– ShaolinkaApr 17, 2017 at 10:09
-
Check out this answer: askubuntu.com/questions/902992/…– JayApr 17, 2017 at 11:04
-
1The DNS change that you accepted below is the same what multiple answers to the linked question suggest. I'm voting to keep this question closed.– David FoersterApr 20, 2017 at 10:00
|
Show 1 more comment
3 Answers
Try this: (solved my problem with DNS)
- Right click on Wi-Fi icon at the top-right corner of the screen
- go to "Edit Connections..."
- Mark your wifi network
- click "Edit" button
- Open "IPv4 Settings" tab
- Choose method: "Automatic (DHCP) addresses only"
- Copy&Paste
8.8.8.8, 8.8.4.4
to "DNS servers" - Save
- Reboot PC
-
This worked (editing connection)! Hopefully it sticks because the other fixes I tried only worked until the next reboot or wake up. Thanks! Apr 17, 2017 at 10:57
-
This is bug report that concerns many users of 17.04. Note that the problem affects both wifi & ethernet, some of the other reports are wifi or usb wifi only. bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1654918– dougApr 18, 2017 at 0:45
-
I believe that you can mark this as solution to your problem with that green sign. Apr 18, 2017 at 10:46
-
1Tried this and it hasn't work. I'm I missing something. What is potentially causing this issue? Jul 23, 2017 at 3:09
-
This is not the solution to my problem. I already do this and I still experience random dropouts especially at critical times. It's frustrating.– AriesSep 15, 2017 at 3:00
Here is a link of the bug.
And here is what you should try:
Open a terminal and type or paste this and run it:
sudo -H gedit /etc/NetworkManager/NetworkManager.conf
Then edit the file and add these lines to the bottom of the file:
[device]
wifi.scan-rand-mac-address=no
Save the file and run this command in a terminal:
sudo service network-manager restart
-
2I believe this issue that you give the fix for prevents you from connecting to wifi at all. The OP says he can connect to wifi, but not the internet. Ergo, DNS problem. Apr 19, 2017 at 0:56
-
If that is the case, the OP should try running this command in a terminal: sudo killall dnsmasq– ProvidedApr 20, 2017 at 1:19
-
On reboot, the wifi doesn't even connect anymore, when I removed the inserted line in
NetworkManager.conf
and reboot I get a wifi connection but no internet. Jul 23, 2017 at 3:11 -
AIP (Answer in Progress)
Wild guess, have you tried changing your DNS?
sudo -H gedit /etc/resolv.conf
change nameserver 127.0.0.53
to nameserver 8.8.8.8
, save & close.
-
1No no no. You don't manually edit /etc/resolv.conf. It even says so RIGHT IN THE FILE.– heynnemaApr 16, 2017 at 15:09
-
because it will get rewritten on the next boot up, but we only need to see if this works Apr 16, 2017 at 20:37
-
To get clarification from the OP, it's customary to drop a comment which you have the reputation to do (so far) Apr 17, 2017 at 15:23
-
THIS HAS FINALLY solved my issue in my Starbucks coffee wifi shop .... how to make it permanent?– napi15Jan 10, 2018 at 20:00