Forum » Omrežja in internet » 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"
}
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 ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
! | [Vodič] Router v študentskem domu (Eduroam) (strani: 1 2 )Oddelek: Omrežja in internet | 64944 (415) | tramvaj |
» | Eduroam in ubuntu (strani: 1 2 )Oddelek: Omrežja in internet | 14149 (8307) | ramiz?! |
» | router priključen na routerOddelek: Omrežja in internet | 3728 (2298) | janco |
» | Gentoo,wpa_supplicant,v študentskih domovihOddelek: Programska oprema | 2690 (2312) | zee |
» | Linux (Ubuntu) - ndiswrapperOddelek: Operacijski sistemi | 1683 (1598) | bluefish |