[Linux-wlan-ng-devel] Bug#454684: Bug#454684: no WEP connection possible with prism2_usb

Marek Straka marek at straka.info
Sun Dec 9 16:38:21 UTC 2007


Of course I use Debian. I have copied the file /etc/wlan/wlancfg-DEFAULT to 
/etc/wlan/wlancfg-myessid and edited it for support of WEP:

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
#  of your choosing to this variable, separated by
#  whitespace.  The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
#  the way you want them.

#USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"

#=======WEP===========================================
# [Dis/En]able WEP.  Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=true     # true|false
lnxreq_hostWEPDecrypt=true     # true|false
dot11PrivacyInvoked=true        # true|false
dot11WEPDefaultKeyID=0          # 0|1|2|3
dot11ExcludeUnencrypted=true    # true|false, in AP this means WEP is required.

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
#  keys (just a convenience)
# add-ons/ in the tarball contains other key generators.
#PRIV_GENERATOR=/sbin/nwepgen   # nwepgen, Neesus compatible
#PRIV_KEY128=false              # keylength to generate
#PRIV_GENSTR=""

# or set them explicitly.  Set genstr or keys, not both.
dot11WEPDefaultKey0 = 37:4B:8D:D1:2F:6C:DC:57:B2:3A:DC:CE:B4  # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1=            #         xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2=            #  e.g.   01:20:03:40:05   or
dot11WEPDefaultKey3=            #         01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=n                      # y|n, y - adhoc, n - infrastructure

#======= INFRASTRUCTURE STATION  ===================
# What kind of authentication?
AuthType="opensystem"           # opensystem | sharedkey (requires WEP)

#======= ADHOC STATION ============================
BCNINT=100                      # Beacon interval (in Kus)
CHANNEL=6                       # DS channel for BSS (1-14, depends
                                 #   on regulatory domain)
BASICRATES="2 4"                # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22"             # Supported rates in BSS (in 500Kb/s)
--------------------------------------------------------------------------

After "wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable" I get always (after few seconds):
   ifstate=enable
   resultcode=implementation_failure

It need probably more testing. Also "wlanctl-ng commands" gives the overview of many additional 
parameters that are possible to setup on device.

Is the behaviour of this driver different on different brands of USB wlan sticks with the same Chipset?

Anyway, if there is someone who is able to setup WEP communication with this driver you can close 
this Bug.

Enrico Tassi wrote:
> On Fri, Dec 07, 2007 at 03:41:56AM +0100, Marek Straka wrote:
>> http://gentoo-wiki.com/HOWTO_Prism2_USB_on_Gentoo
>                                          ^^^^^^^^^^^^
> 
> You are running Debian, not gentoo.
> 
> Please, read /usr/share/doc/linux-wlan-ng/README.Debian.gz
> If you are using ifuodown edit /etc/network/interfaces accordingly.
> 
> No need to hack on the files in /etc/wlan/
> 
> Cheers






More information about the Linux-wlan-ng-devel mailing list