PDA

View Full Version : [ubuntu] Need to change IP address to static



sagitta007
January 8th, 2013, 02:29 AM
Read a few articles off the Internet on this, but all seem to say you need to see eth0 in interfaces buuut this is what I see....
auto lo
iface lo inet loopback

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/network/interfaces" 3 lines, 32 characters

Help me out?

Bucky Ball
January 8th, 2013, 02:31 AM
Welcome to the forums. You want to change from dhcp to static? Please give more info, for instance what release and flavour you are using.

You can do it easily in Network Manager and don't need to touch the interfaces file. IPv4 Settings>Method>Manual. Make the changes. You will obviously need some info like the address of you gateway and DNS details.

ahallubuntu
January 8th, 2013, 02:33 AM
Try this:

http://www.sudo-juice.com/how-to-a-set-static-ip-in-ubuntu/

efflandt
January 8th, 2013, 09:26 AM
The reason /etc/network/interfaces is mostly empty is because NetworkManager is the usual Ubuntu network configuration tool and it cannot manage or control anything in the interfaces file. The interfaces file is typically used if you do NOT have NetworkManager.

The icon for configuring networking is typically on the right side of the upper bar in X.

Bucky Ball
January 8th, 2013, 09:27 AM
Just right click the network icon and Edit Connections ...