Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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