[ale] Q: Setting up alternate net interfaces in Slack

Jonathan Rickman jonathan at xcorps.net
Mon Nov 17 12:48:27 EST 2003


On Sunday 16 November 2003 18:30, John Mills wrote:

> The laptop also has a pcmcia network card and I want to use it for
> network interface when I have ethernet available, but still have PPP to
> use when I need it. It would be fine if I have to start 'eth0' with a
> script, it might be handy if I could specifically choose DHCP or static
> addressing.

Run netconfig to set up your most used configuration then...

cp /etc/rc.d/rc.inet1 /etc/rc.d/rc.inetmod1 

(just don't use the filename inet2, because it is already taken)

edit /etc/rc.d/rc.inetmod1 to suit

/etc/rc.d/rc.inet1 stop

/etc/rc.d/rc.inetmod1 start

rinse, repeat...



-- 
Jonathan Rickman
Key ID: 0DF501FF




More information about the Ale mailing list