Archief - Ubuntu wireless wpa

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

RpR

Legacy Member
Kan iemand mij helpen om een mijn laptop te doen connecten met mijn wireless accesspoint dat als wpa sleutel test heeft en als ssid rpr?

Vind veel info maar het lukt mij maar niet.

citrofenwick

Legacy Member
iwlist wlan0 scan : scant naar ap's
werk je met ndiswrapper? (ndiswrapper -l om te testen)


handige wiki :) :
http://ndiswrapper.sourceforge.net/mediawiki/index.php/WPA

grtz

*edit
voor als het echt niet moest lukken, probeer eens met WEP
iwconfig wlan0 key open <uwsleutel>

zet 0x voor uw sleutel als het om een Hexadecimale sleutel gaat


en hexadecimale sleutel mag de volgende tekens bevatten:
0-9 en A-F

good luck :)

RpR

Legacy Member
Ik heb dus het volgende in /etc/wpa_supplicant
Code:
network={
        ssid="TheLighthouse"
	scan_ssid=1
	proto=WPA RSN
	key_mgmt=WPA-PSK
	pairwise=CCMP TKIP
	group=CCMP TKIP       psk=97e964943b1d90eca1d6159e011be3bf2620a7c684c405a1900fc8043fab026f
}
Ssid heb ik gewoon TheLighthouse genoemd op mijn asus router.
De key is gewoon random cijfers. De key is gemaakt met wpa_passphrase.
In windows werkt alles goed. De wireless kaart werkt ook perfect zonder encryptie. Op de telenet hotspots geen enkel probleem.

Dan de output van:
sudo wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf -dd
Code:
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=13):
     54 68 65 4c 69 67 68 74 68 6f 75 73 65            TheLighthouse   
scan_ssid=1 (0x1)
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='TheLighthouse'
Initializing interface (2) 'eth1'
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_ipw_init is called
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:12:f0:36:fd:bd
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=13):
     54 68 65 4c 69 67 68 74 68 6f 75 73 65            TheLighthouse   
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Trying to associate with 00:17:31:e4:b6:eb (SSID='TheLighthouse' freq=0 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
WEXT: Operstate: linkmode=-1, operstate=5
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b1a len=22
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on RSN IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: ASSOCIATING -> DISCONNECTED
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=0
wpa_driver_ipw_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
WEXT: Operstate: linkmode=0, operstate=6
Cancelling scan request


Ik denk dat ik de juiste driver genomen heb:
lspci:
Code:
02:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)

RpR

Legacy Member
Al veel verder geraakt.

Ipv de ipw driver heb ik de wext genomen.
Dan krijg ik bij het commando:
sudo wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf -dd
Code:
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=13):
     54 68 65 4c 69 67 68 74 68 6f 75 73 65            TheLighthouse   
proto: 0x1
key_mgmt: 0x2
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='TheLighthouse'
Initializing interface (2) 'eth1'
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
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:12:f0:36:fd:bd
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 291 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on WPA IE
Trying to associate with 00:17:31:e4:b6:eb (SSID='TheLighthouse' freq=0 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b1a len=22
Wireless event: cmd=0x8b19 len=8
Received 292 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:17:31:e4:b6:eb ssid='TheLighthouse' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
   selected based on WPA IE
Already associated with the selected AP.
RSN: Ignored PMKID candidate without preauth flag
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:17:31:e4:b6:eb
State: ASSOCIATING -> ASSOCIATED
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:17:31:e4:b6:eb
No keys have been configured - skip key clearing
Associated with 00:17:31:e4:b6:eb
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RX EAPOL from 00:17:31:e4:b6:eb
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 00 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_nonce - hexdump(len=32): bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 00 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:17:31:e4:b6:eb (ver=1)
WPA: Renewed SNonce - hexdump(len=32): 0a f5 89 72 be 93 ff 4c 6f 34 06 70 3e 1d ac 44 1a d5 14 97 4f 02 0c fb 33 29 64 4f 9c 7a 9c 0d
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 00 0a f5 89 72 be 93 ff 4c 6f 34 06 70 3e 1d ac 44 1a d5 14 97 4f 02 0c fb 33 29 64 4f 9c 7a 9c 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3e bb 95 af aa a6 1e 2d 10 65 f7 cb 92 25 bc e9 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
RX EAPOL from 00:17:31:e4:b6:eb
RX EAPOL - hexdump(len=125): 01 03 00 79 fe 01 c9 00 20 00 00 00 00 00 00 00 01 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd da b3 89 f3 e1 1b cf c5 ed 4c 24 51 f1 7e 35 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
IEEE 802.1X RX: version=1 type=3 length=121
  EAPOL-Key type=254
  key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
  key_length=32 key_data_length=26
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): dd da b3 89 f3 e1 1b cf c5 ed 4c 24 51 f1 7e 35
WPA: RX EAPOL-Key - hexdump(len=125): 01 03 00 79 fe 01 c9 00 20 00 00 00 00 00 00 00 01 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 87 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd da b3 89 f3 e1 1b cf c5 ed 4c 24 51 f1 7e 35 00 1a dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:17:31:e4:b6:eb (ver=1)
WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: Sending EAPOL-Key 4/4
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc 24 c8 32 38 8c da 32 a4 e7 fa 59 41 48 f4 a9 00 00
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RX EAPOL from 00:17:31:e4:b6:eb
RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 02 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 7d c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 88 96 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 6b 92 70 c9 ed 5b 53 a6 a0 55 1e 5c ab bf ea 00 20 77 2f 44 50 60 a1 39 58 d3 f4 3e 8a ab de 79 ab 20 5b 8e 67 db 3a 50 2a 1d 7e 70 94 95 f3 5f 4a
IEEE 802.1X RX: version=1 type=3 length=127
  EAPOL-Key type=254
  key_info 0x391 (ver=1 keyidx=1 rsvd=0 Group Ack MIC Secure)
  key_length=32 key_data_length=32
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 7d
  key_iv - hexdump(len=16): c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 88
  key_rsc - hexdump(len=8): 96 08 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 55 6b 92 70 c9 ed 5b 53 a6 a0 55 1e 5c ab bf ea
WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 02 bf af 09 f3 a2 00 33 dd 34 61 b6 9e 4f 91 58 36 c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 7d c8 56 8f 7c 9f ea df 89 a3 2e 3c 6e 3e 6f 36 88 96 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 6b 92 70 c9 ed 5b 53 a6 a0 55 1e 5c ab bf ea 00 20 77 2f 44 50 60 a1 39 58 d3 f4 3e 8a ab de 79 ab 20 5b 8e 67 db 3a 50 2a 1d 7e 70 94 95 f3 5f 4a
WPA: RX message 1 of Group Key or STAKey Handshake from 00:17:31:e4:b6:eb (ver=1)
State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): 96 08 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_len=6 key_len=32
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 03 11 00 20 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 86 2a aa cb 33 6b 11 4f 44 7a fa d1 b0 a1 ce 00 00
WPA: Key negotiation completed with 00:17:31:e4:b6:eb [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:17:31:e4:b6:eb completed (auth) [id=0 id_str=]
WEXT: Operstate: linkmode=-1, operstate=6
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
EAPOL: startWhen --> 0
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: COMPLETED -> DISCONNECTED
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_deauthenticate
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
WEXT: Operstate: linkmode=0, operstate=6
Cancelling scan request

Dan blijft wel mijn terminal "hangen". Hij is bezig zoals je bv een programma lanceert vanuit terminal.

Dan heb ik mijn /etc/network/interfaces aangepast naar:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-conf /etc/supplicant.conf

Dan gebeurd er bij een sudo /etc/init.d/network
dit:
Code:
 * Configuring network interfaces...                                                                                                                         There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0e:7b:95:6c:6e
Sending on   LPF/eth0/00:0e:7b:95:6c:6e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.3 -- renewal in 36977 seconds.

rpr@lt-it-tom:~$ sudo /etc/init.d/networking start > /home/rpr/Desktop/test 
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:12:f0:36:fd:bd
Sending on   LPF/eth1/00:12:f0:36:fd:bd
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Dus de network file staat nog niet juist om wpa_supplicant te lanceren.
Iemand die weet wat er fout is?

GuntherDW

Legacy Member
wpa_supplicant is ni echt tof om direkt mee laten runnen in een linux dist, zelfs gentoo laat niet volautomatisch DHCP toe als ge wpa hebt :(

edit: uw dist heeft het precies al late runne, kill eerst die pid eens en rerun het dan es, mss ligt het daar aan (beiden DHCP request tegelijk -> no good ^^)

RpR

Legacy Member
GuntherDW zei:
wpa_supplicant is ni echt tof om direkt mee laten runnen in een linux dist, zelfs gentoo laat niet volautomatisch DHCP toe als ge wpa hebt :(

edit: uw dist heeft het precies al late runne, kill eerst die pid eens en rerun het dan es, mss ligt het daar aan (beiden DHCP request tegelijk -> no good ^^)

Ondertussen werkt het.
Was gewoon eens de wpa_supplicant file deleten (Die in de logs)


Daarna gewoon terug met die preup gewerkt maar -Bd toegevoegd zodat deze in achtergrond draait en nu werkt wpa perfect. Reden van 2 maal dhcp is simpel. Op mijn draad verbinding werk ik en betaal ik die verbinding. Voor te downloaden doe ik het via wireless gratis en onbeperkt :d

RpR

Legacy Member
Iemand een voorbeeld hoe ik naast mijn 1 netwerk nu nog kan verbinden naar de telenet hotspots?

Dit is mijn /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant

network={
         ssid="TELENETHOTSPOT"
         key_mgmt=NONE
}

network={
        ssid="TheLighthouse"
	#scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
        psk=##############################################
}
Als ik alleen TheLighthouse zet dan werkt die thuis perfect. Nu wil ik hier op een telenet hotspot en dat werkt dus niet. Iemand een idee?

RpR

Legacy Member
RpR zei:
Iemand een voorbeeld hoe ik naast mijn 1 netwerk nu nog kan verbinden naar de telenet hotspots?

Dit is mijn /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant

network={
         ssid="TELENETHOTSPOT"
         key_mgmt=NONE
}

network={
        ssid="TheLighthouse"
	#scan_ssid=1
	proto=WPA
	key_mgmt=WPA-PSK
        psk=##############################################
}
Als ik alleen TheLighthouse zet dan werkt die thuis perfect. Nu wil ik hier op een telenet hotspot en dat werkt dus niet. Iemand een idee?
Opgelost. Mijn laptop wireless kill switch stond aan :doh:
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan