Cell BSSID stuck on card

Leonardo Maccari maccari-thisaintpartofmyaddress-
Fri Apr 1 03:32:49 PST 2005


even after a reboot my prismII card, when put in ad-hoc mode apperars to
be set on a non existent cell.

queneau:/home/leonardo/src/wpa_supplicant-0.3.8# ifconfig wlan0 up
queneau:/home/leonardo/src/wpa_supplicant-0.3.8# iwconfig wlan0 mode ad-hoc
queneau:/home/leonardo/src/wpa_supplicant-0.3.8# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Ad-Hoc  Frequency:2.422 GHz  Cell: 02:09:D6:1C:EC:42
          Bit Rate:2 Mb/s   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-73 dBm  Noise level=-73 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

the cell BSSID is strangely similar to the card MAC (00:09:5B:27:EC:42)
and if I try to use wpa_supplicant in ad-hoc mode this is what happens:

queneau:/home/leonardo/src/wpa_supplicant-0.3.8# ./wpa_supplicant -d -c /etc/hostapd/wpa_supplicant-regular-ad-hoc.conf -i wlan0
Initializing interface 'wlan0' conf
'/etc/hostapd/wpa_supplicant-regular-ad-hoc.conf' driver 'default'
Configuration file '/etc/hostapd/wpa_supplicant-regular-ad-hoc.conf' ->
'/etc/hostapd/wpa_supplicant-regular-ad-hoc.conf'
Reading configuration file
'/etc/hostapd/wpa_supplicant-regular-ad-hoc.conf'
ap_scan=2
Priority group 0
   id=0 ssid='alpha'
Initializing interface (2) 'wlan0'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:09:5b:27:ec:42
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Disconnect event - remove keys
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Disconnect event - remove keys
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
Trying to associate with SSID 'alpha'
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16
WPA: using GTK TKIP
WPA: using PTK NONE
WPA: using KEY_MGMT WPA-NONE
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01
00 00 50 f2 00 01 00 00 50 f2 00
No keys have been configured - skip key clearing
wpa_driver_hostap_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6
key_len=32
wpa_driver_hostap_set_drop_unencrypted: enabled=1
wpa_driver_hostap_associate
wpa_driver_hostap_set_key: alg=TKIP key_idx=0 set_tx=1 seq_len=6
key_len=32
Cancelling authentication timeout
Removed BSSID 00:00:00:00:00:00 from blacklist
EAPOL: External notification - portControl=ForceAuthorized
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disconnect event - ignore in IBSS/WPA-None mode
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disconnect event - ignore in IBSS/WPA-None mode
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disconnect event - ignore in IBSS/WPA-None mode
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disconnect event - ignore in IBSS/WPA-None mode
Wireless event: cmd=0x8b1a len=18
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disconnect event - ignore in IBSS/WPA-None mode
Wireless event: cmd=0x8b15 len=20

**********************
Wireless event: new AP: 02:09:84:4e:ec:42
Association event - clear replay counter
Associated to a new BSS: BSSID=02:09:84:4e:ec:42
**********************


Network configuration found for the current AP
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16
WPA: using GTK TKIP
WPA: using PTK NONE
WPA: using KEY_MGMT WPA-NONE
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01
00 00 50 f2 00 01 00 00 50 f2 00
EAPOL: External notification - portControl=ForceAuthorized
Associated with 02:09:84:4e:ec:42
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Cancelling authentication timeout
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Signal 2 received - terminating
wpa_driver_hostap_deauthenticate
wpa_driver_hostap_reset: type=2
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
wpa_driver_hostap_set_wpa: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0


I'm working on the supplicant code so it could be I messed something in
with the driver but still it is strange this is exactly the same after a
restart.. no?

ciao,
leonardo.


-- 
   Key fingerprint = 3129 C583 F03B 2E73 0115  C040 3489 0185 B592 19FE
 Obviously -thisaintpartofmyaddress- is not part of my real email address 





More information about the Hostap mailing list