Ubuntu Manual Enable/Restore Internet Connection Command
The Tip Show How to Manually Enable/Restore the Network Internet Connection by Command Line on Ubuntu Linux.
You May Need must have Another Internet Access Point or Distribution Media to Get the Missing Packages…
The Guide Just Show How to Bring Up and Connect the eth0 LAN Interface but the Procedure will Works the Same Also for the Wireless Interfaces.
-
Open Terminal Window
(Press “Enter” to Execute Commands).Ctrl+Alt+T
In case first see: Terminal QuickStart Guide.
-
Bring Up the Network Interface.
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
ip link set eth0 up
-
Checking Network Interface State.
ifconfig
-
Manual Connection to Internet.
dhcpcd eth0
If dhcpcd Package is Not Installed on Ubuntu Look
-
Testing Internet Connection Command Line.
ping -c 3 www.google.com