Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-16 Thread Lenny Cartier

On Tue, Oct 15, 2002 at 09:57:07PM +0100, Frederic Soulier wrote:
> > You don't need a different version of pcmcis-cs -- the prism2_cs
> > driver from wlan-ng is included in the Mandrake kernel packages as of
> > 9.0. You do need the configuration utilities from wlan-ng, which are
> > not included. I have packaged them here:
> > 
> > http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.i586.rpm
> > http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.src.rpm

Now included.

Thanks

lenny




Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-16 Thread Guillaume Cottenceau

Frederic Soulier <[EMAIL PROTECTED]> writes:

[...]

> Well, It seems the "Track network card id" is an elusive option to say
> the least and I do not think it actually works at all!
> Can any good cook out there prove me wrong?

From: dams <[EMAIL PROTECTED]>
Subject: Re: [Frederic Soulier <[EMAIL PROTECTED]>] Re: [Cooker] LM9.0: 
PCMCIA network cards & WEP
To: Guillaume Cottenceau <[EMAIL PROTECTED]>
Date: Wed Oct 16 12:46:40 2002 +0200

[...]

This option (accessible in drakconnect in expert mode) enable the track system
from redhat.

history :
We wanted to develop an system to associate the correct ifcfg-ethx to
the correct interface.

The pb :
let say you have a laptop with one pcmcia card : card_home.
at home, you start your laptop, your network, and card_home is interfaced to eth0.
perfect. At work, you plug your laptop on its station, that has a additional
network card, that we call card_work. You start your laptop, and the card_work
is interfaced to eth0, and card_home to eth1.

The pb is that the ifcfg-eth0 reflects the config of card_home, and is linked
to card_work.

Solution :
have a program called after the cards has been interfaced, and before the
network has been started. It will check the module and the mach address of the
interfaces (ethx). And it will swap the configuration so that they reflect the
correct interfaces. To do that, you have to add the module and the mach address
in the ifcfg-ethx files. That what the option does.

This solution was planed, but were never coded (afaik) at mandrakesoft. It
seems that redhat introduced the same thing, and we included it in the network
configuration. However, I never looked at this, nor tested it.

--
dams


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/




Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-16 Thread Frederic Soulier

On Tue, 2002-10-15 at 22:10, Adam Williamson wrote:
> On Tue, 2002-10-15 at 08:20, Frederic Soulier wrote:
> > Hi
> > 
> > I've 3 ennoying issues on my laptop:
> > 
> > 1) The possibility to associate an interface (ethx) to a PCMCIA card
> > does not seem to exist. I've been trying to find info on the "Track
> > network card id" option you get during install without success.
> > If such an option exist, how can it be activated?
> 
> If anyone knows, please tell me too :)

Well, It seems the "Track network card id" is an elusive option to say
the least and I do not think it actually works at all!
Can any good cook out there prove me wrong?

Luckily, since the config pbms I had with my wireless network card have
been fixed it sort of fixed this pbm as well.
Basically, I now have eth1 for my 3Com ethernet (wired) PCMCIA card and
wlan0 (instead of eth2) for my SMC 2632W wireless PCMCIA card.
Thanks to the wlan-ng utilities I installed, when I insert the 3Com card
it uses eth1 and when I insert the SMC card it picks up wlan0 (and it
all works whatever the order I insert the cards).

The only ennoyance is that it's always the old default route which is
kept so you may still have to ifdown ethx then ifup ethy to get the
default route you want (example, when you are using your wired network
and want to switch to your wireless network, the default route will
still use your wired ethx... not good)
(or you can hack the /etc/sysconfig/network to do something else for the
default route).
That's an area that needs improvement to make it seamless to
insert/remove PCMCIA network cards without the need to drop down to the
console and apply some magic :)

  
> > 2) I've got a SMC 2632W Wireless card which works fine without
> > encryption. Activating 128bits WEP is a no-go.
> > Has anybody had success using WEP with this card?
> 
> Don't have that card, but what driver are you using? You need prism2_cs
> or orinoco_cs for 128-bit WEP, nothing else will work. With Orinoco, use
> iwconfig to set the key, or add a line like this to
> /etc/sysconfig/network-scripts/ifcfg-ethX:
> 
> WIRELESS_ENC_KEY=""
> 
> As a hex string with no spacing.
> 
> > 3) What is the status for wlan-ng (prism2 stuff) and LM9.0?
> > Can wlan-ng be installed alongside LM9.0 and a normal distribution of
> > pcmcia-cs?
> 
> A fairly recent (though not current) set of wlan-ng drivers is actually
> included in 9.0. The support software, though, isn't. Someone has
> packaged the necessary utils and posted the location to this list
> before. Search the archives. Then you need to do a bit of fiddling
> around to make everything work, since the wlan-ng drivers use wlanX
> while everything else uses ethX.

Yep Aaron posted a message with the location of the prims2 utilities he
packaged himself. I tried it and it all worked fine incl. WEP128.
I also replied on both cooker and expert lists.

Here are the location of the RPMs again
(note: in mozilla I have the plugin rpnp.so which takes care of
RealPlayer Plugin Metafile (*.rpm) and I couldn't download those rpm
files...)

http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.i586.rpm
http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.src.rpm

/Fred





Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-15 Thread Adam Williamson

On Tue, 2002-10-15 at 08:20, Frederic Soulier wrote:
> Hi
> 
> I've 3 ennoying issues on my laptop:
> 
> 1) The possibility to associate an interface (ethx) to a PCMCIA card
> does not seem to exist. I've been trying to find info on the "Track
> network card id" option you get during install without success.
> If such an option exist, how can it be activated?

If anyone knows, please tell me too :)
 
> 2) I've got a SMC 2632W Wireless card which works fine without
> encryption. Activating 128bits WEP is a no-go.
> Has anybody had success using WEP with this card?

Don't have that card, but what driver are you using? You need prism2_cs
or orinoco_cs for 128-bit WEP, nothing else will work. With Orinoco, use
iwconfig to set the key, or add a line like this to
/etc/sysconfig/network-scripts/ifcfg-ethX:

WIRELESS_ENC_KEY=""

As a hex string with no spacing.

> 3) What is the status for wlan-ng (prism2 stuff) and LM9.0?
> Can wlan-ng be installed alongside LM9.0 and a normal distribution of
> pcmcia-cs?

A fairly recent (though not current) set of wlan-ng drivers is actually
included in 9.0. The support software, though, isn't. Someone has
packaged the necessary utils and posted the location to this list
before. Search the archives. Then you need to do a bit of fiddling
around to make everything work, since the wlan-ng drivers use wlanX
while everything else uses ethX.
-- 
adamw





Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-15 Thread Frederic Soulier

On Tue, 2002-10-15 at 13:29, Aaron Peromsik wrote:
> 
> Frederic Soulier wrote:
> FS> 3) What is the status for wlan-ng (prism2 stuff) and LM9.0?
> FS> Can wlan-ng be installed alongside LM9.0 and a normal distribution of
> FS> pcmcia-cs?
> 
> You don't need a different version of pcmcis-cs -- the prism2_cs
> driver from wlan-ng is included in the Mandrake kernel packages as of
> 9.0. You do need the configuration utilities from wlan-ng, which are
> not included. I have packaged them here:
> 
> http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.i586.rpm
> http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.src.rpm

Great! Thanks.


> [The second is the source RPM, included as a subtle hint to the cooker
> developers-- you don't need it.] 
> 
> To use the driver with PCMCIA cards:
> (1) install prism2-utils
> (2) edit /etc/pcmcia/wlan-ng.opts with your network settings,
> (3) make sure you have an /etc/sysconfig/network-scripts/ifcfg-wlan0
> (probably you already have ifcfg-eth0 to use as a guide).
> (4) Then, "service pcmcia restart" and you should be in business.

Yep it's all great now including WEP128 :)
Now it's time to setup IPSEC, so more fun in sight ;)

Hope the good folks at mandrake take note of all the wireless stuff and
will make it available for for 9.1 :)


> By the way, plx-based PCI cards work too, with a similar procedure:
> (1) install prism2-utils,
> (2) edit /etc/wlan.conf with your network settings,
> (3) make sure you have an /etc/sysconfig/network-scripts/ifcfg-wlan0
> (probably you already have ifcfg-eth0 to use as a guide).
> (4) add one line to /etc/modules.conf:
> "alias wlan0 prism2_plx"(4) "chkconfig --add wlan".
> (5) start the driver. The easiest way would be to reboot, but you
> could instead make sure any other driver (like orinoco_plx) is unloaded
> first, and then run "service wlan start; service network restart".

Can't try this one.

/Fred





Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-15 Thread Aaron Peromsik


Frederic Soulier wrote:
FS> 3) What is the status for wlan-ng (prism2 stuff) and LM9.0?
FS> Can wlan-ng be installed alongside LM9.0 and a normal distribution of
FS> pcmcia-cs?

You don't need a different version of pcmcis-cs -- the prism2_cs
driver from wlan-ng is included in the Mandrake kernel packages as of
9.0. You do need the configuration utilities from wlan-ng, which are
not included. I have packaged them here:

http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.i586.rpm
http://users.erols.com/peromsik/prism2-utils-0.1.14-1mdk.src.rpm

[The second is the source RPM, included as a subtle hint to the cooker
developers-- you don't need it.] 

To use the driver with PCMCIA cards:
(1) install prism2-utils
(2) edit /etc/pcmcia/wlan-ng.opts with your network settings,
(3) make sure you have an /etc/sysconfig/network-scripts/ifcfg-wlan0
(probably you already have ifcfg-eth0 to use as a guide).
(4) Then, "service pcmcia restart" and you should be in business.

By the way, plx-based PCI cards work too, with a similar procedure:
(1) install prism2-utils,
(2) edit /etc/wlan.conf with your network settings,
(3) make sure you have an /etc/sysconfig/network-scripts/ifcfg-wlan0
(probably you already have ifcfg-eth0 to use as a guide).
(4) add one line to /etc/modules.conf:
"alias wlan0 prism2_plx"(4) "chkconfig --add wlan".
(5) start the driver. The easiest way would be to reboot, but you
could instead make sure any other driver (like orinoco_plx) is unloaded
first, and then run "service wlan start; service network restart".

-- 
Aaron Peromsik <[EMAIL PROTECTED]> [For thinner oatmeal, add more water.] 




Re: [Cooker] LM9.0: PCMCIA network cards & WEP

2002-10-15 Thread J. Greenlees



Frederic Soulier wrote:
> Hi
> 
> I've 3 ennoying issues on my laptop:
> 
> 1) The possibility to associate an interface (ethx) to a PCMCIA card
> does not seem to exist. I've been trying to find info on the "Track
> network card id" option you get during install without success.
> If such an option exist, how can it be activated?
> 
> 2) I've got a SMC 2632W Wireless card which works fine without
> encryption. Activating 128bits WEP is a no-go.
> Has anybody had success using WEP with this card?
> 
> 3) What is the status for wlan-ng (prism2 stuff) and LM9.0?
> Can wlan-ng be installed alongside LM9.0 and a normal distribution of
> pcmcia-cs?
> 
> 
> Thanks.
> 
> /Fred
> 
been trying to trace down the differences in my laptop and my tower 
since the track network card id is enabled, can't find a single 
difference in any configuration or log file that can trace back to that.

~grumbling~
I really hate working my way through every single file looking for one 
little bit of code.

Jaqui