» »

WPA Supplicant in EAP-TLS

WPA Supplicant in EAP-TLS

Osprey ::

V windowsih sedaj wireless deluje, probleme pa imam z WPA_SUPPLICANTom na Linuxu. Noče se povezati, prav tako ne najdem nekega posebnega sporočila o napaki. To je za Linux guruje....

WPA_SUPPLICANT izpiše:



Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
Line: 8 - start of a new network block
ssid - hexdump_ascii(len=11):
50 52 4f 43 45 53 53 20 57 50 41 MOJA MREZA
key_mgmt: 0x1
proto: 0x1
pairwise: 0x8
group: 0x8
eap methods - hexdump(len=2): 0d 00
ca_cert - hexdump_ascii(len=20):
[REMOVED] /etc/cert/cacert
[REMOVED] .pem
client_cert - hexdump_ascii(len=25):
[REMOVED] /etc/cert/client
[REMOVED] _cert.pem
private_key - hexdump_ascii(len=24):
[REMOVED] /etc/cert/client
[REMOVED] _key.pem
private_key_passwd - hexdump_ascii(len=22): [REMOVED]
Priority group 0
id=0 ssid='MOJA MREZA'
Initializing interface (2) 'ath0'
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
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: WE(compiled)=18 WE(source)=13 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:30:4f:30:58:b2
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wifi0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=12

Tu se ustavi. Po pritisku na Ctrl+C izpiše:

State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
wpa_driver_madwifi_set_countermeasures: enabled=0
No keys have been configured - skip key clearing



Ne vem zakaj napiše no keys.... saj so certifikati nastavljeni in jih tudi izpiše v debug outputu.

iwlist ath0 scan najde wireless mrežo.

Še moj wpa_supplicant.conf:


ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1

network={
ssid="MOJA MREZA"
key_mgmt=WPA-EAP
proto=WPA
pairwise=TKIP
group=TKIP
eap=TLS
ca_cert="/etc/cert/cacert.pem"
client_cert="/etc/cert/client_cert.pem"
private_key="/etc/cert/client_key.pem"
private_key_passwd="PRIVATEPASS"
}


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
!

[Vodič] Router v študentskem domu (Eduroam) (strani: 1 2 )

Oddelek: Omrežja in internet
6662605 (10678) kremsnitka
»

Eduroam in ubuntu (strani: 1 2 )

Oddelek: Omrežja in internet
5213874 (8032) ramiz?!
»

router priključen na router

Oddelek: Omrežja in internet
283671 (2241) janco
»

Gentoo,wpa_supplicant,v študentskih domovih

Oddelek: Programska oprema
162638 (2260) zee
»

Linux (Ubuntu) - ndiswrapper

Oddelek: Operacijski sistemi
111647 (1562) bluefish

Več podobnih tem