Debian Etch auto-reconfigures network after I configure it

Discussion in 'Installation/Configuration' started by unclecameron, Jul 23, 2007.

  1. unclecameron

    unclecameron New Member

    Might sound new and stupid, but:

    a. when i edit /etc/network/interfaces and change the ip, then run ifconfig after /etc/init.d/networking restart, the IP on ifconfig doesn't change, also

    b. I tried using the Gnome network manager to change DNS, and after I change the values and hit "ok" I go vi /etc/resolv.conf and the values are not changed, though I'm root.

    What really stupid thing am I missing, this is how I always did it in Sarge.

    Thanks,
    Cameron
    San Diego
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/network/interfaces? Are your changes still in there, or did they disappear?
     
  3. unclecameron

    unclecameron New Member

    when I use either the gnome manager or vi /etc/network/interfaces it changes the values, but then when I /etc/init.d/networking restart, then run ifconfig, my IP doesn't match what I just edited in /etc/network/interfaces. But then after I reboot and run ifconfig the ip is correct. Could this be related to SELinux somehow?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Is SELinux enabled? If so, switch it off.
     
  5. unclecameron

    unclecameron New Member

    What I found is that running

    /etc/init.d/networking restart

    didn't really work, but it does work if you use:

    ifdown eth0

    then

    ifup eth0
     

Share This Page