You are not logged in.

#1 2005-11-04 18:13:36

leviathan
Member
Registered: 2005-11-04
Posts: 26

bug in wireless scrip

I found a bug wireless script; around line 51

change:

if [ -n "$KEY" ]; then
    /usr/sbin/iwconfig $INTERFACE key $KEY
  fi

with:

if [ -n "$KEY" ]; then
    /usr/sbin/iwconfig $INTERFACE key s:$KEY enc open
  fi

Now it work fine on my d-link DWL-G650+ (ndiswrapper)





(Sorry for my english but I'm Italian 8) )


My portal: www.reboots.net - Developer of ZippHO: www.zippho.org

Offline

#2 2005-11-04 18:35:17

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bug in wireless scrip

Please submit a bug report: http://bugs.archlinux.org/

Offline

#3 2005-11-04 23:43:37

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: bug in wireless scrip

I don't think this is a bug
Those settings won't work on everyone's system, but if you set your KEY to the proper values, it will work fine.

So instead of:

KEY="0123456789"

use

KEY="s:0123456789 enc open"

Offline

#4 2005-11-05 04:57:56

medicated
Member
From: Storm Lake, IA
Registered: 2005-03-11
Posts: 79

Re: bug in wireless scrip

I agree.  It should be part of the key string.  Otherwise, it will mess things up for uesrs who don't supply a plain-text key.

Offline

Board footer

Powered by FluxBB