Re: When laptop is docked, eth0 moves from pcmcia to docking

Alan Cox (alan@lxorguk.ukuu.org.uk)
05 Nov 2002 18:18:57 +0000


On Tue, 2002-11-05 at 17:17, Buddy Lumpkin wrote:
> I have a laptop with a 3com PCMCIA NIC and a 3com NIC built into a
> docking station. When I dock my laptop, eth0 becomes the docking station
> NIC. I just want to know where to look to be able to control which
> device becomes which device. Im used to Solaris where a path_to_inst
> file correlates a device path to an instance number and device links are
> made accordingly. Does Linux have a similar capability?

You can ask for the MAC or PCI address of an interface, and you can
rename interfaces if you wish. The Red Hat 8.0 scripts are one example
that supports this

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/