In Ubuntu 9.10 I configured manually network settings to /etc/network/interfaces, and it works fine when I run /etc/init.d/networking restart.

Problem is that those settings are not loaded to GUI application (Preferences/Network connections).

I don't want to edit my preferences there, I just want to use my interfaces file as default! Do you know what's going on?

link|improve this question

62% accept rate
feedback

1 Answer

up vote 1 down vote accepted

remove the auto DEVICENAME and simply write it like this (DHCP):

iface DEVICENAME inet dhcp

or for a static ip:

iface DEVICENAME inet static
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
gateway XXX.XXX.XXX.XXX

If you have written for example auto eth0 this means, that this interface is configured by the gui.

link|improve this answer
Ok I'll try that, I removed the auto eth0 line. – luca Feb 17 '11 at 19:13
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.