- Thread Starter
- #51
richardpl said:Does wpa_supplicant -Dbsd works instead of -Dndis for you?
...
Nope!
Error snip:
Code:
... No such file or directory
Association request to the driver failed
...
richardpl said:Does wpa_supplicant -Dbsd works instead of -Dndis for you?
...
... No such file or directory
Association request to the driver failed
...
That was a motive, for creating this thread.richardpl said:Also, do not scan via ifconfig on 8.0 RELEASE with that broadcom driver, 8.0 RELEASE's if_ndis.c have serious bug there.
This type of utilization, is out of my scope for now.richardpl said:Speaking about boot bug, there is workaround, config_intrhook(9).
wget 192.168.0.1/big_file.rar
# cat info.11
Dump header from device /dev/ad4s3b
Architecture: i386
Architecture Version: 2
Dump Length: 205078528B (195 MB)
Blocksize: 512
Dumptime: Mon Feb 8 18:20:29 2010
Hostname: cruiser.starforce.biz
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 8.0-RELEASE-p2 #0: Sun Jan 31 18:18:54 CET 2010
root@cruiser.starforce.biz:/usr/obj/usr/src/sys/GENERIC
Panic String: vm_fault: fault on nofault entry, addr: e81ea000
Dump Parity: 3760290330
Bounds: 11
Dump Status: good
# uname -a
FreeBSD cruiser.starforce.biz 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sat Nov 20 17:44:22 CET 2010 root@cruiser.starforce.biz:/usr/obj/usr/src/sys/GENERIC amd64
# kldload bcmwl564_sys.ko
ndis0: <Dell Wireless 1500 Draft 802.11n WLAN Mini-Card> mem 0xf1ffc000-0xf1ffff
ff,0xf0000000-0xf00fffff irq 17 at device 0.0 on pci12
ndis0: [ITHREAD]
fpudna in kernel mode!
# ifconfig wlan0 create wlandev ndis0
wlan0: Ethernet address: 00:1f:e1:71:1a:b9
# ifconfig wlan0 up scan
fpudna in kernel mode!
wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
...
# ifconfig wlan0 scan
fpudna in kernel mode!
...
fpudna in kernel mode!
fpudna in kernel mode!
fpudna in kernel mode!
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
NETGEAR 00:1b:2f:00:ff:fa 11 54M -64:-96 100 EP WPA
Berce 00:1f:c6:8c:a5:f0 1 54M -75:-96 100 EP WME
cb18e7 00:26:18:04:2d:19 1 54M -92:-96 100 EP WPS WPA WME
Skugor 00:02:cf:a8:fa:fa 1 54M -89:-96 100 EPSB WPA
Tajana 00:24:8c:68:85:fd 4 54M -86:-96 100 EP WPS WPA WME
Thom_D014900 00:24:d1:79:53:d1 3 54M -92:-96 100 EP WME
00:0e:2e:e5:0b:b9 6 54M -58:-96 100 EPS WPA
kek_mreza 00:4f:74:31:1d:aa 4 54M -89:-96 100 EP HTCAP WME WPS
cruiser# fpudna in kernel mode!
cruiser# ifconfig wlan0 inet 192.168.0.3 netmask 255.255.255.0
cruiser# route add default 192.168.0.1
add net default: gateway 192.168.0.1
cruiser# wpa_supplicant -d -D ndis -i wlan0 -c /etc/wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndis' ctr
l_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
eapol_version=2
ap_scan=2
Priority group 0
id=0 ssid='BLACKHOLE'
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'
ndis_get_oid: oid=0x1010102 len (6) failed
NDIS: Get OID_802_3_CURRENT_ADDRESS failed
Failed to initialize driver interface
Failed to add interface wlan0
Cancelling scan request
Cancelling authentication timeout