Ubuntu – How to connect to internet after removing Network Manager

networkingpackage-management

I am using Ubuntu 12.04. I deleted network manager and do not see both wireless and LAN connection icons in the desktop, and for this reason I cannot connect to the internet.
Any idea?

Best Answer

Please open a terminal and do:

gksudo gedit /etc/network/interfaces

Amend the file to:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

Proofread, save and close gedit. Now do:

sudo ifdown eth0 && sudo ifup -v eth0

Your ethernet should now be connected so that you can re-install NM or Wicd. After doing so, repeat the process but remove the eth0 lines if you select NM. I believe the eth0 lines may remain for Wicd.