1b43a
![]() |
|
|
|
|
|||||||
| Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
OS: FreeBSD 8.1R amd64
Adapter: BCM4309 Crypto: WPA2-PSK I have installed bwn-firmware-kmod and enabled if_bwn and bwn_v4_ucode on /boot/loader.conf. When the system starts every time, the console shows: Code:
bwn0: need multicast update callback Code:
bwn0: RX decryption attempted (old 0 keyidx 0x1) I have tried bwn_v4_lp_ucode instead of bwn_v4_ucode. It can't be used. Thanks! |
|
#2
|
|||
|
|||
|
The bwn(4) manpages mentions some loader tunables, did you try those? Especially the usedma one?
|
|
#3
|
|||
|
|||
|
When I set usedma from 1 to 0 and restart, the first error was same and the second error turned to
Code:
bwn0: RX decryption attempted (old 0 keyidx 0x2) |
|
#4
|
|||
|
|||
|
Quote:
*looking at the code* Seems like the hardware is trying to tell us that it tried 50 times to decrypt frames but failed. Does that happen with other kinds of encryption too? for example WPA1-TKIP? |
|
#5
|
|||
|
|||
|
Also the output of
# wlandebug +crypto might be helpful.
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
Last edited by DutchDaemon; February 17th, 2011 at 19:34. |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
|||
|
|||
|
When I use this command and input
/etc/rc.d/netif start the output is:Code:
wlan0: [00:1d:0f:6a:63:30] AES-CCM replay detected <rsc 0, csc 0, keyix 0 rxkeyix 65535> wlan0: ieee80211_crypto_newkey: cipher 3 flags 0x6 keyix 1 wlan0: ieee80211_crypto_newkey: no h/w support for cipher AES-CCM, falling back to s/w wlan0: ieee80211_crypto_setkey: AES-CCM keyix 1 flags 0x136 mac ff:ff:ff:ff:ff:ff rsc 0 tsc 0 len 16 wlan0: [00:1d:0f:6a:63:30] AES-CCM replay detected <rsc 0, csc 0, keyix 1 rxkeyix 65535> bwn0: need multicast update callback bwn0: need multicast update callback bwn0: need multicast update callback bwn0: need multicast update callback wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: AES-CCM keyix 1 flags 0x136 rsc 100 tsc 0 len 16 wlan0: _ieee80211_crypto_delkey: AES-CCM keyix 2 flags 0x136 rsc 316 tsc 0 len 16 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 Feb 17 17:29:10 Ferrari wpa_supplicant[436]: Failed to disable WPA in the driver. wlan0: _ieee80211_crypto_delkey: AES-CCM keyix 0 flags 0x133 rsc 18 tsc 22 len 16 wlan0: link state changed to DOWN wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 bwn0: need multicast update callback ifa_add_loopback_route: insertion failed bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) bwn0: need multicast update callback Feb 17 17:29:11 Ferrari wpa_supplicant[1774]: Failed to disable WPA in the driver. wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost Last edited by DutchDaemon; February 17th, 2011 at 19:35. |
|
#10
|
|||
|
|||
|
Same with other types of encryption? WPA1-TKIP maybe?
Quote:
Last edited by DutchDaemon; February 17th, 2011 at 19:35. |
|
#11
|
|||
|
|||
|
I have experienced exactly the same with my bwn card.
Though it works, it does seem to lose packets. Proof of this is when I attempt a ping to the router, sometimes only 20% of the packets succeed and I am only 3m from the AP. Linux's broadcom-wl driver seems to avoid this problem. I have not tried a windows driver and NDIS. |
|
#12
|
|||
|
|||
|
Quote:
WEP WPA TKIP/AES WPA2 TKIP/AES Still wrong... |
|
#13
|
|||
|
|||
|
Quote:
I found Broadcom 802.11 Linux STA driver: http://www.broadcom.com/support/802.11/linux_sta.php Can I use it on FreeBSD? If possible, how to do? |
|
#14
|
|||
|
|||
|
FreeBSD 8.1 amd64 have broken NDIS, try 8.2 instead.
|
|
#15
|
|||
|
|||
|
I'm trying 8.2 now: FreeBSD 8.2-RELEASE amd64 accessing AP with WPA-PSK encryption enabled. AP is 2m away from notebook [Dell Vostro 3500 with Broadcom BCM4312 (as siba reports)], directly visible.
Loaded modules: if_bwn.ko siba_bwn.ko wlan.ko wlan_amrr.ko wlan_wep.ko wlan_ccmp.ko wlan_tkip.ko bwn_v4_lp_ucode.ko. Within first 1-2 mins after boot I get Code:
bwn0: RX decryption attempted (old 0 keyidx 0x2) Loading Ubuntu LiveCD at the same conditions and installing offered 802.11 Linux STA driver gives 0% packet loss.
__________________
http://ittomsk.ru - IT-outsourcing in Tomsk, Russia. Last edited by DutchDaemon; April 11th, 2011 at 11:48. |
|
#16
|
|||
|
|||
|
__________________
http://ittomsk.ru - IT-outsourcing in Tomsk, Russia. |
|
#17
|
|||
|
|||
|
Hello,
I had the same issue, about 50% of packet loss with bwn on Broadcom BCM4312. This is an old chip, you have to load the LP micro code (bwn_v4_lp_ucode). Then, when you create virtual interface with ifconfig, it put you default mode on 802.11n. But, this card doesn't not support 802.11n. You just have to switch back on 802.11b and all work good with 0% packet loss. Quote:
|
| The Following User Says Thank You to blaize For This Useful Post: | ||
pierre (March 13th, 2013) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FreeBSD does not boot on AMD64 | penna | Mobile Computing | 2 | August 4th, 2010 00:47 |
| RTL8191SE and FreeBSD 8.0 amd64 | Nightweaver | System Hardware | 0 | February 25th, 2010 21:54 |
| FreeBSD 8.0 - amd64 - ZFS | solskogen | General | 3 | February 6th, 2010 09:56 |
| FreeBSD amd64 | Ofloo | Installing & Upgrading | 9 | May 19th, 2009 06:35 |
| FreeBSD-SA-08:07.amd64 | admin | News & Announcements | 0 | September 5th, 2008 03:21 |