<quote who="James Gray">

> The problem I'm having is that my docking station has it's own network
> card.  When the lappy is docked, I want the Xircom PCMCIA adapter down and
> the docking station's 3Com NIC doing the DHCP thing.  Then I need the
> situation reversed when un-docked.  It would be handy to change the
> resolv.conf file too based on which NIC is being used :)
> 
> Are there any scripts/packages around to handle this situation?  Or am I
> going to have to hand-crank them myself??

Are you using Debian? This'll be useful to someone anyway:

/etc/network/interfaces has a mapping directive, which allows you to use
different profiles for the same interface. It is particularly useful for
swapping between dhcp/static, home/work, etc. Easiest place to read about it
is man 5 interfaces.

- Jeff

-- 
Get Informed: SCO vs. IBM                            http://sco.iwethey.org/
 
                    Mangoes are nature's edible orgasm.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to