Try putting a 'sleep 5' after the pcmcia start and dhcpcd--.

The pcmcia is probably just taking a long time, so that it
is still running after your piece runs.  If you just pause
in rc.custom after the pcmcia start, it should solve it.

-Tom

On Fri, 3 May 2002, Pete Scott wrote:

> Date: Fri, 3 May 2002 11:21:22 +0000
> From: Pete Scott <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [tomsrtbt] init HUP and static IP
>
> At 17:26 02/05/2002, you wrote:
>
> > > > ifconfig eth0 1234.1234.1234.1234 up
> > > > route add default eth0
> > > > route add default gw 2345.2345.2345.2345
> > >
> > > But where's best to put that. Before or after the call to dhcpcd-- in 
>rc.custom.gz?
>
> > As an 'else' to the 'if dhcpcd got an address, set it, else'.
>
> Did this but still got an address of 1.1.1.1.
>
> Discovered it worked fine on other machines that don't have a PCMCIA network cards.
>
> It seems that /etc/pcmcia/network is setting up the network and not rc.custom.gz I 
>suppose because there
> isn't a network interface at that point. I've looked at /etc/pcmcia/network and 
>can't see how/where the
> network interface gets setup up when dhcpcd-- doesn't set an address.
>
> Am I going to have to edit /etc/pcmcia/network and rebuild to get this to work on 
>PCMCIA networked
> laptops? Or is there another way?
>
> > Or as a new if, before this if, that sets it.  I should do this in the default...
>
> That would be cool.
>
> Thanks for your help.
>
> Pete
>
>

Reply via email to