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