Author Topic: eth0 not coming up after reboot  (Read 3577 times)

Bissig

  • Posts: 1309
  • Turrets: +103/-131
eth0 not coming up after reboot
« 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.

Archangel

  • Guest
Re: eth0 not coming up after reboot
« Reply #1 on: January 18, 2009, 12:59:47 am »
check /etc/init.d/networking, perhaps it lost execution bit?

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: eth0 not coming up after reboot
« Reply #2 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

blowFish

  • Posts: 18
  • Turrets: +4/-1
Re: eth0 not coming up after reboot
« Reply #3 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?


Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: eth0 not coming up after reboot
« Reply #4 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.)

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: eth0 not coming up after reboot
« Reply #5 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.

Caveman

  • Guest
Re: eth0 not coming up after reboot
« Reply #6 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 .)

Urcscumug

  • Posts: 278
  • Turrets: +18/-7
    • Wraths Newbie Server
Re: eth0 not coming up after reboot
« Reply #7 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).
New to Tremulous? Look up the Wraths Newbie Server in the in-game server list.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: eth0 not coming up after reboot
« Reply #8 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.

Archangel

  • Guest
Re: eth0 not coming up after reboot
« Reply #9 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.