kern/129022: ath cannot connect using WEP
Alex
freebsd.alex at spamfoodie.com
Thu Nov 20 11:20:04 PST 2008
>Number: 129022
>Category: kern
>Synopsis: ath cannot connect using WEP
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 20 19:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Alex
>Release: 8-CURRENT
>Organization:
>Environment:
FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Nov 20 16:58:53 CET 2008 root at moshnroll:/usr/obj/usr/src/sys/ARUNDEL i386
>Description:
i'm not able to connect to my router using WEP encryption. if i disable encryption in my router i'm able to connect without any problems.
i'm using the following wifi-card:
ath0 at pci0:5:1:0: class=0x020000 card=0x5a001385 chip=0x0013168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
class = network
subclass = ethernet
my rc.conf contains the following wlan related entries:
wlans_ath0=wlan0
ifconfig_wlan0="inet 192.168.1.10 ssid XXXXXX wepmode on authmode shared wepkey 1:0xXXXXXXXXXXXXXXXXXXXXXXXXXX wepkey 2:- wepkey 3:- wepkey 4:- deftxkey 1 channel 11"
this is the output from ifconfig:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether XX:XX:XX:XX:XX:XX
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff000000
wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether XX:XX:XX:XX:XX:XX
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid XXXXXX channel 11 (2462 Mhz 11g)
country US ecm authmode SHARED privacy ON deftxkey 1 wepkey 1:104-bit
txpower 18.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst ff
dturbo
enabling wlan debugging using wlandebug scan+auth+assoc revealed the following errors:
Nov 20 19:24:58 moshnroll kernel: wlan0: notify scan done
Nov 20 19:24:58 moshnroll kernel: wlan0: [XX:XX:XX:XX:XX:XX] recv auth frame with algorithm 1 seq 2
Nov 20 19:24:58 moshnroll kernel: wlan0: [XX:XX:XX:XX:XX:XX] request encrypt frame (ieee80211_send_mgmt)
Nov 20 19:24:58 moshnroll kernel: wlan0: [XX:XX:XX:XX:XX:XX] encrypting frame (ieee80211_mgmt_output)
Nov 20 19:25:00 moshnroll kernel: wlan0: [XX:XX:XX:XX:XX:XX] ieee80211_scan_assoc_fail: reason 1
Nov 20 19:25:00 moshnroll kernel: wlan0: [XX:XX:XX:XX:XX:XX] sta_assoc_fail: reason 1 fails 2
please tell me if you need more info from the debug output.
here're the outputs of
athstats:
athstats: ath0: Invalid argument
athstats: ath0: Invalid argument
25206 data frames received
5286 data frames transmit
7 tx frames with an alternate rate
53 long on-chip tx retries
4 tx failed 'cuz too many retries
8554 mib overflow interrupts
1M current transmit rate
108 tx frames with short preamble
663 rx failed 'cuz of bad CRC
36 rx failed 'cuz of PHY err
36 CCK restart
15 periodic calibrations
30 rssi of last ack
20 avg recv rssi
-96 rx noise floor
4 fast frames flushed from staging q
Antenna profile:
[1] tx 3775 rx 25206
[2] tx 1509 rx 0
and wlanstats:
wlanstats: wlan0 (IEEE80211_IOC_STA_INFO): No such file or directory
wlanstats: wlan0 (IEEE80211_IOC_STA_STATS): No such file or directory
2002 rx from wrong bssid
3 rx discard 'cuz dup
2135 rx discard mgt frames
161 rx beacon frames
186 rx element unknown
1 rx discard 'cuz port unauthorized
107 active scans started
2618 rx management frames
1 tx failed 'cuz vap not in RUN state
0M current transmit rate
cheers.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list