[H-GEN] eth0 hangs for a while at bootup

Sandra Milne silne at optusnet.com.au
Sun Jun 8 19:43:54 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Ross Whelan wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Hi there all.
> I'm just posting a request for info on how to stop my bootup process
> from hanging when it gets to "bringing up eth0" in the script. It waits
> for about 3 minutes untill [FAILED] comes up then continues on with the
> rest of the boot process. Any tips would be appreciated.

It'll be set to obtain an IP via DHCP or BOOTP. You'll need to either 
stop it from automatically bringing up the interface at boot time, or 
give it a static IP.

I'm guessing you're running either Mandrake or RedHat, and I'm not 
completely sure where the file you're looking for is under either of 
these. Under Debian it's called interfaces and it's in /etc/network

If you want your network card to have a static IP, you should change the 
file to look something like this:

auto eth0
iface eth0 inet static
         address 192.168.0.50
         netmask 255.255.255.0
	gateway 192.168.0.1

This is if you are on an internal network or no network at all, and have 
a router with the address 192.168.0.1  If you're not on a network you 
can skip the gateway line.

Hope this helps,

Sandra.
-- 
silne at optusnet.com.au
"He claims to be a 'human', from a planet called Erp"
Officer Aeryn Sun, Peacekeeper


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list