ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
Failed to disable WPA in the driver.
ELOOP: remaining socket: и так далее
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="мy AP"
key_mgmt=WPA-PSK
psk="topsecretpassword created from running wpa_passphrase"
}
sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
$ sudo /usr/sbin/wpa_supplicant -Dndis -iwlan0 -c/etc/wpa_supplicant.conf
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:1f:f3:c2:48:e5 (SSID='my ssid' freq=2412 MHz)
WPA: Could not verify EAPOL-Key MIC - dropping packet
Associated with 00:1f:f3:c2:48:e5
Write failed: Software caused connection abort
class = network
subclass = ethernet
none2@pci0:2:0:0: class=0x028000 card=0x1507103c chip=0x431514e4 rev=0x01 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
class = network
no match for ZwQueryInformationFile
no match for ZwReadFile
no match for ZwCreateFile
no match for ExFreePoolWithTag
no match for IoUnregisterPlugPlayNotification
ndis0: <Broadcom 802.11b/g WLAN> mem 0x56000000-0x56003fff irq 17 at device 0.0 on pci2
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
$ sudo wpa_supplicant -Dndis -iwlan0 -dd -c/etc/wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndis' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=8):
75 6e 73 6f 62 69 6c 6c unsobill
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
priority=2 (0x2)
Priority group 2
id=0 ssid='unsobill'
Initializing interface (2) 'wlan0'
NDIS: Packet.dll version: FreeBSD WinPcap compatibility shim v1.0
NDIS: 1 adapter names found
NDIS: 1 adapter descriptions found
NDIS: 0 - wlan0 - wlan0
NDIS: Adapter description prefix 'wlan0'
OID_802_11_CAPABILITY - hexdump(len=128): 80 00 00 00 02 00 00 00 10 00 00 00 0e 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01
00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 04 00 00 00 04 00 00 00 04 00 00 00 05 00 00 00 04 00 00 00 06 00 00 00 04 00 00 00
07 00 00 00 04 00 00 00 03 00 00 00 06 00 00 00 04 00 00 00 06 00 00 00 05 00 00 00 06 00 00 00 06 00 00 00 06 00 00 00 07 00 00 00 06 00 00
00
NDIS: Driver supports OID_802_11_CAPABILITY - NoOfPMKIDs 16 NoOfAuthEncrPairs 14
NDIS: 0 - auth 0 encr 1
NDIS: 1 - auth 0 encr 0
NDIS: 2 - auth 1 encr 1
NDIS: 3 - auth 1 encr 0
NDIS: 4 - auth 3 encr 4
NDIS: 5 - auth 4 encr 4
NDIS: 6 - auth 5 encr 4
NDIS: 7 - auth 6 encr 4
NDIS: 8 - auth 7 encr 4
NDIS: 9 - auth 3 encr 6
NDIS: 10 - auth 4 encr 6
NDIS: 11 - auth 5 encr 6
NDIS: 12 - auth 6 encr 6
NDIS: 13 - auth 7 encr 6
NDIS: driver capabilities: key_mgmt 0x1f enc 0xf auth 0x3
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00
NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED]
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED]
Own MAC address: c4:17:fe:bf:1b:bd
wpa_driver_ndis_set_wpa: enabled=1
ndis_get_oid: oid=0xd010101 len (6) failed
NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
ndis_get_oid: oid=0xd010101 len (6) failed
NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
ndis_get_oid: oid=0xd010101 len (6) failed
NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
ndis_get_oid: oid=0xd010101 len (6) failed
NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED]
NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED]
RSN: flushing PMKID list in the driver
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00
NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED]
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface wlan0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Cached scan results are empty - not posting
Selecting BSS from priority group 2
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
NDIS: Set OID 0d01011a - hexdump(len=4): [REMOVED]
ndis_get_oid: oid=0xd010101 len (6) failed
EAPOL: disable timer tick
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
Scan timeout - try to get results
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 2
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
Starting AP scan (broadcast SSID)
NDIS: Set OID 0d01011a - hexdump(len=4): [REMOVED]
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
Scan timeout - try to get results
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 2
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 5 sec 0 usec
ndis_get_oid: oid=0xd010101 len (6) failed
ndis_get_oid: oid=0xd010101 len (6) failed
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ndis_set_wpa: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 00 00 00 00 00
NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED]
NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED]
NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED]
NDIS: Set OID 0d010115 - hexdump(len=4): [REMOVED]
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
ssid="mynetwork"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=********************************
priority=2
}
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
$ sudo wpa_supplicant -Dndis -iwlan0 -c/etc/wpa_supplicant.conf
CTRL-EVENT-SCAN-RESULTS
Trying to associate with xx:xx:xx:xx:xx:xx (SSID='myssid' freq=2412 MHz)
Associated with xx:xx:xx:xx:xx:xx
Write failed: Software caused connection abort
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x4
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc4e30868
stack pointer = 0x28:0xe6723c04
frame pointer = 0x28:0xe6723c18
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1518 (Windows Workitem 3)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 6h8m10s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort
[root@machine /home/bwn/net/bwn-firmware-kmod]# kldload if_bwn
kldload: can't load if_bwn: Exec format error
cd /usr/src/sys/modules/siba_bwn
make && make install
cd /usr/src/sys/modules/bwn
make && make install
cd /usr/ports/net/bwn-firmware-kmod && make install clean
network_interfaces="AUTO"
wpa_supplicant_enable="YES"
wlans_bwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
if_bwn_load="YES"
bwn_v4_lp_ucode_load="YES"