Return-Path: <linux-wlan-user-owner@www.bitstorm.net>
Received: from fort-point-station.mit.edu by po12.mit.edu (8.9.2/4.7) id WAA24971; Fri, 16 Mar 2001 22:08:44 -0500 (EST)
Received: from www.bitstorm.net (majordom@mail.bitstorm.net [216.230.38.4]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id WAA27649 for <chris@mit.edu>; Fri, 16 Mar 2001 22:08:34 -0500 (EST)
Received: (from majordom@localhost) by www.bitstorm.net (8.9.0/8.9.1) id VAA20468 for linux-wlan-user-outgoing; Fri, 16 Mar 2001 21:52:08 -0500 (EST)
Received: from chef.cc.absoval.com (cpe-66-1-218-98.fl.sprintbbd.net [66.1.218.98]) by www.bitstorm.net (8.9.0/8.9.1) with ESMTP id VAA20457 for <linux-wlan-user@absoval.com>; Fri, 16 Mar 2001 21:52:06 -0500 (EST)
Received: from localhost (IDENT:mark@localhost.localdomain [127.0.0.1]) by chef.cc.absoval.com (8.9.3/8.9.3) with ESMTP id VAA23433 for <linux-wlan-user@absoval.com>; Fri, 16 Mar 2001 21:58:09 -0500
Date: Fri, 16 Mar 2001 21:58:09 -0500 (EST)
From: "Mark S. Mathews" <mark@linux-wlan.com>
X-Sender: mark@chef.cc.absoval.com
To: "'linux-wlan-user@absoval.com'" <linux-wlan-user@absoval.com>
Subject: Re: [lwlan-user]: problems getting linux-wlan to work with dlink dwl-650
In-Reply-To: <D8FC432ED011D511B1D9001083FD45E70F339C@norcom2.norcom.net>
Message-ID: <Pine.LNX.4.21.0103162156420.23430-100000@chef.cc.absoval.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-wlan-user@nightsky.com
Precedence: bulk
Reply-To: linux-wlan-user@absoval.com
X-Evolution: 000000f9-0000

Don't use the "any" SSID.  I know some vendors support it, but I really
dislike it.  Find out what your SSID is and use it explicitly.

-M

On Fri, 16 Mar 2001, Chris Marshall wrote:

> I recently bought a dlink dwl-650 and have been trying to use it under linux
> with the linux-wlan-ng-0.1.7 package.
> 
> I am using slackware 7.0, kernel 2.2.14, on a dell laptop inspiron 3700,
> with pcmcia-cs-3.1.15.
> 
> The compile and install seemed to go fine.  Upon inserting the dlink card in
> a pcmcia slot, cat /proc/net/dev revealed the wlan0 device ready and
> waiting.
> 
> We have an access point in my office which I was able to use on my laptop
> with the dlink card under windows 98.  In the windows 98 config, the only
> parameter I set was the ssid for our network.  It worked on the first try.
> 
> Under linux, after inserting the card, ifconfig reports:
> 
> wlan0     Link encap:Ethernet  HWaddr 00:40:05:DE:CE:B4  
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           Interrupt:9 Base address:0x100 
> 
> In other words, no IP has been assigned.  My network administrator informs
> me that he has set up the access point to use dhcp, and that is how
> windows98 was able to get an IP without any assistance from me.  When I try 
> 
> dhcpcd wlan0
> 
> under linux, I get the following error in the syslog:
> 
> Mar 16 17:55:36 lapdell kernel: p80211knetdev_hard_start_xmit: Tx attempt
> prior to association, frame dropped.
> Mar 16 17:56:02 lapdell last message repeated 6 times
> 
> I am not sure where to go from here.
> 
> For the record, here are the contents of the syslog generated when I insert
> the card:
> 
> Mar 16 17:53:11 lapdell cardmgr[1103]: initializing socket 1
> Mar 16 17:53:11 lapdell cardmgr[1103]: socket 1: Intersil PRISM2 Reference
> Design 11Mb/s WLAN Card
> Mar 16 17:53:11 lapdell cardmgr[1103]: executing: 'modprobe prism2_cs'
> Mar 16 17:53:11 lapdell kernel: p80211.o: 0.1.7 Loaded
> Mar 16 17:53:11 lapdell kernel: init_module: prism2_cs.o: 0.1.7 Loaded
> Mar 16 17:53:11 lapdell kernel: init_module: dev_info is: prism2_cs
> Mar 16 17:53:11 lapdell cardmgr[1103]: executing: './wlan-ng start wlan0'
> Mar 16 17:53:11 lapdell kernel: prism2_cs: index 0x01: Vcc 3.3, irq 9, io
> 0x0100-0x013f
> Mar 16 17:53:11 lapdell kernel: ident: nic h/w: id=0x8008 1.0.1
> Mar 16 17:53:11 lapdell kernel: ident: pri f/w: id=0x15 0.3.0
> Mar 16 17:53:11 lapdell kernel: ident: sta f/w: id=0x1f 0.7.6
> Mar 16 17:53:11 lapdell kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
> Mar 16 17:53:11 lapdell kernel: CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1
> Mar 16 17:53:11 lapdell kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
> Mar 16 17:53:11 lapdell kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/4
> Mar 16 17:53:11 lapdell kernel:
> PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
> Mar 16 17:53:11 lapdell kernel:
> STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
> Mar 16 17:53:11 lapdell kernel:
> STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
> Mar 16 17:53:11 lapdell kernel: Prism2 card SN: 30 30 34 37 30 30 31 37 30
> 38 00 00 
> Mar 16 17:53:11 lapdell cardmgr[1103]: + message=dot11req_mibset
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   mibattribute=dot11DesiredSSID=any
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   resultcode=success
> Mar 16 17:53:11 lapdell cardmgr[1103]: + message=dot11req_associate
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   peerstaaddress=no_value
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   associatefailuretimeout=no_value
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   cfpollable=no_value
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   cfpollreq=no_value
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   privacy=no_value
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   listeninterval=0
> Mar 16 17:53:11 lapdell cardmgr[1103]: +   resultcode=success
> 
> Also, I have copied the contents of my wlan-ng.opts below.
> 
> Thanks in advance for any help!
> 
> Chris Marshall
> 
> #! /bin/sh 
> # Wireless LAN adapter configuration
> #
> # etc/pcmcia/wlan-ng.opts
> #
> # Copyright (C) 1999 AbsoluteValue Systems, Inc.  All Rights Reserved.
> # --------------------------------------------------------------------
> #
> # linux-wlan
> #
> #   The contents of this file are subject to the Mozilla Public
> #   License Version 1.1 (the "License"); you may not use this file
> #   except in compliance with the License. You may obtain a copy of
> #   the License at http://www.mozilla.org/MPL/
> #
> #   Software distributed under the License is distributed on an "AS
> #   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
> #   implied. See the License for the specific language governing
> #   rights and limitations under the License.
> #
> #   Alternatively, the contents of this file may be used under the
> #   terms of the GNU Public License version 2 (the "GPL"), in which
> #   case the provisions of the GPL are applicable instead of the
> #   above.  If you wish to allow the use of your version of this file
> #   only under the terms of the GPL and not to allow others to use
> #   your version of this file under the MPL, indicate your decision
> #   by deleting the provisions above and replace them with the notice
> #   and other provisions required by the GPL.  If you do not delete
> #   the provisions above, a recipient may use your version of this
> #   file under either the MPL or the GPL.
> #
> # --------------------------------------------------------------------
> #
> # Inquiries regarding the linux-wlan Open Source project can be
> # made directly to:
> #
> # AbsoluteValue Systems Inc.
> # info@linux-wlan.com
> # http://www.linux-wlan.com
> #
> # --------------------------------------------------------------------
> #
> # Portions of the development of this software were funded by 
> # Intersil Corporation as part of PRISM(R) chipset product development.
> #
> # --------------------------------------------------------------------
> #
> # The address format is "scheme,socket,instance,hwaddr".
> #
> # --------------------------------------------------------------------
> 
> case "$ADDRESS" in
> *,*,*,*)
>         #=======ENABLE========================================
>         # Do we want to enable the card at all?  Set to 'n' if you don't
>         # want the card initialized for normal operation.  Helpful for
>         # (re)loading flash or for test purposes.
>         WLAN_ENABLE=y
>         
>         #=======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="\
>         p2RoamingMode=2"
>         #p2MMTx=true \
>         #p2MMFixedLevel=2"
> 
>         #=======WEP===========================================
>         # [Dis/En]able WEP.  Settings only matter if PrivacyInvoked is true
>         dot11PrivacyInvoked=false       # true|false
>         dot11WEPDefaultKeyID=1          # 0|1|2|3
>         dot11ExcludeUnencrypted=true    # true|false, in AP this means WEP 
>                                         #  is required for all STAs
>         # Use the generator string to generate keys (just a convenience)
>         PRIV_GENERATOR=/sbin/nwepgen    # nwepgen, Neesus compatible
>         PRIV_GENSTR="12345"
>         # or set them explicitly.  Set genstr or keys, not both.
>         dot11WEPDefaultKey0=            # format: xx:xx:xx:xx:xx
>         dot11WEPDefaultKey1=            #  e.g.  01:20:03:40:05
>         dot11WEPDefaultKey2=
>         dot11WEPDefaultKey3=
> 
>         #=======STA START=====================================
>         # SSID is all we have for now
>         #dot11DesiredSSID="linux-wlan"
>         dot11DesiredSSID="any"
> 
>         #=======DOWNLOAD======================================
>         # Do we need to download code/data to the card?
>         WLAN_DOWNLOAD=n
>         WLAN_DOWNLOADER=/sbin/prism2dl
>         WLAN_DLIMAGE=/etc/pcmcia/t10002c5.hex
> 
>         #=======AP START======================================
>         # If IS_AP is 'y', then the following settings will be
>         # used in the creation of a BSS with this station acting
>         # as the AP.  If IS_AP is 'n', these settings are ignored.
>         IS_AP=n                         # y|n
>         IS_BRIDGE=n                     # Are we a bridging AP?
>         IS_OLDBRIDGE=n                  # Which kernel bridge code are we
> using?
>         APWIREDDEVICE=eth0              # Must be an ethernet device
>         APBRIDGEDEVICE=apbr0            # Bridge interface name
>         AP_IPADDR=192.168.200.150       # Bridge IP address (and only
> bridge)
>         APSSID="linux-wlan"             # SSID the AP will use, max 32 chars
>         APBCNINT=100                    # Beacon interval (in Kus)
>         APDTIMINT=3                     # DTIM interval (in beacons)
>         APCFPOLLABLE=false              # AP's CFP support (see table below)
>         APCFPOLLREQ=false               # AP's CFP support (see table below)
>         APCFPPERIOD=3                   # CFP period, if CFP enabled(in
> beacons)
>         APCFPMAXDURATION=100            # CFP max length (in Kus)
>         APPROBEDELAY=100                # Not currently used
>         APCHANNEL=6                     # DS channel for BSS (1-14, depends 
>                                         #   on regulatory domain)
>         APBASICRATES="2 4"              # Rates for mgmt&ctl frames (in
> 500Kb/s)
>         APOPRATES="2 4 11 22"           # Supported rates in BSS (in
> 500Kb/s)
> 
>                 # Table of CFPOLL* values:
>                 # CFPOLLABLE CFPOLLREQ  AP Behavior
>                 #----------------------------------------------------
>                 # false       false     No Point Coordinator (CFP) at AP
>                 # false       true      CFP for delivery only (no polling)
>                 # true        false     CFP delivery and polling
>                 # true        true      Reserved, do not use
>     ;;
> esac
> 
> -----------------------------------------------
> The Linux WLAN User's Mailing List
> For more information about this list see:
> http://www.absoval.com/linux-wlan/lists.html
> 

-- 

Mark S. Mathews

AbsoluteValue Systems      Web:    http://www.linux-wlan.com
P.O. Box 410670            e-mail: mark@linux-wlan.com
Melbourne, FL 32941-0670   Phone:  321.259.0737
USA                        Fax:    321.259.0286

-----------------------------------------------
The Linux WLAN User's Mailing List
For more information about this list see:
http://www.absoval.com/linux-wlan/lists.html
