network
|
This question already has an answer here:
My networking was working fine yesterday. I shut down, went to bed, and when I booted up this morning it won't even talk to the router; I was wondering how to upgrade packages when it can't connect to the internet. My Ubuntu 15.10 laptop (this machine) connects to the internet through the same router just fine. Some of the error report:
|
|||||||||||||||||||||
marked as duplicate by Braiam, muru, David Foerster, Eric Carvalho, Ron May 17 '16 at 8:37This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
|||||||||||||||||||||
|
|||||||||||||||||||||
|
I had the same problem today. I had to setup the connection manually via command line to get to the internet and then I upgraded Ubuntu. After the upgrade it works fine. If you have DHCP on your router and using the cable, just type the following two commands:
It helped me to connect to the inernet and to update Ubuntu. After the update it works as yesterday. I have no idea why this happened. I am not sure how to do it if you use WiFi. I am not sure replacing eth0 with wlan0 will work. If you use WiFi password protection, the procedure to connect via command line is more complicated. Some pointers in this case:http://unix.stackexchange.com/questions/92799/connecting-to-wifi-network-through-command-line, http://unix.stackexchange.com/questions/90778/how-to-bring-up-a-wi-fi-interface-from-a-command-line You can also try to download packages to another computer and transfer them to your laptop and install them there. Here are the instructions how to install updates without internet connection:https://help.ubuntu.com/community/InstallingSoftware#Installing_packages_without_an_Internet_connection |
|||||||||||||||||||||
|
|
The solution proposed by 'nobody' hasn't worked for me as my computer was unable to connect via ethernet and "sudo dhclient" didn't give any output. This worked for me: Solution if you're unable to connect via ethernet. The step 2 proposed by 'r2rien' worked as a charm and it is really simple, just download the three files (libnl, libnl-genl, libnl-route) in an online computer, put them in a USB stick and install them in the offline Linux via:
then you just have to restart the service with:
|
|||
|
I have the same problem, but I can't start network.
The "x" is the partittionnumber from the installed system Then I reboot the system and it works. |

浙公网安备 33010602011771号