Date: Fri, 19 Feb 2010 15:25:29 +0100 From: Paul B Mahol <onemda@gmail.com> To: Anselm Strauss <amsibamsi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: RTL8192SE WLAN Message-ID: <3a142e751002190625h4bd8dd8cs59da31516889a15a@mail.gmail.com> In-Reply-To: <DAA37ECA-982C-44B9-B93F-DD00E3526D73@gmail.com> References: <08C86D6F-3D2C-476B-8E4A-0B18065CCB84@gmail.com> <3a142e751002161428x63a33fd0h9a7649f4a3520356@mail.gmail.com> <29722c131002170320r76ef1f1rbbfbb68bb9c0cf9f@mail.gmail.com> <3a142e751002170454m2634b35bl8abdde919526b072@mail.gmail.com> <6F8A0187-02BC-4518-AF62-A178BF4532D1@gmail.com> <3a142e751002171436q6520f669rf23ef96ebd1891cd@mail.gmail.com> <DAA37ECA-982C-44B9-B93F-DD00E3526D73@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/18/10, Anselm Strauss <amsibamsi@gmail.com> wrote: > > On Feb 17, 2010, at 23:36 , Paul B Mahol wrote: > >> On 2/17/10, Anselm Strauss <amsibamsi@gmail.com> wrote: >>> On Feb 17, 2010, at 13:54 , Paul B Mahol wrote: >>> I use 8.0. Here is the script of what I did to manually setup the card: >>> >>> Script started on Wed Feb 17 21:33:08 2010 >>> [root@thor ~]# kldload rtl8192se_sys >>> [root@thor ~]# ifconfig ndis0 >>> ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 >>> ether 00:25:d3:93:50:c8 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> [root@thor ~]# ifconfig ndis0 list caps >> >> That is net80211 (funny) problem. >>> ifconfig: unable to get device capabilities: Invalid argument >>> [root@thor ~]# ifconfig wlan0 create wlandev ndis0 >>> [root@thor ~]# ifconfig wlan0 >>> wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 >>> ether 00:25:d3:93:50:c8 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid "" channel 1 (2412 Mhz 11b) >>> country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 >>> bintval 0 >>> [root@thor ~]# ifconfig wlan0 list caps >>> drivercaps=1802303<STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2> >>> cryptocaps=b<WEP,TKIP,AES_CCM> >>> [root@thor ~]# cat /etc/wpa_supplicant.conf >>> ap_scan=2 >>> network={ >>> ssid="ttyv0" >>> scan_ssid=1 >>> proto=WPA2 >>> key_mgmt=WPA-PSK >>> pairwise=CCMP >>> group=CCMP >>> psk="(removed)" >>> } >>> [rootk@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt >> >> Not going to work, you need explicit '-D ndis' flag. >> >> Anyway you just need this entry in rc.conf: >> >> wlans_ndis0="wlan0" >> ifconfig_wlan0="WPA SYNCDHCP" >> wpa_supplicant_conf_file="/etc/wpa_supplicant.conf" >> >> '-D bsd', default one, works only for wep and only in my git repo. >> >>> 1266441009.079270: Initializing interface 'wlan0' conf >>> '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge >>> 'N/A' >>> 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' -> >>> '/etc/wpa_supplicant.conf' >>> 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf' >>> 1266441009.082993: ap_scan=2 >>> 1266441009.083143: Line: 2 - start of a new network block >>> 1266441009.084136: ssid - hexdump_ascii(len=5): >>> 74 74 79 76 30 ttyv0 >>> 1266441009.084487: scan_ssid=1 (0x1) >>> 1266441009.084612: proto: 0x2 >>> 1266441009.084719: key_mgmt: 0x2 >>> 1266441009.084822: pairwise: 0x10 >>> 1266441009.084943: group: 0x10 >>> 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): >>> [REMOVED] >>> 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED] >>> 1266441009.396530: Priority group 0 >>> 1266441009.396561: id=0 ssid='ttyv0' >>> 1266441009.396585: Initializing interface (2) 'wlan0' >>> 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8 >>> 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1 >>> 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 >>> 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0 >>> 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1 >>> 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2 >>> 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3 >> See wpa_supplicant use bsd driver. >>> 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0 >>> 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1 >>> 1266441009.400798: RSN: flushing PMKID list in the driver >>> 1266441009.400862: Setting scan request: 0 sec 100000 usec >>> 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED >>> 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE >>> 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE >>> 1266441009.434652: EAP: EAP entering state DISABLED >>> 1266441009.434765: Added interface wlan0 >>> 1266441009.503454: State: DISCONNECTED -> SCANNING >>> 1266441009.503527: Trying to associate with SSID 'ttyv0' >>> 1266441009.503553: Cancelling scan request >>> 1266441009.503574: WPA: clearing own WPA/RSN IE >>> 1266441009.503593: Automatic auth_alg selection: 0x1 >>> 1266441009.503624: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 >>> 1266441009.503668: WPA: No WPA/RSN IE available from association info >>> 1266441009.503767: WPA: Set cipher suites based on configuration >>> 1266441009.503783: WPA: Selected cipher suites: group 16 pairwise 16 >>> key_mgmt 2 proto 2 >>> 1266441009.503803: WPA: clearing AP WPA IE >>> 1266441009.503821: WPA: clearing AP RSN IE >>> 1266441009.503844: WPA: using GTK CCMP >>> 1266441009.503866: WPA: using PTK CCMP >>> 1266441009.503891: WPA: using KEY_MGMT WPA-PSK >>> 1266441009.503913: WPA: Set own WPA IE default - hexdump(len=22): 30 14 >>> 01 >>> 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 >>> 1266441009.503962: No keys have been configured - skip key clearing >>> 1266441009.503984: wpa_driver_bsd_set_drop_unencrypted: enabled=1 >>> 1266441009.504016: State: SCANNING -> ASSOCIATING >>> 1266441009.504048: wpa_driver_bsd_associate: ssid 'ttyv0' wpa ie len 22 >>> pairwise 3 group 3 key mgmt 1 >>> 1266441009.504104: wpa_driver_bsd_associate: set PRIVACY 1 >>> ioctl[SIOCS80211, op 21, len 42]: No such file or directory >>> 1266441009.504550: Association request to the driver failed >>> 1266441009.504576: Setting authentication timeout: 5 sec 0 usec >>> 1266441009.504609: EAPOL: External notification - EAP success=0 >>> 1266441009.504634: EAPOL: External notification - EAP fail=0 >>> 1266441009.504655: EAPOL: External notification - portControl=Auto >>> 1266441010.437381: EAPOL: disable timer tick >>> 1266441014.508365: Authentication with 00:00:00:00:00:00 timed out. >>> 1266441014.508477: Added BSSID 00:00:00:00:00:00 into blacklist >>> 1266441014.508543: No keys have been configured - skip key clearing >>> 1266441014.508586: State: ASSOCIATING -> DISCONNECTED >>> 1266441014.508634: EAPOL: External notification - portEnabled=0 >>> 1266441014.508689: EAPOL: External notification - portValid=0 >>> 1266441014.508737: EAPOL: External notification - EAP success=0 >>> 1266441014.508799: Setting scan request: 0 sec 0 usec >>> 1266441014.508915: State: DISCONNECTED -> SCANNING >>> 1266441014.508977: Trying to associate with SSID 'ttyv0' >>> 1266441014.509032: Cancelling scan request >>> 1266441014.509080: WPA: clearing own WPA/RSN IE >>> 1266441014.509122: Automatic auth_alg selection: 0x1 >>> 1266441014.509164: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 >>> 1266441014.509256: WPA: No WPA/RSN IE available from association info >>> 1266441014.509305: WPA: Set cipher suites based on configuration >>> 1266441014.509360: WPA: Selected cipher suites: group 16 pairwise 16 >>> key_mgmt 2 proto 2 >>> 1266441014.509415: WPA: clearing AP WPA IE >>> 1266441014.509457: WPA: clearing AP RSN IE >>> 1266441014.509506: WPA: using GTK CCMP >>> 1266441014.509556: WPA: using PTK CCMP >>> 1266441014.509610: WPA: using KEY_MGMT WPA-PSK >>> 1266441014.509654: WPA: Set own WPA IE default - hexdump(len=22): 30 14 >>> 01 >>> 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 >>> 1266441014.509788: No keys have been configured - skip key clearing >>> 1266441014.509832: wpa_driver_bsd_set_drop_unencrypted: enabled=1 >>> 1266441014.509893: State: SCANNING -> ASSOCIATING >>> 1266441014.509947: wpa_driver_bsd_associate: ssid 'ttyv0' wpa ie len 22 >>> pairwise 3 group 3 key mgmt 1 >>> 1266441014.510028: wpa_driver_bsd_associate: set PRIVACY 1 >>> ioctl[SIOCS80211, op 21, len 42]: No such file or directory >>> 1266441014.510922: Association request to the driver failed >>> 1266441014.510983: Setting authentication timeout: 5 sec 0 usec >>> 1266441014.511055: EAPOL: External notification - EAP success=0 >>> 1266441014.511105: EAPOL: External notification - EAP fail=0 >>> 1266441014.511153: EAPOL: External notification - portControl=Auto >>> ^C1266441017.044014: CTRL-EVENT-TERMINATING - signal 2 received >>> 1266441017.044170: Removing interface wlan0 >>> 1266441017.044248: State: ASSOCIATING -> DISCONNECTED >>> 1266441017.044325: No keys have been configured - skip key clearing >>> 1266441017.044391: EAPOL: External notification - portEnabled=0 >>> 1266441017.044469: EAPOL: External notification - portValid=0 >>> 1266441017.044537: wpa_driver_bsd_set_wpa: enabled=0 >>> 1266441017.044599: wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 >>> ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported >>> 1266441017.045884: Failed to disable WPA in the driver. >>> 1266441017.045950: wpa_driver_bsd_set_drop_unencrypted: enabled=0 >>> 1266441017.046038: wpa_driver_bsd_set_countermeasures: enabled=0 >>> 1266441017.046130: No keys have been configured - skip key clearing >>> 1266441017.048685: Removed BSSID 00:00:00:00:00:00 from blacklist (clear) >>> 1266441017.048861: Cancelling scan request >>> 1266441017.048948: Cancelling authentication timeout >>> 1266441017.049087: wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 >>> ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported >>> ELOOP: remaining socket: sock=4 eloop_data=0x28406140 >>> user_data=0x2840e040 >>> handler=0x8069f40 >>> [root@thor ~]# ifconfig wlan0 scan >>> [root@thor ~]# ifconfig wlan0 list scan >>> [root@thor ~]# exit >>> >>> Script done on Wed Feb 17 22:10:33 2010 >>> >>> For some reason I did not have any luck this time scanning the network. >>> But >>> I know that this worked at least once. I tried different values for >>> ap_scan, >>> but the result never changes. Sometimes it event gets not past the >>> scanning >>> part, it's just stuck. >> >> There is race in link state event change that could cause this, but I >> belive >> that real problem in your case is using '-D bsd' instead of '-D ndis'. > > I used all the options you said, the link still doesn't come up. When I kill > wpa_supplicant and start it manually: > > Script started on Thu Feb 18 22:54:20 2010 > [root@thor ~]# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D ndis > -ddt > 1266530076.944144: Initializing interface 'wlan0' conf > '/etc/wpa_supplicant.conf' driver 'ndis' ctrl_interface 'N/A' bridge 'N/A' > 1266530076.945788: Configuration file '/etc/wpa_supplicant.conf' -> > '/etc/wpa_supplicant.conf' > 1266530076.946138: Reading configuration file '/etc/wpa_supplicant.conf' > 1266530076.947878: Line: 1 - start of a new network block > 1266530076.948500: ssid - hexdump_ascii(len=5): > 74 74 79 76 30 ttyv0 > 1266530076.949318: scan_ssid=1 (0x1) > 1266530076.949684: proto: 0x2 > 1266530076.949882: key_mgmt: 0x2 > 1266530076.950101: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] > 1266530077.332394: PSK (from passphrase) - hexdump(len=32): [REMOVED] > 1266530077.332645: Priority group 0 > 1266530077.332677: id=0 ssid='ttyv0' > 1266530077.332703: Initializing interface (2) 'wlan0' > 1266530077.332760: NDIS: Packet.dll version: FreeBSD WinPcap compatibility > shim v1.0 > 1266530077.332955: NDIS: 1 adapter names found > 1266530077.332984: NDIS: 1 adapter descriptions found > 1266530077.333007: NDIS: 0 - wlan0 - wlan0 > 1266530077.333064: NDIS: Adapter description prefix 'wlan0' > 1266530078.567563: 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 03 00 00 00 06 00 00 00 04 00 00 00 04 00 00 00 04 00 00 00 06 00 00 00 > 05 00 00 00 04 00 00 00 05 00 00 00 06 00 00 00 06 00 00 00 04 00 00 00 06 > 00 00 00 06 00 00 00 07 00 00 00 04 00 00 00 07 00 00 00 06 00 00 00 > 1266530078.567771: NDIS: Driver supports OID_802_11_CAPABILITY - NoOfPMKIDs > 16 NoOfAuthEncrPairs 14 > 1266530078.567797: NDIS: 0 - auth 0 encr 1 > 1266530078.567817: NDIS: 1 - auth 0 encr 0 > 1266530078.567836: NDIS: 2 - auth 1 encr 1 > 1266530078.567855: NDIS: 3 - auth 1 encr 0 > 1266530078.567873: NDIS: 4 - auth 3 encr 4 > 1266530078.567890: NDIS: 5 - auth 3 encr 6 > 1266530078.567909: NDIS: 6 - auth 4 encr 4 > 1266530078.567929: NDIS: 7 - auth 4 encr 6 > 1266530078.567947: NDIS: 8 - auth 5 encr 4 > 1266530078.567966: NDIS: 9 - auth 5 encr 6 > 1266530078.567981: NDIS: 10 - auth 6 encr 4 > 1266530078.567999: NDIS: 11 - auth 6 encr 6 > 1266530078.568018: NDIS: 12 - auth 7 encr 4 > 1266530078.568036: NDIS: 13 - auth 7 encr 6 > 1266530078.568054: NDIS: driver capabilities: key_mgmt 0x1f enc 0xf auth 0x3 > 1266530078.568095: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530078.568134: NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 > 00 00 00 00 00 > 1266530078.568164: NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED] > 1266530078.568204: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530078.568269: NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED] > 1266530078.568486: NDIS: Set OID 0d010108 - hexdump(len=4): [REMOVED] > 1266530078.569534: Own MAC address: 00:25:d3:93:50:c8 > 1266530078.569584: wpa_driver_ndis_set_wpa: enabled=1 > 1266530078.569638: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530078.569663: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED] > 1266530078.569713: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED] > 1266530078.569761: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530078.569787: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED] > 1266530078.569828: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED] > 1266530078.569879: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530078.569904: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED] > 1266530078.569946: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED] > 1266530078.569992: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530078.570016: NDIS: Set OID 0d01011e - hexdump(len=16): [REMOVED] > 1266530078.570066: NDIS: Set OID 0d010114 - hexdump(len=4): [REMOVED] > 1266530078.570112: RSN: flushing PMKID list in the driver > 1266530078.570158: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530078.570196: NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 > 00 00 00 00 00 > 1266530078.570232: NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED] > 1266530078.570271: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530078.570356: Setting scan request: 0 sec 100000 usec > 1266530078.603733: EAPOL: SUPP_PAE entering state DISCONNECTED > 1266530078.603784: EAPOL: KEY_RX entering state NO_KEY_RECEIVE > 1266530078.603804: EAPOL: SUPP_BE entering state INITIALIZE > 1266530078.603825: EAP: EAP entering state DISABLED > 1266530078.603860: Added interface wlan0 > 1266530078.672447: State: DISCONNECTED -> SCANNING > 1266530078.672493: Starting AP scan (specific SSID) > 1266530078.672521: Scan SSID - hexdump_ascii(len=5): > 74 74 79 76 30 ttyv0 > 1266530078.672572: Trying to get current scan results first without > requesting a new scan to speed up initial association > 1266530078.673346: CTRL-EVENT-SCAN-RESULTS > 1266530078.673392: Selecting BSS from priority group 0 > 1266530078.673416: Try to find WPA-enabled AP > 1266530078.673438: 0: 00:80:48:57:c1:69 ssid='ttyv0' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530078.673474: skip - no WPA/RSN proto match > 1266530078.673496: 1: 00:24:37:c6:42:90 ssid='xaq-82516' wpa_ie_len=24 > rsn_ie_len=20 caps=0x411 > 1266530078.673534: skip - SSID mismatch > 1266530078.673555: 2: 00:24:37:22:f7:e0 ssid='nina-janosch' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530078.673590: skip - SSID mismatch > 1266530078.673611: Try to find non-WPA AP > 1266530078.673632: 0: 00:80:48:57:c1:69 ssid='ttyv0' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530078.673663: skip - non-WPA network not allowed > 1266530078.673686: 1: 00:24:37:c6:42:90 ssid='xaq-82516' wpa_ie_len=24 > rsn_ie_len=20 caps=0x411 > 1266530078.673719: skip - SSID mismatch > 1266530078.673741: 2: 00:24:37:22:f7:e0 ssid='nina-janosch' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530078.673775: skip - SSID mismatch > 1266530078.673796: No suitable AP found. > 1266530078.673825: Setting scan request: 0 sec 0 usec > 1266530078.673879: Starting AP scan (broadcast SSID) > 1266530078.673907: NDIS: Set OID 0d01011a - hexdump(len=4): [REMOVED] > 1266530079.570095: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530079.606450: EAPOL: disable timer tick > 1266530080.572097: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530081.574681: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530082.576722: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530083.578688: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530084.580728: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530085.582730: ndis_get_oid: oid=0xd010101 len (6) failed > 1266530085.676634: Scan timeout - try to get results > 1266530085.678387: CTRL-EVENT-SCAN-RESULTS > 1266530085.678549: Selecting BSS from priority group 0 > 1266530085.678638: Try to find WPA-enabled AP > 1266530085.678711: 0: 00:80:48:57:c1:69 ssid='ttyv0' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.678850: skip - no WPA/RSN proto match > 1266530085.678918: 1: 00:24:93:2b:20:60 ssid='epa-95348' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.679046: skip - SSID mismatch > 1266530085.679119: 2: 00:24:37:83:c7:80 ssid='mxu-10070' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.679243: skip - SSID mismatch > 1266530085.679315: 3: 00:24:37:87:6f:50 ssid='gtj-01282' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.679438: skip - SSID mismatch > 1266530085.679500: 4: 00:24:c8:44:bc:60 ssid='uzb-69199' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.679644: skip - SSID mismatch > 1266530085.679712: 5: 00:23:a3:85:72:a0 ssid='VQM-21436' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.679834: skip - SSID mismatch > 1266530085.679903: 6: 00:26:b0:fe:0a:db ssid='Apple Network 7c1680' > wpa_ie_len=22 rsn_ie_len=24 caps=0x531 > 1266530085.680031: skip - SSID mismatch > 1266530085.680104: 7: 00:24:37:c6:42:90 ssid='xaq-82516' wpa_ie_len=24 > rsn_ie_len=20 caps=0x411 > 1266530085.680227: skip - SSID mismatch > 1266530085.680299: 8: 00:24:37:22:f7:e0 ssid='nina-janosch' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.680422: skip - SSID mismatch > 1266530085.680489: 9: 00:26:5c:de:37:53 ssid='PS3-9272105' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.680622: skip - SSID mismatch > 1266530085.680690: 10: 00:1b:11:ed:75:aa ssid='Claudia' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.680814: skip - SSID mismatch > 1266530085.680888: 11: 00:24:93:60:f4:30 ssid='HSE-48231' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.681017: skip - SSID mismatch > 1266530085.681096: 12: 00:1b:11:f9:1e:5c ssid='Bubes' wpa_ie_len=22 > rsn_ie_len=24 caps=0x431 > 1266530085.681226: skip - SSID mismatch > 1266530085.681298: 13: 00:19:cb:07:a2:d7 ssid='' wpa_ie_len=0 rsn_ie_len=20 > caps=0x431 > 1266530085.681422: skip - SSID mismatch > 1266530085.681493: 14: 00:21:91:f6:44:13 ssid='dlink' wpa_ie_len=26 > rsn_ie_len=24 caps=0x431 > 1266530085.681643: skip - SSID mismatch > 1266530085.681710: 15: 00:1c:f0:ea:d9:f1 ssid='ChrisNet' wpa_ie_len=26 > rsn_ie_len=24 caps=0x431 > 1266530085.681833: skip - SSID mismatch > 1266530085.681900: 16: 00:24:93:14:68:e0 ssid='vsa-84801' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.682023: skip - SSID mismatch > 1266530085.682097: 17: 00:1b:11:84:f9:1c ssid='homesweethome' wpa_ie_len=0 > rsn_ie_len=20 caps=0x431 > 1266530085.682226: skip - SSID mismatch > 1266530085.682293: 18: 00:02:cf:be:6b:83 ssid='ZyXEL-RABA08' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.682421: skip - SSID mismatch > 1266530085.682483: Try to find non-WPA AP > 1266530085.682555: 0: 00:80:48:57:c1:69 ssid='ttyv0' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.682689: skip - non-WPA network not allowed > 1266530085.682757: 1: 00:24:93:2b:20:60 ssid='epa-95348' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.682885: skip - SSID mismatch > 1266530085.682953: 2: 00:24:37:83:c7:80 ssid='mxu-10070' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.683087: skip - SSID mismatch > 1266530085.683154: 3: 00:24:37:87:6f:50 ssid='gtj-01282' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.683279: skip - SSID mismatch > 1266530085.683346: 4: 00:24:c8:44:bc:60 ssid='uzb-69199' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.683470: skip - SSID mismatch > 1266530085.683537: 5: 00:23:a3:85:72:a0 ssid='VQM-21436' wpa_ie_len=22 > rsn_ie_len=20 caps=0x411 > 1266530085.683676: skip - SSID mismatch > 1266530085.683743: 6: 00:26:b0:fe:0a:db ssid='Apple Network 7c1680' > wpa_ie_len=22 rsn_ie_len=24 caps=0x531 > 1266530085.683872: skip - SSID mismatch > 1266530085.683940: 7: 00:24:37:c6:42:90 ssid='xaq-82516' wpa_ie_len=24 > rsn_ie_len=20 caps=0x411 > 1266530085.684064: skip - SSID mismatch > 1266530085.684137: 8: 00:24:37:22:f7:e0 ssid='nina-janosch' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.684260: skip - SSID mismatch > 1266530085.684327: 9: 00:26:5c:de:37:53 ssid='PS3-9272105' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.684450: skip - SSID mismatch > 1266530085.684522: 10: 00:1b:11:ed:75:aa ssid='Claudia' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.684662: skip - SSID mismatch > 1266530085.684729: 11: 00:24:93:60:f4:30 ssid='HSE-48231' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.684856: skip - SSID mismatch > 1266530085.684923: 12: 00:1b:11:f9:1e:5c ssid='Bubes' wpa_ie_len=22 > rsn_ie_len=24 caps=0x431 > 1266530085.685046: skip - SSID mismatch > 1266530085.685119: 13: 00:19:cb:07:a2:d7 ssid='' wpa_ie_len=0 rsn_ie_len=20 > caps=0x431 > 1266530085.685242: skip - SSID mismatch > 1266530085.685309: 14: 00:21:91:f6:44:13 ssid='dlink' wpa_ie_len=26 > rsn_ie_len=24 caps=0x431 > 1266530085.685433: skip - SSID mismatch > 1266530085.685500: 15: 00:1c:f0:ea:d9:f1 ssid='ChrisNet' wpa_ie_len=26 > rsn_ie_len=24 caps=0x431 > 1266530085.685634: skip - SSID mismatch > 1266530085.685702: 16: 00:24:93:14:68:e0 ssid='vsa-84801' wpa_ie_len=22 > rsn_ie_len=20 caps=0x451 > 1266530085.685825: skip - SSID mismatch > 1266530085.685892: 17: 00:1b:11:84:f9:1c ssid='homesweethome' wpa_ie_len=0 > rsn_ie_len=20 caps=0x431 > 1266530085.686015: skip - SSID mismatch > 1266530085.686089: 18: 00:02:cf:be:6b:83 ssid='ZyXEL-RABA08' wpa_ie_len=22 > rsn_ie_len=0 caps=0x431 > 1266530085.686212: skip - SSID mismatch > 1266530085.686279: No suitable AP found. > 1266530085.686378: Setting scan request: 5 sec 0 usec > 1266530086.585757: ndis_get_oid: oid=0xd010101 len (6) failed > ^C1266530086.789363: CTRL-EVENT-TERMINATING - signal 2 received > 1266530086.789482: Removing interface wlan0 > 1266530086.789570: State: SCANNING -> DISCONNECTED > 1266530086.789648: No keys have been configured - skip key clearing > 1266530086.789721: EAPOL: External notification - portEnabled=0 > 1266530086.789810: EAPOL: External notification - portValid=0 > 1266530086.789891: wpa_driver_ndis_set_wpa: enabled=0 > 1266530086.789968: No keys have been configured - skip key clearing > 1266530086.792246: Cancelling scan request > 1266530086.792365: Cancelling authentication timeout > 1266530086.792587: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530086.792741: NDIS: OID_802_11_PMKID (flush) - hexdump(len=8): 08 00 00 > 00 00 00 00 00 > 1266530086.792922: NDIS: Set OID 0d010123 - hexdump(len=8): [REMOVED] > 1266530086.793088: NDIS: Set OID 0d010118 - hexdump(len=4): [REMOVED] > 1266530086.793321: NDIS: Set OID 0d010102 - hexdump(len=36): [REMOVED] > 1266530086.794008: NDIS: Set OID 0d010115 - hexdump(len=4): [REMOVED] > [root@thor ~]# exit > > Script done on Thu Feb 18 22:54:52 2010 > > Obviously it does not recognize my network as WPA, but I'm pretty sure it > is, since it works perfectly fine with other machines. Looks you need WPA instead of WPA2 aka RSN for 'proto'. If you do not start wpa_supplicant after boot: # ifconfig -v wlan0 list scan should provide all information about your AP. It is probably available in 8.0 STABLE and not in 8.0 RELEASE, but you can just copy if_ndis.c from STABLE and recompile if_ndis module.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e751002190625h4bd8dd8cs59da31516889a15a>