PDA

View Full Version : [ubuntu] Internet stopped working



lzd
January 31st, 2010, 09:14 AM
I uninstalleed Network Manager so I could set up a static IP and everything worked fine for a while but after I restarted the internet stopped working. What do I do?

mikewhatever
January 31st, 2010, 11:31 AM
Which release of Ubuntu are you running? Can you post the output of the following:

cat /etc/network/interfaces

3rdalbum
January 31st, 2010, 12:25 PM
I uninstalleed Network Manager so I could set up a static IP

Network Manager is perfectly capable of using a static IP.

Run these commands:


sudo dhclient
sudo apt-get install network-manager-gnome
nm-applet

The first gets you an internet connection using a dynamic IP, the second gets Network Manager back, the third will run Network Manager applet. Go to the new applet on your panel and right-click it, and then go to Edit Connections. Under "IPv4 Settings" tab, choose Static and set up your static IP address.

lzd
January 31st, 2010, 06:22 PM
Wow, thanks man. That was a lot easier than I expected.