wpa_supplicant and hostap driver - no association with AP
Zdenek Pizl
zdenek.pizl
Wed Jun 23 04:12:06 PDT 2004
On Wed, 2004-06-23 at 11:29, Zdenek Pizl wrote:
> ... and everything goes well.
mostly :(
Imagine following scenario:
- no network interface is up only loopback
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:355 errors:0 dropped:0 overruns:0 frame:0
TX packets:355 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26190 (25.5 Kb) TX bytes:26190 (25.5 Kb)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
- and now I would like to start wlan0 through wpa_supplicant and
dhclient. The only message I've got is:
Configuration file '/etc/wpa_supplicant.conf' ->
'/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
Line: 84 - start of a new network block
SSID - hexdump_ascii(len=8):
53 59 53 54 49 4e 45 54 SYSTINET
proto: 0x2
key_mgmt: 0x8
pairwise: 0x18
group: 0x18
eap methods - hexdump(len=2): 0d 00
identity - hexdump_ascii(len=11):
5a 64 65 6e 65 6b 20 50 69 7a 6c Zdenek Pizl
password - hexdump_ascii(len=4):
74 65 73 74 test
ca_cert=/etc/ipsec.d/cacerts/systinetca.pem
client_cert=/etc/ipsec.d/zp-clcert.pem
private_key=/etc/ipsec.d/private/zp.key
private_key_passwd=VerySecretPassword
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
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
l2_packet_receive - recv: Network is down
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
Scan timeout - try to get results
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
Scan timeout - try to get results
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0
idleWhile=0
Starting AP scan (broadcast SSID)
Signal 2 received - terminating
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
EAPOL: External notification - portEnabled=0
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
** end of output **
I do not understand the difference between having eth0 up and down and
how it corelate with wireless AP scan and association ?
What am I doing wrong?
--
Zdenek Pizl
Systinet Corporation
Vinohradska 190
130 00 Praha 3
More information about the Hostap
mailing list