Hi 

On my Toshiba Portege 7140 laptop I have the following ethernet
interfaces: 
    A) Intel Etherpro 100 on the Base station 
    B) 3Com 10Mbps (PCMCIA wired) 
    C) SMC 2632W 11Mbps (PCMCIA wireless) 

Details (in /etc/sysconfig/network-scripts): 
    A) ifcfg.eth0       static     -  brought up at boot time 
    B) ifcfg.eth1       dhcp       -  NOT brought up at boot time 
    C) ifcfg.eth2       dhcp       -  NOT brought up at boot time 
       note: this one contains wireless extensions 


When I boot up the laptop (+base station) with no PCMCIA cards plugged
in the network is started (both lo and eth0 using ifcfg.eth0) then the
pcmcia stuff is started. 

If I plug in my wireless card (config C above in ifcfg.eth2) the cardmgr
decides to bring up the interface using config B in ifcfg.eth1... which
does no contain the wireless extension such as key, etc... 

If I unplug this wireless card then plug in the 3Com (wired) then the
cardmgr bring up the interface using config B in ifcfg.eth1 which is
fine. If then I insert my wireless card the cardmgr will pick up config
C using ifcfg.eth2 which is fine. 

Conclusion: the cardmgr always bring up the next available ethx (so it
seems) interface for the card being inserted which is not automatically
the right one... 

Is there a way to tell the cardmgr that ifcfg.eth1 is associated to my
3Com (wired) PCMCIA card and ifcfg.eth2 is associated to my SMC wireless
card? 


Having said that, can I safely download the latest pcmcia-cs
(pcmcia-cs-3.2.1.tar.gz) and the latest wlan-ng
(linux-wlan-ng-0.1.16-pre1.tar.gz), compile it and install it without
screwing the current Mandrake PCMCIA stuff? 
I'd like to do that for 2 main reasons: 
   - prism2_cs driver   (instead of using the wvlan_cs) 
   - keygen tool 


Also I can actually use the SMC 2632W wireless card with no WEP
encryption enabled. I have tried to supply a 26 digits key for WEP128
(same key setup in ifcfg.eth2 $WIRELESS_ENC_KEY and on my access point)
with no success... 


Last but not least, if I have eth0 up (the eepro100 on the base station)
and I insert one of the PCMCIA card then the default route will still go
through eth0 (the ifup scripts will keep the old route), so in order to
really switch to eth1 (or eth2) I have to bring down eth0 (that will
kill the current default route) then bring up the new interface to get a
new default route. 
Couldn't we have a parameter in the ifcfg- files that says "if this
interface is brought up it should be used for the default route" or
something similar? Or is there a way to do that in the current setup? 

Thanks 

/Fred 



Reply via email to