Resolved: [ale] Q: Setting up alternate net interfaces in Slack
John Mills
johnmills at speakeasy.net
Wed Nov 26 17:23:33 EST 2003
Jonathan, Geoffrey, all -
Thanks for the help. I wanted to post the outcome.
On Mon, 17 Nov 2003, Jonathan Rickman wrote:
> 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...
Well, that works with one minor wart: my NIC card is actually a modem/NIC
'combo' with a slower modem than the original modem card (still in the
system). Now the 'combo' card' modem gets the older modem's '/dev/ttyS*'
link at boot, and I must remove the modem/NIC combo or change my
'/dev/modem' link to still use the faster modem. Since that card is _the_
interface card of an old W98 thinkpad, there remains a certain demented
logic to the process.
It works fine otherwise: I made up an 'inclusive' version of
'/etc/resolv.conf' that seems to function in all my usual networks.
(Naturally, I'm now looking for a cheap pcmcia NIC, if anyone has outgrown
such a beast - 10baseT OK. &8-)
Regards.
- John Mills
john.m.mills at alum.mit.edu
More information about the Ale
mailing list