Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hangs for a minute at Bringing up interface eth0

Status
Not open for further replies.

farley99

MIS
Feb 12, 2003
413
US
My computer hangs for a minute at Bringing up interface eth0, I have nic card but am not connect to a network, how do i get it to skip this check all together?
 
What distro are you using? If it's RedHat, edit [tt]/etc/sysconfig/network-scripts/ifcfg-eth0[/tt] or [tt]/etc/sysconfig/networking/profiles/default/ifcfg-eth0[/tt] and change the line reading
[tt]ONBOOT=yes[/tt]
to read
[tt]ONBOOT=no[/tt]

//Daniel
 
Come now Daniel. Chances are his eth0 is using dhcp and it has to time out before passing beyond dhclient/ifup . The better thing to tell him to do is do static bind of his IP address (a 192.168.0.0/8 address).

Please let Tek-Tips members know if their posts were helpful.
 
Why? He said his NIC is not connected, anyway. There is IMHO no point in even activating it.
 
>>>There is IMHO no point in even activating it.

In my opinion, you make sure everything works, the first time. Instead of shutting it off, it be better to at least go into /etc/network/interfaces and add 192.168.0.12 just for the sake of being complete.

IF he ever connects to a network, all it would need is a ifconfig "" to temporarially set up to a new network.

Please let Tek-Tips members know if their posts were helpful.
 
Maybe for the first time... but anyway, all he has to do then is to use 'ifconfig'. There is no point in activating it in configuration files.
 
One other option: you didn't mention if you dual boot. My biggest pain is that whenever I reboot from windows into linux, it hangs on the eth0.

In Win98, I simply, START, RUN, winipcfg, "Release All" and then reboot. Haven't gotten around to making a batch file yet for single click shut down but I will soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top