public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
@ 2006-02-17  8:29 Marco Calviani
  2006-02-17  8:46 ` Heinz Sporn
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Calviani @ 2006-02-17  8:29 UTC (permalink / raw
  To: gentoo-user

Hi list,
   i would like to share a problem that i'm encountering in dealing
with two net interfaces. I've a "normal" ethernet device (eth0) and a
wireless ipw2200 one (eth1).

1) i would like to have, at boot, a situation in which first of all
eth0 is started; if dhcp signal is found proceed with the
initialization of eth0, while if dhcp is not found try to start eth1.

2) as of now, at boot time i've only eth0; obviously if it's not
connected via ethernet cable the dhcp goes in timeout and net
initialization is failed. Then at the prompt i reissue
/etc/init.d/net.eth1 start to start wireless connection. However, and
here's the problem, the first time i digit this, eth1 goes in timeout
too. Digiting another time the same command and everythig goes well.
This situation is encountered everytime.

Thanks in advance for any hint,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
  2006-02-17  8:29 Marco Calviani
@ 2006-02-17  8:46 ` Heinz Sporn
  2006-02-17  9:04   ` Marco Calviani
  2006-02-17  9:46   ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: Heinz Sporn @ 2006-02-17  8:46 UTC (permalink / raw
  To: gentoo-user

Am Freitag, den 17.02.2006, 09:29 +0100 schrieb Marco Calviani:
> Hi list,
>    i would like to share a problem that i'm encountering in dealing
> with two net interfaces. I've a "normal" ethernet device (eth0) and a
> wireless ipw2200 one (eth1).
> 
> 1) i would like to have, at boot, a situation in which first of all
> eth0 is started; if dhcp signal is found proceed with the
> initialization of eth0, while if dhcp is not found try to start eth1.
> 

Have you looked into sys-apps/ifplugd ?

> 2) as of now, at boot time i've only eth0; obviously if it's not
> connected via ethernet cable the dhcp goes in timeout and net
> initialization is failed. Then at the prompt i reissue
> /etc/init.d/net.eth1 start to start wireless connection. However, and
> here's the problem, the first time i digit this, eth1 goes in timeout
> too. Digiting another time the same command and everythig goes well.
> This situation is encountered everytime.
> 
> Thanks in advance for any hint,
> MC
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
  2006-02-17  8:46 ` Heinz Sporn
@ 2006-02-17  9:04   ` Marco Calviani
  2006-02-17  9:46   ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: Marco Calviani @ 2006-02-17  9:04 UTC (permalink / raw
  To: gentoo-user

Hi Heinz,
   thanks for this hint i will try it. Question number 1) seems ok...........

Regards,
MC

2006/2/17, Heinz Sporn <heinz.sporn@sporn-it.com>:
> Am Freitag, den 17.02.2006, 09:29 +0100 schrieb Marco Calviani:
> > Hi list,
> >    i would like to share a problem that i'm encountering in dealing
> > with two net interfaces. I've a "normal" ethernet device (eth0) and a
> > wireless ipw2200 one (eth1).
> >
> > 1) i would like to have, at boot, a situation in which first of all
> > eth0 is started; if dhcp signal is found proceed with the
> > initialization of eth0, while if dhcp is not found try to start eth1.
> >
>
> Have you looked into sys-apps/ifplugd ?
>
> > 2) as of now, at boot time i've only eth0; obviously if it's not
> > connected via ethernet cable the dhcp goes in timeout and net
> > initialization is failed. Then at the prompt i reissue
> > /etc/init.d/net.eth1 start to start wireless connection. However, and
> > here's the problem, the first time i digit this, eth1 goes in timeout
> > too. Digiting another time the same command and everythig goes well.
> > This situation is encountered everytime.
> >
> > Thanks in advance for any hint,
> > MC
> >
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
  2006-02-17  8:46 ` Heinz Sporn
  2006-02-17  9:04   ` Marco Calviani
@ 2006-02-17  9:46   ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2006-02-17  9:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

On Fri, 17 Feb 2006 09:46:32 +0100, Heinz Sporn wrote:

> Have you looked into sys-apps/ifplugd ?

Note that the latest baselayout supports ifplugd itself. You only need to
emerge ifplugd, you don't need to configure it or add it to a runlevel.


-- 
Neil Bothwick

If at first you don't suceed, try the switch marked "Power"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
@ 2006-02-17 13:08 John Jolet
  0 siblings, 0 replies; 5+ messages in thread
From: John Jolet @ 2006-02-17 13:08 UTC (permalink / raw
  To: gentoo-user

Emerge ifplugd.  that's precisely what  my laptop does.

-----Original Message-----
    From: "Marco Calviani"<marco.calviani@gmail.com>
    Sent: 2/17/06 2:29:46 AM
    To: "gentoo-user@lists.gentoo.org"<gentoo-user@lists.gentoo.org>
    Subject: [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout
    
    Hi list,
       i would like to share a problem that i'm encountering in dealing
    with two net interfaces. I've a "normal" ethernet device (eth0) and a
    wireless ipw2200 one (eth1).
    
    1) i would like to have, at boot, a situation in which first of all
    eth0 is started; if dhcp signal is found proceed with the
    initialization of eth0, while if dhcp is not found try to start eth1.
    
    2) as of now, at boot time i've only eth0; obviously if it's not
    connected via ethernet cable the dhcp goes in timeout and net
    initialization is failed. Then at the prompt i reissue
    /etc/init.d/net.eth1 start to start wireless connection. However, and
    here's the problem, the first time i digit this, eth1 goes in timeout
    too. Digiting another time the same command and everythig goes well.
    This situation is encountered everytime.
    
    Thanks in advance for any hint,
    MC
    
    -- 
    gentoo-user@gentoo.org mailing list
    

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-17 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 13:08 [gentoo-user] net.eth0 and net.eth1 choice + net.eth1 timeout John Jolet
  -- strict thread matches above, loose matches on Subject: below --
2006-02-17  8:29 Marco Calviani
2006-02-17  8:46 ` Heinz Sporn
2006-02-17  9:04   ` Marco Calviani
2006-02-17  9:46   ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox