I’ve recently upgraded my ubuntu version from 14.04 to 16.04. Now
none of my internet connection work (neither ethernet or wifi), although
both are recognized in the ‘network connections’ panel. I verified that
both work with other devices.
I’ve searched for previous posts but none of them helped me…
some introduced slightly different problems (e.g., networks are not
recognized in the panel / only wifi doesn’t work etc…), or solutions
that require ‘sudo apt-get’ installations that use packages from the web
(which, obviously, I can’t download).
I would greatly appreciate any assistance. I am a simple user, so please be gentle
Try this in the terminal. Press F12 for the Tilda terminal or CTRL+ALT+T for normal one.
If you want to copy+paste, hold CTRL+SHIFT+V in terminal to paste it.
WhyAreLess -
After asking for an admin passwoed, "pluma" doesn't do anything for me . I entered the file you mentioned using gedit, and the parameter "managed" was already true. I tried to re-save the file and restart the network-manager, but it didn't help. I remind you that my network connections are all recognized, I'm just not able to connect to any.
ouroumov -
A screen shot of the output is attached:
So yeah, I've been seing a massive amount of problems lately with Realtek ethernet cards using that particular driver.
Regressions are a pain.
For your WiFi, I googled around a bit and found something we can try:
You're gonna create a file to pass options to the iwlwifi driver loading process.
In a terminal type:
sudo gedit /etc/modprobe.d/iwlwifi.conf
And add in this line:
options iwlwifi 11n_disable=1
Then save, close the file and issue these two commands:
Thanks a lot,
I edited iwlwifi.conf according to your suggestion, and now it looks like this (seems like the file already has some lines that remind your suggestion):
Well, let's try for a cable connection then.
In at least one instance on this forum a connectivity issue was resolved for ethernet/r8169 using those two commands:
sudo modprobe -r r8169
sudo modprobe r8169
You don't have to reboot, if it doesn't work a reboot won't help.
@Dimka Just to let you know. Ubuntu has a nice screenshot app which let’s you create screenshots so you don’t have to make a photo’s with your phone. The tool is called Screenshot, but whats in a name
I don’t have inxi installed so I can’t use that command. Since I have no internet, I can’t apt-get install it. Can I run another equivalent command instead?
Regarding the screenshots - yeah… but since my laptop doesn’t connect to the internet, I use the phone to post these replies anyway, so taking photos is the easiest option for me anyway.
The first command resulted in ‘unknown intrtface eth0’
I ran the second command, and now wired connection works, Woohoo! Thanks a lot!!!
Few issues still remain:
When I plug the ethernet cable out and in again (or suspend/reboot the PC, I guess), the wired network doesn’t reconnect just like before. Connection is established only after I stop this automatic attempt and run ‘sudo dhclient eth0’ in the terminal one more time. How can I make this connection automatic?
All I had to do is run ‘sudo apt-get -f install’ to fix damaged packages.
At first it didn’t work due to some errors in my tex-live package.
An error led me to the file ‘/etc/texmf/web2c/updmap.cfg’ where I had to comment out the first line (referring to a non-existing file). Then, ‘sudo apt-get -f install’ worked and solved my network issue.
Now both wifi and ethernet are working properly. Thanks a lot for all the helpers!