MA111, pre26, FC4, p80211knetdev_hard_start_xmit: Tx attempt prior to association

Jean-Francois Dupuis <[email protected]>
Newsgroups gmane.linux.linux-wlan.user
Message-ID <1119019184.3021.2.camel@panda>
Hi,

I'm trying to install my MA111 USB device on linux FC3 without any
success. Since FC4 has just been release, I decided to make a brand new
fresh installation of FC4 to see if things will be better. Has you
reading this mail, you probably know that it was not !

This MA111 was working gracefully on FC1. Since I upgraded to FC3, I was
unable to make it working.

With kismet, I was able to receive datas from different bases (I tried
this on FC3, not on FC4). However, all transmitted datas were dropped.
When observing /var/log/messages, the error message related to this is :

kernel: p80211knetdev_hard_start_xmit: Tx attempt prior to association,
frame dropped.

I search the archive without any success, can someone help me with
this ? Is there any body who successfully installed a MA111 on FC3 or
FC4 ?

Ultimatly, I want to use it in ad-hoc mode. When I tried, same things
appended.


Here is some infos :

The device is currently working on :
        FC1 2.4.22-1.2188.npt i686 with linux-wlan-ng-0.2.1pre21

My system now is :
- 2.6.11-1.1369_FC4 i686 (also tried on 2.6.11-1.27_FC3smp i686)
- linux-wlan-ng-0.2.1-pre26

-> Plug in the device :

/var/log/message :

Jun 15 22:28:31 panda kernel: usb 6-2: new full speed USB device using
ohci_hcd and address 2
Jun 15 22:28:32 panda kernel: prism2usb_init: prism2_usb.o: 0.2.1-pre26
Loaded
Jun 15 22:28:32 panda kernel: prism2usb_init: dev_info is: prism2_usb
Jun 15 22:28:32 panda kernel: usbcore: registered new driver prism2_usb
Jun 15 22:28:32 panda wland[2961]: wland daemon init successful
Jun 15 22:28:32 panda wland[2961]: netlink socket opened and bound
successfully
Jun 15 22:28:33 panda modprobe: FATAL: Module wlan0 not found.
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e2ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e3ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e4ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e5ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e6ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e7ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e8ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7e9ffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7eaffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7ebffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7ecffe
Jun 15 22:28:33 panda kernel: Writing 4096 bytes to ram @0x7edffe
Jun 15 22:28:33 panda kernel: Writing 3010 bytes to ram @0x7eeffe
Jun 15 22:28:33 panda kernel: Writing 416 bytes to ram @0x7efc20
Jun 15 22:28:33 panda kernel: Writing 16 bytes to ram @0x7efdd0
Jun 15 22:28:33 panda kernel: Writing 4044 bytes to ram @0x7f0800
Jun 15 22:28:33 panda kernel: Writing 3288 bytes to ram @0x7fe000
Jun 15 22:28:33 panda kernel: ident: nic h/w: id=0x8026 1.0.0
Jun 15 22:28:33 panda kernel: ident: pri f/w: id=0x15 1.1.3
Jun 15 22:28:33 panda kernel: ident: sta f/w: id=0x1f 1.8.3
Jun 15 22:28:33 panda kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Jun 15 22:28:33 panda kernel: CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
Jun 15 22:28:33 panda kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
Jun 15 22:28:33 panda kernel:
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/15
Jun 15 22:28:33 panda kernel:
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Jun 15 22:28:33 panda kernel:
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Jun 15 22:28:33 panda kernel:
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Jun 15 22:28:33 panda kernel: Prism2 card SN: \x00\x00\x00\x00\x00\x00
\x00\x00\x00\x00\x00\x00
Jun 15 22:28:38 panda wlan.agent[2953]: WLAN wlan0 brought up
successfully.
Jun 15 22:28:38 panda wlan.agent[2953]: WLAN bringing up layer 3+
with /sbin/ifup

-> LED is flashing


lsmod :

prism2_usb             78212  0
p80211                 32912  1 prism2_usb


/proc/bus/usb/devices :

T:  Bus=06 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0846 ProdID=4110 Rev= 1.32
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=prism2_usb
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=1ms


-> Executing these commands :

# modprobe prism2_usb prism2_doreset=1
# wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
message=lnxreq_ifstate
  ifstate=enable
  resultcode=success
# wlanctl-ng wlan0 lnxreq_autojoin ssid=MA111 authtype=opensystem
message=lnxreq_autojoin
  ssid='MA111'
  authtype=opensystem
  resultcode=success
# ifconfig wlan0 192.168.1.1
# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:09:5B:B5:33:CA
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::209:5bff:feb5:33ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



/var/log/messages :

Jun 15 22:35:52 panda kernel: p80211knetdev_hard_start_xmit: Tx attempt
prior to association, frame dropped.

-> LED is still flashing



/etc/wlan/wlan.conf :

# The WLAN_DEVICES variable identifies the device names of each WLAN
device.
# If you have more than one, make sure each one is identified in a
whitespace
# separated list that's assigned to WLAN_DEVICES.

WLAN_DEVICES="wlan0"

# Below is the list of channels to scan, when we scan.
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
# Below is the min and max time we linger on a channel during a scan.
ChannelMinTime=200
ChannelMaxTime=250
# And here we have the master scan toggle.
WLAN_SCAN=n

##########
# Note:  To bind to a specific network, change the SSID to something
different
#        and create the file /etc/wlan/wlancfg-<SSID> with your network-
#        specific settings.  If this file is not present, the settings
in
#        /etc/wlancfg/wlancfg-DEFAULT are used.
#
# for example:
#    SSID_wlan0="linux-wlan"
# This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be
present.
#
# Use a SSID of "" to associate with any network in range.
#########

SSID_wlan0="MA111"
ENABLE_wlan0=y
#SSID_wlan1=""
#ENABLE_wlan1=n
#SSID_wlan2=""
#ENABLE_wlan2=n


/etc/wlancfg-MA111 :

#=======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=false     # true|false
lnxreq_hostWEPDecrypt=false     # true|false
dot11PrivacyInvoked=false       # 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=            # 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)



Thanks,

Jean-Francois Dupuis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.