On Fri, 2004-07-16 at 14:17, Kevin Saenz wrote:
> I think the problem is accepting strings, and I couldn't be stuffed 
> getting it to work.


My setup is:

  /etc/modprobe.conf
    alias eth1 ndiswrapper
    options ndiswrapper if_name=eth1

So setting the key manually would be:

  # iwconfig eth1 key "s:abcdefg"
  # iwconfig eth1 essid "aarnet"

I had more hassle with Fedora wanting names in the "eth[0-9]+" format
than anything else. The ndiswrapper driver uses setting the ESSID as a
commit point (as do a lot of wireless drivers), so you might need to
re-establish the ESSID for the changed WEP key to take effect.

I'm not sure if Mandrake uses the Red Hat sytle configuration. I have:

  /etc/sysconfig/network-scripts/ifcfg-eth1
    ONBOOT=no
    USERCTL=yes
    PEERDNS=yes
    TYPE=Wireless
    DEVICE=eth1
    HWADDR=00:11:22:33:44:55
    BOOTPROTO=dhcp
    ESSID=aarnet
    MODE=Managed
    IPV6INIT=no

  /etc/sysconfig/network-scripts/keys-eth1
    KEY=s:abcdefg

Although in reality I use a long random binary key so that the already
too small effective WEP keyspace isn't further reduced.

Setting the ESSID to something obvious is a good idea (eg: your street
address). Then there's no question about intent if someone attaches to
the network.

-- 
Glen Turner         Tel: (08) 8303 3936 or +61 8 8303 3936
Australian Academic & Research Network   www.aarnet.edu.au

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to