LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-29-2003, 12:49 AM   #1
matthewD
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Rep: Reputation: 0
Unhappy eth0 boot issue


Hi all,

Using Mandrake 9.0.

when I don't have my ethernet cable connected, the boot sequence hangs on detecting eth0 (I'm assuming it's the ethernet connection). It will usually wait at least 1 or 2 minutes before "failing" and then finishing the boot. Everything works after that, but it makes the boot sequence last for ever.

Any help here?

Thanks,

Matt.
 
Old 01-29-2003, 01:18 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
You use DHCP to get an IP address normally?

120 seconds is the default dhcpcd timeout on trying to get a lease, if you check through /etc/sysconfig/network-scripts/if-cfg-eth0 (or something like that), you can hand edit one of the options in there to give dhcpcd a much shorter timeout, but I wouldn't go below about 10 seconds, sometimes lease negotiation can gag that long normally, even on a clean low-traffic network.

Cheers,

Finegan
 
Old 01-29-2003, 07:40 PM   #3
matthewD
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy bit more help...

Ok, I can edit this file. Mine looks like this

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
HWADDR=00:e0:b8:xx:xx:xx

I don't know how to edit it for a lower time.

---------------------

Second question:

If I don't have my ethernet cable connected during a boot, can I run this script in order to connect? If not this, how do I connect?

Thanks a lot,
Matt.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help!! Dell D610 eth0 network issue with RH8.0 linuxwalker Linux - Networking 1 11-05-2005 02:03 AM
eth0 on boot tdmg Slackware 2 07-12-2005 04:27 PM
Issue with Globetrotter (Mandrake) and eth0 fincher69 Linux - Hardware 1 03-21-2005 08:32 AM
Another NIC eth0 issue... Eux Debian 8 05-18-2004 05:49 PM
eth0 configuration issue gvaught Linux - Networking 28 11-04-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration