[Date
Prev][Date
Next][Thread
Prev][Thread
Next][Date
Index][Thread
Index]
[lwlan-user]: Tx attempt prior to association problems with DWL-500
When I attempt to access the wireless network I get:
kernel: p80211knetdev_hard_start_xmit: Tx attempt prior to association,
frame dropped.
over and over and no data ever goes across. The light on the card blinks
fairly rapidly, which is what it does under Windows when I misspell the
SSID.
It works just fine under Windows using either of my access points.
I have a D-Link DWL-500 wireless PCI adapter, really a DWL-650 cardbus
card in a Ricoh RL5C475 cardbus-PCI adapter attempting to talk to either
an Apple Airport Basestation or SMC 7004WBR wireless barricade router in
an Intel CA810E motherboard based system. I have RedHat 6.2, updated to
kernel 2.2.16-3. I installed pcmcia-cs-3.1.24 and then
linux-wlan-ng-0.1.7.
I checked most of the errors I saw in the mailing list archive, the SSID
is correct, or at least looks correct. The card works under Windows. The
cardbus adapter is getting an IRQ assigned to the card. The IP address
settings look reasonable.
Part of the problem is that there doesn't seem to be any way to debug
what is happening. I can't find any way to get it to tell me if it
scanned for an access point on each channel or what happened when it did.
The Windows control panel shows signal strength, data rate, what channel
is currently being scanned, and the ID of the access point when found.
There doesn't seem to be anything equivalent for wlan-ng.
Any idea what I could try next?
Jason
Details
-------
I changed
device "prism2_cs"
class "wlan-ng" module "prism2_cs"
to:
device "prism2_cs"
class "wlan-ng" module "prism2sta_cs"
in wlan-ng.conf because I was getting module load errors with "prism2_cs"
being a symbolic link in the modules directory.
The only change I made in wlan-ng.opts was to set
dot11DesiredSSID="cable"
"cable" is the name of my SSID, at least that is what the access point
says and what I enter into the Windows panel to get Windows to work. The
access point is on channel 6, but I didn't see anywhere to set that.
This is what shows up in the log when I startup pcmcia services:
kernel: Intel PCIC probe:
kernel: Ricoh RL5C475 rev 80 PCI-to-CardBus at slot 01:09, mem
0x68000000
kernel: host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1][no pci irq]
[lat 168/176] [bus 32/34]
kernel: ISA irqs (default) = 5 polling interval = 1000 ms
cardmgr[2361]: starting, version is 3.1.24
cardmgr[2361]: watching 1 sockets
kernel: cs: IO port probe 0x1000-0x17ff: clean.
kernel: cs: IO port probe 0x0100-0x04ff: clean.
kernel: cs: IO port probe 0x0a00-0x0aff: clean.
cardmgr[2361]: initializing socket 0
kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
cardmgr[2361]: socket 0: Intersil PRISM2 Reference Design 11Mb/s WLAN Card
cardmgr[2361]: executing: 'modprobe prism2sta_cs'
kernel: p80211.o: 0.1.7 Loaded
kernel: init_module: prism2_cs.o: 0.1.7 Loaded
kernel: init_module: dev_info is: prism2_cs
kernel: prism2_cs: index 0x01: Vcc 3.3, irq 5, io 0x0100-0x013f
kernel: ident: nic h/w: id=0x8008 1.0.1
kernel: ident: pri f/w: id=0x15 0.3.0
kernel: ident: sta f/w: id=0x1f 0.7.6
kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
kernel: CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1
kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/4
kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
kernel: STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
kernel: Prism2 card SN: 30 30 34 31 30 30 33 37 38 38 00 00
cardmgr[2361]: executing: './wlan-ng start wlan0'
cardmgr[2361]: + message=dot11req_mibset
cardmgr[2361]: + mibattribute=dot11DesiredSSID=cable
cardmgr[2361]: + resultcode=success
cardmgr[2361]: + message=dot11req_associate
cardmgr[2361]: + peerstaaddress=no_value
cardmgr[2361]: + associatefailuretimeout=no_value
cardmgr[2361]: + cfpollable=no_value
cardmgr[2361]: + cfpollreq=no_value
cardmgr[2361]: + privacy=no_value
cardmgr[2361]: + listeninterval=0
cardmgr[2361]: + resultcode=success
This is the contents of /proc/interrupts with the card installed:
CPU0
0: 414791 XT-PIC timer
1: 2 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 22466 XT-PIC serial
5: 0 XT-PIC prism2_cs
8: 1 XT-PIC rtc
9: 11048 XT-PIC e100 - Intel(R) 82559 Fast Ethernet LAN
on Motherboard
10: 0 XT-PIC es1371
12: 2 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 75163 XT-PIC ide0
15: 10 XT-PIC ide1
NMI: 0
This is the contents of /etc/sysconfig/pcmcia:
PCMCIA=yes
PCIC=i82365
PCIC_OPTS="irq_mode=1"
CORE_OPTS=
I also tried that without the "irq_mode=1", no difference.
I setup a static IP address, "ifconfig wlan0" shows:
wlan0 Link encap:Ethernet HWaddr 00:40:05:DE:4E:36
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
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:0 overruns:0 carrier:0
collisions:0
% cardctl status
Socket 0:
3.3V 16-bit PC Card
function 0: [ready]
% cardctl ident
Socket 0:
product info: "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Jason
-----------------
Jason@Summary.Net
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
-----------------------------------------------
The Linux WLAN User's Mailing List
For more information about this list see:
http://www.absoval.com/linux-wlan/lists.html