[wplug] two nics
Ryan W. Frenz
rfrenz at andrew.cmu.edu
Tue Mar 16 15:09:28 EST 2004
The wired card is a Linksys using pcnet_cs, and the wireless is a Belkin
using the atmel_cs module included in 2.6.
Yes, I'm running the gentoo pcmcia-cs package and updated hotplug.
I was fairly certain there was a way you could just tell the system how
to configure the card based on MAC address (regardless of interface),
using /etc/pcmcia/network.opts and specifying a configuration for each
HW addr -- but I can't get it to work either. I'm new to gentoo so it's
probably some other config file I'm overlooking.
Ryan
Jonathan S Billings wrote:
>On Tue, 2004-03-16 at 14:10, Ryan W. Frenz wrote:
>
>
>>I have two NICs for my laptop, running Gentoo. I'm trying to set it up
>>such that I can use any combination of one or both without confusing the
>>system. I want the regular NIC to be eth0, configured statically, and
>>the wireless to be eth1, configured with dhcp. If I boot with only one
>>card inserted, the system tries to configure it as eth0 (statically) no
>>matter which it is. Is there any way to specify which card belongs to
>>which interface? I thought that modules.conf took care of this but I
>>guess not.
>>
>>
>>
>
>The problem is that ethernet devices are numbered by the order in which
>they appear to the system, the order in which the device drivers are
>loaded. Since both are PCMCIA devices (I assume) then their name, eth0
>or eth1, will be determined by the order in which you plug them in, and
>the appropriate device is loaded.
>
>With some wireless cards, you can supply a module parameter that will
>tell it to use a name other than 'eth', such as 'wvlan'. What kind of
>PCMCIA cards are you using? Are you using gentoo's pcmcia-cs package?
>
>
>
More information about the wplug
mailing list