[linux] Fw: p80211knetdev_hard_start_xmit: Tx attempt prior to association, frame dropped.

Miro Betak betak na orga.sk
Čtvrtek Květen 23 10:13:56 CEST 2002


 
Ahojte 


Pokusam sa rochodit  wireless kartu NWH 630 pod RedHat linuxom 7.2,
jadro 2.4.7-10, ovladace linux-wlan-ng-0.1.8-pre13-ndc-v4

Ovladace sa natiahnu v pohode - 

vypis z lsmod :
 
Module                  Size  Used by
8139too                12640   1 
prism2_plx             46592   1  (autoclean)
p80211                  9936   1  (autoclean) [prism2_plx]
ext3                   61936   1 
jbd                    38976   1  [ext3]
 
vypis z messages:

 
 
EXT3 FS 2.4-0.9.8, 25 Aug 2001 on ide0(3,2), internal journal
p80211.o: 0.1.8-pre12 Loaded
init_module: prism2_pci.o: 0.1.8-pre12 Loaded
init_module: dev_info is: prism2_pci

Found National Datacomm Corp PCI card(ASIC) at PCI address 0x6600, mapped IRQ 10.

...
A Prism2 PCI device found, mem:0x6600, irq:10, io addr:0x6600
ident: nic h/w: id=0x8003 1.0.0
ident: pri f/w: id=0x15 0.3.0
ident: sta f/w: id=0x1f 0.7.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/4
PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 000000003841
8139too Fast Ethernet driver 0.9.18a
....
 
ifconfig wlan0:
 
wlan0     Link encap:Ethernet  HWaddr 00:80:C6:E3:24:9A  
          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:86 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:5903 (5.7 Kb)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x6600 

 
Ked sa vsak pokusim pingnut access point, dostanem chybovu hlasku:
 
p80211knetdev_hard_start_xmit: Tx attempt prior to association, frame dropped.
 
 
Zaujimavy je vystup z wlancfg show wlan0:

dot11StationID=00:80:c6:e3:24:9a
dot11PowerManagementMode=active
dot11DesiredSSID=
dot11DesiredBSSType="argument_item_data_is_invalid"
dot11OperationalRateSet=02:04
dot11AuthenticationAlgorithmsEnable1=true
dot11AuthenticationAlgorithmsEnable2=false
dot11PrivacyInvoked=false
dot11WEPDefaultKeyID=0
dot11ExcludeUnencrypted=false
dot11RTSThreshold=2432
dot11FragmentationThreshold=2346
dot11Address1=00:00:00:00:00:00
dot11Address2=00:00:00:00:00:00
dot11Address3=00:00:00:00:00:00
dot11Address4=00:00:00:00:00:00
dot11Address5=00:00:00:00:00:00
dot11Address6=00:00:00:00:00:00
dot11Address7=00:00:00:00:00:00
dot11Address8=00:00:00:00:00:00
dot11Address9=00:00:00:00:00:00
dot11Address10=00:00:00:00:00:00
dot11Address11=00:00:00:00:00:00
dot11Address12=00:00:00:00:00:00
dot11Address13=00:00:00:00:00:00
dot11Address14=00:00:00:00:00:00
dot11Address15=00:00:00:00:00:00
dot11Address16=00:00:00:00:00:00
dot11Address17=00:00:00:00:00:00
dot11Address18=00:00:00:00:00:00
dot11Address19=00:00:00:00:00:00
dot11Address20=00:00:00:00:00:00
dot11Address21=00:00:00:00:00:00
dot11Address22=00:00:00:00:00:00
dot11Address23=00:00:00:00:00:00
dot11Address24=00:00:00:00:00:00
dot11Address25=00:00:00:00:00:00
dot11Address26=00:00:00:00:00:00
dot11Address27=00:00:00:00:00:00
dot11Address28=00:00:00:00:00:00
dot11Address29=00:00:00:00:00:00
dot11Address30=00:00:00:00:00:00
dot11Address31=00:00:00:00:00:00
dot11Address32=00:00:00:00:00:00
p2MMTx=false
p2Comment=
p2LogEvents=false
p2CnfPortType=1
p2CnfOwnMACAddress=00:80:c6:e3:24:9a
p2CnfDesiredSSID=
p2CnfOwnChannel=6
p2CnfOwnSSID=
p2CnfOwnATIMWindow=0
p2CnfSystemScale=1
p2CnfMaxDataLength=2312
p2CnfWDSAddress=00:00:00:00:00:00
p2CnfPMEnabled=false
p2CnfPMEPS=true
p2CnfMulticastReceive=true
p2CnfMaxSleepDuration=100
p2CnfPMHoldoverDuration=100
p2CnfOwnName=
p2CnfWEPDefaultKeyID=0
p2CnfWEPFlags=
p2CnfAuthentication=0
p2CnfTxControl=512
p2CnfRoamingMode=1
p2CnfRcvCrcError=
p2CnfMMLife=65000
p2CnfAltRetryCount=7
p2CnfSTAPCFInfo=1
p2CnfShortPreamble=false
p2CnfBasicRates=0,1
p2CnfSupportedRates=0,1,2,3
p2CreateIBSS=false
p2FragmentationThreshold=2346
p2RTSThreshold=2432
p2TxRateControl=0,1
p2PromiscuousMode=false
p2TickTime=10

Neviem , preco ma polozka dot11DesiredBSSType="argument_item_data_is_invalid   takyto argument 

nemal by tam byt prave mod add hoc alebo ifrastructure ?

prikladam konfigurak wlan-ng.opts:
 
 #! /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 na 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=0  # 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_KEY128=false               # keylength to generate
        PRIV_GENSTR=""

 # or set them explicitly.  Set genstr or keys, not both.
 dot11WEPDefaultKey0=11:11:11:11:11  # format: xx:xx:xx:xx:xx
        #dot11WEPDefaultKey0=11:11:11:11:11:11:11:11:11:11:22:22:22
 dot11WEPDefaultKey1=11:11:11:11:11  #  e.g.  01:20:03:40:05
 dot11WEPDefaultKey2=11:11:11:11:11
 dot11WEPDefaultKey3=11:11:11:11:11

 #=======STA START=====================================
 # SSID is all we have for now
        AuthType="opensystem"           # opensystem | sharedkey (requires WEP)
 DesiredSSID="Wireless"  # "any" or "ANY" means any SSID
        dot11OwnChannel=6
        dot11FragmentationThreshold=2346
        dot11RTSThreshold=2432

        dot11PowerManagementMode=active   #powersave,active

        BASICRATES="2 4"        # Rates for mgmt&ctl frames (in 500Kb/s)
 SUPPRATES="2 4 11 22" # Supported rates in IBSS (in 500Kb/s) 

  # for IBSS mode 
 IBSS_MODE=false   # true|false
        IBSS_BCNINT=100                 # Beacon interval (in Kus)
        IBSS_DTIMINT=3                  # DTIM interval (in beacons)

 #=======DOWNLOAD======================================
 # Do we need to download code/data to the card?
 WLAN_DOWNLOAD=n
 WLAN_DOWNLOADER=/sbin/prism2dl
 WLAN_DLIMAGE=/etc/wlan_pci/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=y   # Are we a bridging AP?
 IS_OLDBRIDGE=y   # 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="Wireless"  # 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



Dakujem za radu

                Miro


 
------------- další část ---------------
HTML příloha byla odstraněna...
URL: http://lists.linux.sk/pipermail/linux/attachments/20020523/0829d669/attachment.html 


Další informace o konferenci linux