Tremulous Forum

Community => Off Topic => Topic started by: Bissig on January 18, 2009, 12:20:49 am

Title: eth0 not coming up after reboot
Post by: Bissig on January 18, 2009, 12:20:49 am
Hi there,

apparently our server rebooted itself tonight, and upon reboot the network interfaces did not come up again.

This is the config file /etc/network/interfaces:

Code: [Select]
# The loopback network interface
auto lo                         
iface lo inet loopback         

# The primary network interface
auto eth0                     
iface eth0 inet static         
        address 66.197.220.238
        netmask 255.255.255.192
        network 66.197.220.192
        broadcast 66.197.220.255
        gateway 66.197.220.193 
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 4.2.2.1                                               
        dns-search volumedrive.com

Is something wrong here? Strangely enough the localhost interface doesn't come up either.
Title: Re: eth0 not coming up after reboot
Post by: Archangel on January 18, 2009, 12:59:47 am
check /etc/init.d/networking, perhaps it lost execution bit?
Title: Re: eth0 not coming up after reboot
Post by: Bissig on January 18, 2009, 04:26:46 am
Thanks for the suggestion, execute bit is set though:

Code: [Select]
-rwxr-xr-x 1 root root 1.7K 2006-11-27 08:32 /etc/init.d/networking
Title: Re: eth0 not coming up after reboot
Post by: blowFish on January 18, 2009, 06:12:16 am
Is it comming up at init lvl 3?

if you switch to init 3 ( #telinit 3 ) does the interface come up?

Title: Re: eth0 not coming up after reboot
Post by: Syntac on January 18, 2009, 06:13:29 am
This happened to my Arch installation a few months ago. It fixed itself after I did a few reboots. (Probably not going to work here, but what the hell.)
Title: Re: eth0 not coming up after reboot
Post by: gimhael on January 18, 2009, 08:25:28 am
I'd try to start the interfaces manually with ifup lo && ifup eth0, to verify that the /etc/network/interfaces file is correct.
If that works I'd check that the /etc/init.d/networking is executable and symlinked from the /etc/rc?.d directories.
Title: Re: eth0 not coming up after reboot
Post by: Caveman on January 18, 2009, 09:18:22 am
Wasn't /etc/network/interfaces declared deprecated in favor of (not sure, can't look it up atm) /etc/default/config?
Nothing really is known as there are too many linux flavor out there .)
Title: Re: eth0 not coming up after reboot
Post by: Urcscumug on January 18, 2009, 05:26:11 pm
Depends on the distribution.

The first place I'd look is in the output of `dmesg`. There's bound to be some related error message somewhere around there. Redirect it to a file (dmesg > dmesg.txt) or examine it with less (dmesg|less).
Title: Re: eth0 not coming up after reboot
Post by: Bissig on January 18, 2009, 08:19:25 pm
Real problem is I do not have a remote kvm or similar. So everytime I would attempt to reboot I have to bother the DCs support to jump in and use SSH to restart netconfig manually. Also, of course, rebooting a server that is used 24/7 isn't fun either.
Title: Re: eth0 not coming up after reboot
Post by: Archangel on January 18, 2009, 08:54:42 pm
KVM-Over-IP rent is typically cheap for an hour or so -- maybe even free. LayeredTech gave me one for ~6 hours for free once.