Networking Forums

Networking Forums > Computer Networking > Linux Networking > 'bringing up interface eth0:' takes ages ...

Reply
Thread Tools Display Modes

'bringing up interface eth0:' takes ages ...

 
 
Rob
Guest
Posts: n/a

 
      02-07-2004, 10:49 AM
when my laptop is not connected to a LAN ...
is there a way around this ??
 
Reply With Quote
 
 
 
 
Ian Northeast
Guest
Posts: n/a

 
      02-07-2004, 12:46 PM
On Sat, 07 Feb 2004 12:49:35 +0100, Rob wrote:

> when my laptop is not connected to a LAN ... is there a way around this ??


Well you don't tell us anything at all about your system so there's no way
to guess. What distro is it, does the interface use DHCP, if so what DHCP
client software, what is the ethernet card?

My laptop which runs Debian Woody which uses the ISC "dhclient" with a
Xircom IIps Combo ethernet/modem card does not have this trouble.

If you are using DHCP, changing the client software might help.

Regards, Ian

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      02-07-2004, 03:14 PM
Rob wrote:
> when my laptop is not connected to a LAN ...
> is there a way around this ??


The delay you're seeing is the interface startup
script waiting for DHCP configuration.

There is a tool called ifplugd, Interface Plugging
Daemon
<http://www.stud.uni-hamburg.de/users/lennart/projects/ifplugd/>.

It initializes the interface only if a network is
connected to the interface. It helps for the
totally unplugged case. However, it cannot speed
up the DHCP wait on a live network without a
working DHCP server.

HTH

Tauno Voipio
tauno voipio @ iki fi

 
Reply With Quote
 
Les Mikesell
Guest
Posts: n/a

 
      02-07-2004, 07:19 PM

"Rob" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> when my laptop is not connected to a LAN ...
> is there a way around this ??


Recent RedHat/Fedora distributions have added a check for
an interface being connected before trying to get a DCHP
address. I don't know about other versions, but updating
is probably your answer.

---
Les Mikesell
(E-Mail Removed)


 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      02-07-2004, 08:10 PM
Rob wrote:

> when my laptop is not connected to a LAN ...
> is there a way around this ??


Yes, either start it manually or from a script that runs after bootup.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      02-07-2004, 08:13 PM
James Knott wrote:

> Rob wrote:
>
>> when my laptop is not connected to a LAN ...
>> is there a way around this ??

>
> Yes, either start it manually or from a script that runs after bootup.
>


Perhaps I should elaborate a bit. Many distro have an option to start eth0
(or any other interface) at boot. Turn this off and then later start the
interface. In SuSE, you could start it from boot.local.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
Vicious Vogon
Guest
Posts: n/a

 
      02-07-2004, 11:24 PM
On Sat, 07 Feb 2004 12:49:35 +0100, Rob wrote:

> when my laptop is not connected to a LAN ...
> is there a way around this ??


Ever tried to press CTRL-C?

--
Vicious Vogon - Experienced in dealing with human trash in any form and country.

 
Reply With Quote
 
Rob
Guest
Posts: n/a

 
      02-08-2004, 09:28 AM
On Sat, 07 Feb 2004 16:14:47 GMT, Tauno Voipio wrote:

> The delay you're seeing is the interface startup
> script waiting for DHCP configuration.


ah ok, i thought Linux was smart enough to see that no cable was
attached - even Windoze works that way ;-)

>There is a tool called ifplugd, Interface Plugging Daemon
><http://www.stud.uni-hamburg.de/users/lennart/projects/ifplugd/>.
>
>It initializes the interface only if a network is
>connected to the interface.


great, there's even a RPM for Mandrake 9.2 which i'm using !

>However, it cannot speed up the DHCP wait on a live network
> without a working DHCP server.


that should not be a problem, there should alwsy be a server when i'm
'plugged in'

thanks again !
also to all others who replied.
 
Reply With Quote
 
Rob
Guest
Posts: n/a

 
      02-08-2004, 10:11 AM
On Sat, 07 Feb 2004 13:46:10 +0000, Ian Northeast wrote:

>Well you don't tell us anything at all about your system so there's no way
>to guess. What distro is it, does the interface use DHCP, if so what DHCP
>client software, what is the ethernet card?


Sorry .. i'm running Mandrake 9.2 on a Dell Latitude C-640 laptop and
the card is a "3Com 3C920 integrated fast ethernet controller
(3C905C-TX compatible)".
Most of the time i'm either at work on our LAN or at home on my LAN
and both have a DHCP server, so no problems there, but when i'm not
'connected', it takes about 4 minutes for the boot process to decide
that bringing up eth0: does not work ... :-(

>My laptop which runs Debian Woody which uses the ISC "dhclient" with a
>Xircom IIps Combo ethernet/modem card does not have this trouble.
>If you are using DHCP, changing the client software might help.


I also use the ISC client, version "dhcp-client-3.0-1.rc12.2mdk" ...
checked on the Mandrake site and that's a recent version. There are
some rc's and a beta, i'll check if the changes mention anything.

The real problem seems to be that the 'system' does not detect that
there's no cable so DHCP can be skipped ... ?? I'm dual-booting on the
laptop with Win2K and there's no delay there ...

Another reply mentions a daemon "ifplugd" that does the 'cable check',
so i'm going to try that.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin F5D6231-4 router takes ages to appear sethjohnson777@yahoo.co.uk Wireless Internet 2 12-31-2006 12:43 PM
Wireless connection takes ages - help? DavidM Wireless Networks 2 04-05-2005 05:59 PM
Pc takes ages to recognise modem Wanadoo John Broadband 1 11-15-2004 11:50 PM
bringing up eth0 fails Bit Twister Linux Networking 3 07-25-2004 01:11 AM
Bringing Interface eth0.... Aspire Linux Networking 2 08-19-2003 03:22 PM



1 2 3 4 5 6 7 8 9 10 11