LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-24-2017, 04:56 PM   #76
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483

Quote:
I think you ran a different command, given that I don't see wext but do see nl80211 in the output.

Please run
Reminder he does not have wired connection. He is typing it out.
think in advance option he can submit a photo from a camera.
that would help.
Attached Thumbnails
Click image for larger version

Name:	wifi.test.jpeg
Views:	24
Size:	88.2 KB
ID:	26603  
 
Old 12-24-2017, 05:03 PM   #77
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Drakeo View Post
time to scan for wireless connections

run as root.

iwlist command to ask the device
wlan0 to
scanning
The pipe command "|" lets use two or more commands such that output of one command serves as input to an output.
grep is the second command it is a great basic search program.

tell it to look for ESSID And Frequency.
and out puts it for you.
We get Richard out put oh his toshiba laptop.
Code:
iwlist wlan0 scanning | grep -e ESSID -e Frequency
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"KeepOutwifi"
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"CenturyLink1000"
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"belkin.a38.guests"
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"CenturyLink6603"
                    Frequency:2.412 GHz (Channel 1)
                    ESSID:"belkin.a38"
                    Frequency:2.437 GHz (Channel 6)
                    ESSID:"TG1672G12"
                    Frequency:2.447 GHz (Channel 8)
                    ESSID:"tl756064-EXT"
                    Frequency:2.447 GHz (Channel 8)
                    ESSID:"NETGEAR68"
                    Frequency:2.452 GHz (Channel 9)
                    ESSID:""
                    Frequency:2.457 GHz (Channel 10)
                    ESSID:"TP-LINK_50D8"
I scanned for wireless connections and got:

Code:
ESSID:"MyNetwork"
Frequency:2.412 GHz (Channel 1)
And just like Richard Cranium's, it outputted other networks in my area.
 
Old 12-24-2017, 05:08 PM   #78
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
I think you ran a different command, given that I don't see wext but do see nl80211 in the output.

Please run
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
I double checked, and I ran the command you gave me.
 
Old 12-24-2017, 05:10 PM   #79
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Drakeo View Post
Reminder he does not have wired connection. He is typing it out.
think in advance option he can submit a photo from a camera.
that would help.
I've tried uploading a photo I took with my phone through the advanced options but it says the file size is too large.
 
Old 12-24-2017, 05:17 PM   #80
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Sorry for the delay (and thanks for the assists @Drakeo and @Richard Cranium), I've been busy prepping the house for a dinner party all day and it left me with little time to be on the computer. They should be here in like 20 minutes, so I have a bit of time to cool down and clear my head

@WBP, based on one of your previous posts, you mentioned you have multiple entries in your /etc/wpa_supplicant.conf. Let's remove it so you only have one. Maybe it isn't liking the password and just wants the hexadecimal psk.

I would change it so it just has these lines on the top and nothing else.

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
Then I would rerun that wpa_passphrase script with your ssid and passphrase.

Code:
wpa_supplicant your_ssid your_passphrase
If this continues to time out, it seems like it is probably a driver problem and we could look into getting a different driver for your device. Unfortunately, I probably won't be available for a good chunk of the night, but I'll be on here tomorrow (and possibly late tonight depending on how late the party goes and how tired I am afterwards) if the others are away.
 
Old 12-24-2017, 05:20 PM   #81
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
@WBP, I expected to see output very similar to your earlier post (https://www.linuxquestions.org/quest...ml#post5797362) only with additional debug information.
 
Old 12-24-2017, 05:33 PM   #82
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
For example (I don't have your usb dongle, so the output will probably not be the same), when I turn networkmanager off and run
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
, I get
Code:
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' 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'
ctrl_interface_group='root'
Priority group 0
   id=0 ssid='Keepoutwifi'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: rtl8192ce
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
wlan0: Own MAC address: 68:a3:c4:b9:61:6d
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
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 3fbf323f-01c0-51e2-b9df-f3d9722a6a0f
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0 (from group name 'root')
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x24e55a0 after 0.000018 second wait
Scan requested (ret=0) - scan timeout 10 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=16
wlan0: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Received 4901 bytes of scan results (8 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' freq 2412
wlan0: BSS: Add new id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' freq 2447
wlan0: BSS: Add new id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' freq 2412
wlan0: BSS: Add new id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' freq 2412
wlan0: BSS: Add new id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' freq 2412
wlan0: BSS: Add new id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' freq 2447
wlan0: BSS: Add new id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' freq 2457
wlan0: BSS: Add new id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' freq 2412
BSS: last_scan_res_used=8/32
wlan0: New scan results available (own=0 ext=0)
WPS: AP ac:ec:80:68:cb:b0 type 0 added
WPS: AP 02:9b:cd:04:32:d6 type 0 added
WPS: AP 08:86:3b:64:0a:38 type 0 added
WPS: AP 04:bf:6d:ae:82:2f type 0 added
WPS: AP 28:c6:8e:72:32:61 type 0 added
WPS: AP f4:f2:6d:b3:50:d8 type 0 added
WPS: AP c4:ea:1d:72:34:a9 type 0 added
WPS: AP[0] ac:ec:80:68:cb:b0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 02:9b:cd:04:32:d6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 08:86:3b:64:0a:38 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] 04:bf:6d:ae:82:2f type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[4] 28:c6:8e:72:32:61 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[5] f4:f2:6d:b3:50:d8 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[6] c4:ea:1d:72:34:a9 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
wlan0: Radio work 'scan'@0x24e55a0 done in 0.912426 seconds
wlan0: radio_work_free('scan'@0x24e55a0: num_active_works --> 0
wlan0: Selecting BSS from priority group 0
wlan0: 0: ac:ec:80:68:cb:b0 ssid='Keepoutwifi' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-48 freq=2412  wps
wlan0:    selected based on RSN IE
wlan0:    selected BSS ac:ec:80:68:cb:b0 ssid='Keepoutwifi'
wlan0: Considering connect request: reassociate: 0  selected: ac:ec:80:68:cb:b0  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0x24c5210  current_ssid=(nil)
wlan0: Request association with ac:ec:80:68:cb:b0
wlan0: Add radio work 'connect'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'connect'@0x24e55a0 after 0.000019 second wait
wlan0: Trying to associate with ac:ec:80:68:cb:b0 (SSID='Keepoutwifi' freq=2412 MHz)
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x24c5210 try_opportunistic=0
RSN: Search for BSSID ac:ec:80:68:cb:b0
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID ac:ec:80:68:cb:b0 freq=2412 MHz based on scan results (bssid_set=0)
wlan0: Determining shared radio frequencies (max len 1)
wlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=26
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c08 len=185
AssocResp IE wireless event - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: ac:ec:80:68:cb:b0
wlan0: Event ASSOCINFO (4) received
wlan0: Association info event
resp_ies - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
wlan0: Event ASSOC (0) received
wlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: Associated to a new BSS: BSSID=ac:ec:80:68:cb:b0
wlan0: Associated with ac:ec:80:68:cb:b0
wlan0: WPA: Association event - clear replay counter
wlan0: WPA: Clear old PTK
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: enable timer tick
EAPOL: SUPP_BE entering state IDLE
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: Cancelling scan request
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=99
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: IEEE 802.1X RX: version=1 type=3 length=95
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
wlan0:   key_length=16 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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
wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 1 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: PTK derivation - A1=68:a3:c4:b9:61:6d A2=ac:ec:80:68:cb:b0
WPA: Nonce1 - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: Nonce2 - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: KEK - hexdump(len=16): [REMOVED]
WPA: TK - hexdump(len=16): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
wlan0: WPA: Sending EAPOL-Key 2/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 61 0a 49 80 4b 58 2e 1e 0c 14 a0 73 49 85 5f 6b
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=155
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: IEEE 802.1X RX: version=1 type=3 length=151
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
wlan0:   key_length=16 key_data_length=56
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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): 52 0d 01 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 15 bf c5 df b9 93 09 59 eb b4 a4 1c 8e 69 a2 26
RSN: encrypted key data - hexdump(len=56): c9 e4 ad 7a 8c eb de 41 74 d8 af 35 5f dd 90 22 ec f4 1b cd 02 49 f7 dd 9c 00 ad 06 56 e1 af 5a fb 56 69 34 37 47 ad 45 b6 2c 15 99 17 b2 06 22 e5 79 16 c8 a9 07 61 46
WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
wlan0: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 3 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 3e e7 86 c7 b6 ca 48 42 ec db 39 d2 51 b6 b3 c1 dd 00
WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
wlan0: WPA: Sending EAPOL-Key 4/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 55 b6 ca 2b 9b 7f 6b 71 60 19 6b f3 71 78 c7 f5
wlan0: WPA: Installing PTK to the driver
wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16
EAPOL: External notification - portValid=1
wlan0: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
WPA: Group Key - hexdump(len=16): [REMOVED]
wlan0: WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16)
WPA: RSC - hexdump(len=6): 52 0d 01 00 00 00
wpa_driver_wext_set_key: alg=3 key_idx=1 set_tx=0 seq_len=6 key_len=16
wlan0: WPA: Key negotiation completed with ac:ec:80:68:cb:b0 [PTK=CCMP GTK=CCMP]
wlan0: Cancelling authentication timeout
wlan0: State: GROUP_HANDSHAKE -> COMPLETED
wlan0: Radio work 'connect'@0x24e55a0 done in 0.471891 seconds
wlan0: radio_work_free('connect'@0x24e55a0: num_active_works --> 0
wlan0: CTRL-EVENT-CONNECTED - Connection to ac:ec:80:68:cb:b0 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
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: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed - result=SUCCESS
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
EAPOL: startWhen --> 0
EAPOL: disable timer tick
^Cwlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=ac:ec:80:68:cb:b0 pending_bssid=00:00:00:00:00:00 reason=3 state=COMPLETED
wpa_driver_wext_deauthenticate
wlan0: Event DEAUTH (12) received
wlan0: Deauthentication notification
wlan0:  * reason 3 (locally generated)
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:ec:80:68:cb:b0 reason=3 locally_generated=1
wlan0: Auto connect disabled: do not try to re-connect
wlan0: Ignore connection failure indication since interface has been put into disconnected state
wlan0: WPA: Clear old PMK and PTK
wlan0: Disconnect event - remove keys
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=0 set_tx=0 seq_len=0 key_len=0
wlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
wlan0: WPA: Clear old PMK and PTK
wlan0: BSS: Remove id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' due to wpa_bss_flush
wlan0: BSS: Remove id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' due to wpa_bss_flush
wlan0: BSS: Remove id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' due to wpa_bss_flush
wlan0: BSS: Remove id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' due to wpa_bss_flush
wlan0: BSS: Remove id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' due to wpa_bss_flush
wlan0: BSS: Remove id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' due to wpa_bss_flush
wlan0: BSS: Remove id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' due to wpa_bss_flush
wlan0: BSS: Remove id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' due to wpa_bss_flush
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
Remove interface wlan0 from radio phy0
Remove radio phy0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
The equivalent of the line I've put in bold in my debug output in your debug output is
Quote:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
I honestly believe that you somehow left off the -Dwext bit.

Last edited by Richard Cranium; 12-24-2017 at 05:41 PM.
 
1 members found this post helpful.
Old 12-24-2017, 05:46 PM   #83
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I recognize that output is far too much crap to re-type on another machine; do you have a USB stick available? You should be able to mount one of those on the Linux machine, redirect output to it, unmount, and then mount on the windows box.

The command
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf | tee /tmp/wpa_trace.txt
should allow you to see the output on the console as well as save it to a file (/tmp/wpa_trace.txt in this case).
 
1 members found this post helpful.
Old 12-24-2017, 06:21 PM   #84
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Sorry for the delay (and thanks for the assists @Drakeo and @Richard Cranium), I've been busy prepping the house for a dinner party all day and it left me with little time to be on the computer. They should be here in like 20 minutes, so I have a bit of time to cool down and clear my head

@WBP, based on one of your previous posts, you mentioned you have multiple entries in your /etc/wpa_supplicant.conf. Let's remove it so you only have one. Maybe it isn't liking the password and just wants the hexadecimal psk.

I would change it so it just has these lines on the top and nothing else.

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
Then I would rerun that wpa_passphrase script with your ssid and passphrase.

Code:
wpa_supplicant your_ssid your_passphrase


If this continues to time out, it seems like it is probably a driver problem and we could look into getting a different driver for your device. Unfortunately, I probably won't be available for a good chunk of the night, but I'll be on here tomorrow (and possibly late tonight depending on how late the party goes and how tired I am afterwards) if the others are away.
@bassmadrigal, no worries at all. I appreciate all the help that I'm getting.

I changed /etc/wpa_supplicant.conf back to how it was originally then ran:

Code:
 wpa_supplicant my_ssid my_passphrase
And got the following output:

Code:
Successfully initialized wpa_supplicant
wpa_supplicant v2.5
There was also other info such as copyright, usage, drivers, options, as well as an example for the usage of the command.

I then started the wicd daemon and tried to connect through the gui but it gave me the error:

Code:
myNetworkName: Connection failed: Bad password
 
Old 12-24-2017, 06:31 PM   #85
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
For example (I don't have your usb dongle, so the output will probably not be the same), when I turn networkmanager off and run
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
, I get
Code:
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' 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'
ctrl_interface_group='root'
Priority group 0
   id=0 ssid='Keepoutwifi'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: rtl8192ce
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
wlan0: Own MAC address: 68:a3:c4:b9:61:6d
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
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 3fbf323f-01c0-51e2-b9df-f3d9722a6a0f
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0 (from group name 'root')
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x24e55a0 after 0.000018 second wait
Scan requested (ret=0) - scan timeout 10 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=16
wlan0: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Received 4901 bytes of scan results (8 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' freq 2412
wlan0: BSS: Add new id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' freq 2447
wlan0: BSS: Add new id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' freq 2412
wlan0: BSS: Add new id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' freq 2412
wlan0: BSS: Add new id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' freq 2412
wlan0: BSS: Add new id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' freq 2447
wlan0: BSS: Add new id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' freq 2457
wlan0: BSS: Add new id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' freq 2412
BSS: last_scan_res_used=8/32
wlan0: New scan results available (own=0 ext=0)
WPS: AP ac:ec:80:68:cb:b0 type 0 added
WPS: AP 02:9b:cd:04:32:d6 type 0 added
WPS: AP 08:86:3b:64:0a:38 type 0 added
WPS: AP 04:bf:6d:ae:82:2f type 0 added
WPS: AP 28:c6:8e:72:32:61 type 0 added
WPS: AP f4:f2:6d:b3:50:d8 type 0 added
WPS: AP c4:ea:1d:72:34:a9 type 0 added
WPS: AP[0] ac:ec:80:68:cb:b0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 02:9b:cd:04:32:d6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 08:86:3b:64:0a:38 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] 04:bf:6d:ae:82:2f type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[4] 28:c6:8e:72:32:61 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[5] f4:f2:6d:b3:50:d8 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[6] c4:ea:1d:72:34:a9 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
wlan0: Radio work 'scan'@0x24e55a0 done in 0.912426 seconds
wlan0: radio_work_free('scan'@0x24e55a0: num_active_works --> 0
wlan0: Selecting BSS from priority group 0
wlan0: 0: ac:ec:80:68:cb:b0 ssid='Keepoutwifi' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-48 freq=2412  wps
wlan0:    selected based on RSN IE
wlan0:    selected BSS ac:ec:80:68:cb:b0 ssid='Keepoutwifi'
wlan0: Considering connect request: reassociate: 0  selected: ac:ec:80:68:cb:b0  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0x24c5210  current_ssid=(nil)
wlan0: Request association with ac:ec:80:68:cb:b0
wlan0: Add radio work 'connect'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'connect'@0x24e55a0 after 0.000019 second wait
wlan0: Trying to associate with ac:ec:80:68:cb:b0 (SSID='Keepoutwifi' freq=2412 MHz)
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x24c5210 try_opportunistic=0
RSN: Search for BSSID ac:ec:80:68:cb:b0
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID ac:ec:80:68:cb:b0 freq=2412 MHz based on scan results (bssid_set=0)
wlan0: Determining shared radio frequencies (max len 1)
wlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=26
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c08 len=185
AssocResp IE wireless event - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: ac:ec:80:68:cb:b0
wlan0: Event ASSOCINFO (4) received
wlan0: Association info event
resp_ies - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
wlan0: Event ASSOC (0) received
wlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: Associated to a new BSS: BSSID=ac:ec:80:68:cb:b0
wlan0: Associated with ac:ec:80:68:cb:b0
wlan0: WPA: Association event - clear replay counter
wlan0: WPA: Clear old PTK
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: enable timer tick
EAPOL: SUPP_BE entering state IDLE
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: Cancelling scan request
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=99
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: IEEE 802.1X RX: version=1 type=3 length=95
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
wlan0:   key_length=16 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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
wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 1 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: PTK derivation - A1=68:a3:c4:b9:61:6d A2=ac:ec:80:68:cb:b0
WPA: Nonce1 - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: Nonce2 - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: KEK - hexdump(len=16): [REMOVED]
WPA: TK - hexdump(len=16): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
wlan0: WPA: Sending EAPOL-Key 2/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 61 0a 49 80 4b 58 2e 1e 0c 14 a0 73 49 85 5f 6b
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=155
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: IEEE 802.1X RX: version=1 type=3 length=151
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
wlan0:   key_length=16 key_data_length=56
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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): 52 0d 01 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 15 bf c5 df b9 93 09 59 eb b4 a4 1c 8e 69 a2 26
RSN: encrypted key data - hexdump(len=56): c9 e4 ad 7a 8c eb de 41 74 d8 af 35 5f dd 90 22 ec f4 1b cd 02 49 f7 dd 9c 00 ad 06 56 e1 af 5a fb 56 69 34 37 47 ad 45 b6 2c 15 99 17 b2 06 22 e5 79 16 c8 a9 07 61 46
WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
wlan0: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 3 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 3e e7 86 c7 b6 ca 48 42 ec db 39 d2 51 b6 b3 c1 dd 00
WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
wlan0: WPA: Sending EAPOL-Key 4/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 55 b6 ca 2b 9b 7f 6b 71 60 19 6b f3 71 78 c7 f5
wlan0: WPA: Installing PTK to the driver
wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16
EAPOL: External notification - portValid=1
wlan0: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
WPA: Group Key - hexdump(len=16): [REMOVED]
wlan0: WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16)
WPA: RSC - hexdump(len=6): 52 0d 01 00 00 00
wpa_driver_wext_set_key: alg=3 key_idx=1 set_tx=0 seq_len=6 key_len=16
wlan0: WPA: Key negotiation completed with ac:ec:80:68:cb:b0 [PTK=CCMP GTK=CCMP]
wlan0: Cancelling authentication timeout
wlan0: State: GROUP_HANDSHAKE -> COMPLETED
wlan0: Radio work 'connect'@0x24e55a0 done in 0.471891 seconds
wlan0: radio_work_free('connect'@0x24e55a0: num_active_works --> 0
wlan0: CTRL-EVENT-CONNECTED - Connection to ac:ec:80:68:cb:b0 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
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: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed - result=SUCCESS
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
EAPOL: startWhen --> 0
EAPOL: disable timer tick
^Cwlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=ac:ec:80:68:cb:b0 pending_bssid=00:00:00:00:00:00 reason=3 state=COMPLETED
wpa_driver_wext_deauthenticate
wlan0: Event DEAUTH (12) received
wlan0: Deauthentication notification
wlan0:  * reason 3 (locally generated)
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:ec:80:68:cb:b0 reason=3 locally_generated=1
wlan0: Auto connect disabled: do not try to re-connect
wlan0: Ignore connection failure indication since interface has been put into disconnected state
wlan0: WPA: Clear old PMK and PTK
wlan0: Disconnect event - remove keys
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=0 set_tx=0 seq_len=0 key_len=0
wlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
wlan0: WPA: Clear old PMK and PTK
wlan0: BSS: Remove id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' due to wpa_bss_flush
wlan0: BSS: Remove id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' due to wpa_bss_flush
wlan0: BSS: Remove id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' due to wpa_bss_flush
wlan0: BSS: Remove id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' due to wpa_bss_flush
wlan0: BSS: Remove id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' due to wpa_bss_flush
wlan0: BSS: Remove id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' due to wpa_bss_flush
wlan0: BSS: Remove id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' due to wpa_bss_flush
wlan0: BSS: Remove id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' due to wpa_bss_flush
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
Remove interface wlan0 from radio phy0
Remove radio phy0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
The equivalent of the line I've put in bold in my debug output in your debug output is I honestly believe that you somehow left off the -Dwext bit.
I'm very sorry. I rechecked it again and while I did have "Dwext" I forgot to add the "-". I ran the command again, and now it's currently outputting info.
 
Old 12-24-2017, 06:34 PM   #86
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
I recognize that output is far too much crap to re-type on another machine; do you have a USB stick available? You should be able to mount one of those on the Linux machine, redirect output to it, unmount, and then mount on the windows box.

The command
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf | tee /tmp/wpa_trace.txt
should allow you to see the output on the console as well as save it to a file (/tmp/wpa_trace.txt in this case).
I do have one kicking around here somewhere. I just moved so I'll have to look through a few boxes. Also, I never mounted a usb thumb drive before, so it might be a little bit before I reply. I will get you both pieces of info you requested. Thanks for your patience.
 
Old 12-24-2017, 08:16 PM   #87
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
For example (I don't have your usb dongle, so the output will probably not be the same), when I turn networkmanager off and run
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
, I get
Code:
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' 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'
ctrl_interface_group='root'
Priority group 0
   id=0 ssid='Keepoutwifi'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: rtl8192ce
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
wlan0: Own MAC address: 68:a3:c4:b9:61:6d
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
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 3fbf323f-01c0-51e2-b9df-f3d9722a6a0f
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0 (from group name 'root')
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x24e55a0 after 0.000018 second wait
Scan requested (ret=0) - scan timeout 10 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=16
wlan0: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Received 4901 bytes of scan results (8 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' freq 2412
wlan0: BSS: Add new id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' freq 2447
wlan0: BSS: Add new id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' freq 2412
wlan0: BSS: Add new id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' freq 2412
wlan0: BSS: Add new id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' freq 2412
wlan0: BSS: Add new id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' freq 2447
wlan0: BSS: Add new id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' freq 2457
wlan0: BSS: Add new id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' freq 2412
BSS: last_scan_res_used=8/32
wlan0: New scan results available (own=0 ext=0)
WPS: AP ac:ec:80:68:cb:b0 type 0 added
WPS: AP 02:9b:cd:04:32:d6 type 0 added
WPS: AP 08:86:3b:64:0a:38 type 0 added
WPS: AP 04:bf:6d:ae:82:2f type 0 added
WPS: AP 28:c6:8e:72:32:61 type 0 added
WPS: AP f4:f2:6d:b3:50:d8 type 0 added
WPS: AP c4:ea:1d:72:34:a9 type 0 added
WPS: AP[0] ac:ec:80:68:cb:b0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[1] 02:9b:cd:04:32:d6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[2] 08:86:3b:64:0a:38 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[3] 04:bf:6d:ae:82:2f type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[4] 28:c6:8e:72:32:61 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[5] f4:f2:6d:b3:50:d8 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
WPS: AP[6] c4:ea:1d:72:34:a9 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
wlan0: Radio work 'scan'@0x24e55a0 done in 0.912426 seconds
wlan0: radio_work_free('scan'@0x24e55a0: num_active_works --> 0
wlan0: Selecting BSS from priority group 0
wlan0: 0: ac:ec:80:68:cb:b0 ssid='Keepoutwifi' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-48 freq=2412  wps
wlan0:    selected based on RSN IE
wlan0:    selected BSS ac:ec:80:68:cb:b0 ssid='Keepoutwifi'
wlan0: Considering connect request: reassociate: 0  selected: ac:ec:80:68:cb:b0  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0x24c5210  current_ssid=(nil)
wlan0: Request association with ac:ec:80:68:cb:b0
wlan0: Add radio work 'connect'@0x24e55a0
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'connect'@0x24e55a0 after 0.000019 second wait
wlan0: Trying to associate with ac:ec:80:68:cb:b0 (SSID='Keepoutwifi' freq=2412 MHz)
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x24c5210 try_opportunistic=0
RSN: Search for BSSID ac:ec:80:68:cb:b0
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Limit connection to BSSID ac:ec:80:68:cb:b0 freq=2412 MHz based on scan results (bssid_set=0)
wlan0: Determining shared radio frequencies (max len 1)
wlan0: Shared frequencies (len=0): completed iteration
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=26
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8c08 len=185
AssocResp IE wireless event - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: ac:ec:80:68:cb:b0
wlan0: Event ASSOCINFO (4) received
wlan0: Association info event
resp_ies - hexdump(len=169): 01 08 82 84 8b 96 12 24 48 6c 32 04 0c 18 30 60 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 2d 1a ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 3d 16 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1e 00 90 4c 33 ec 01 17 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18 46 47 11 00 dd 1a 00 90 4c 34 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 04 01 00 00 00 dd 07 00 0c 43 03 00 00 00
wlan0: Event ASSOC (0) received
wlan0: State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: Associated to a new BSS: BSSID=ac:ec:80:68:cb:b0
wlan0: Associated with ac:ec:80:68:cb:b0
wlan0: WPA: Association event - clear replay counter
wlan0: WPA: Clear old PTK
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: enable timer tick
EAPOL: SUPP_BE entering state IDLE
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: Cancelling scan request
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=99
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: IEEE 802.1X RX: version=1 type=3 length=95
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
wlan0:   key_length=16 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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
wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 1 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: PTK derivation - A1=68:a3:c4:b9:61:6d A2=ac:ec:80:68:cb:b0
WPA: Nonce1 - hexdump(len=32): fc d9 da af 53 2a a5 6e 6e 2f ee 5c b6 3b ae b6 f4 45 19 0d da 37 3e 64 22 51 61 d4 66 b8 3b f7
WPA: Nonce2 - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: KEK - hexdump(len=16): [REMOVED]
WPA: TK - hexdump(len=16): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
wlan0: WPA: Sending EAPOL-Key 2/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 61 0a 49 80 4b 58 2e 1e 0c 14 a0 73 49 85 5f 6b
l2_packet_receive: src=ac:ec:80:68:cb:b0 len=155
wlan0: RX EAPOL from ac:ec:80:68:cb:b0
wlan0: IEEE 802.1X RX: version=1 type=3 length=151
wlan0:   EAPOL-Key type=2
wlan0:   key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
wlan0:   key_length=16 key_data_length=56
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
  key_nonce - hexdump(len=32): a7 8d 2a 01 ba cb 2c dd 4d e5 a3 c9 f1 4a d4 4c 7b 1a 71 6f ca 2c ce 0e 08 fc f4 2e cb ca 56 8c
  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): 52 0d 01 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 15 bf c5 df b9 93 09 59 eb b4 a4 1c 8e 69 a2 26
RSN: encrypted key data - hexdump(len=56): c9 e4 ad 7a 8c eb de 41 74 d8 af 35 5f dd 90 22 ec f4 1b cd 02 49 f7 dd 9c 00 ad 06 56 e1 af 5a fb 56 69 34 37 47 ad 45 b6 2c 15 99 17 b2 06 22 e5 79 16 c8 a9 07 61 46
WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
wlan0: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
wlan0: WPA: RX message 3 of 4-Way Handshake from ac:ec:80:68:cb:b0 (ver=2)
WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 3e e7 86 c7 b6 ca 48 42 ec db 39 d2 51 b6 b3 c1 dd 00
WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
wlan0: WPA: Sending EAPOL-Key 4/4
WPA: KCK - hexdump(len=16): [REMOVED]
WPA: Derived Key MIC - hexdump(len=16): 55 b6 ca 2b 9b 7f 6b 71 60 19 6b f3 71 78 c7 f5
wlan0: WPA: Installing PTK to the driver
wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16
EAPOL: External notification - portValid=1
wlan0: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
WPA: Group Key - hexdump(len=16): [REMOVED]
wlan0: WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16)
WPA: RSC - hexdump(len=6): 52 0d 01 00 00 00
wpa_driver_wext_set_key: alg=3 key_idx=1 set_tx=0 seq_len=6 key_len=16
wlan0: WPA: Key negotiation completed with ac:ec:80:68:cb:b0 [PTK=CCMP GTK=CCMP]
wlan0: Cancelling authentication timeout
wlan0: State: GROUP_HANDSHAKE -> COMPLETED
wlan0: Radio work 'connect'@0x24e55a0 done in 0.471891 seconds
wlan0: radio_work_free('connect'@0x24e55a0: num_active_works --> 0
wlan0: CTRL-EVENT-CONNECTED - Connection to ac:ec:80:68:cb:b0 completed [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
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: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed - result=SUCCESS
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
EAPOL: startWhen --> 0
EAPOL: disable timer tick
^Cwlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=ac:ec:80:68:cb:b0 pending_bssid=00:00:00:00:00:00 reason=3 state=COMPLETED
wpa_driver_wext_deauthenticate
wlan0: Event DEAUTH (12) received
wlan0: Deauthentication notification
wlan0:  * reason 3 (locally generated)
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan0: CTRL-EVENT-DISCONNECTED bssid=ac:ec:80:68:cb:b0 reason=3 locally_generated=1
wlan0: Auto connect disabled: do not try to re-connect
wlan0: Ignore connection failure indication since interface has been put into disconnected state
wlan0: WPA: Clear old PMK and PTK
wlan0: Disconnect event - remove keys
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=0 set_tx=0 seq_len=0 key_len=0
wlan0: State: COMPLETED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
wlan0: WPA: Clear old PMK and PTK
wlan0: BSS: Remove id 0 BSSID ac:ec:80:68:cb:b0 SSID 'Keepoutwifi' due to wpa_bss_flush
wlan0: BSS: Remove id 1 BSSID 02:9b:cd:04:32:d6 SSID 'tl756064-EXT' due to wpa_bss_flush
wlan0: BSS: Remove id 2 BSSID 08:86:3b:64:0a:38 SSID 'belkin.a38' due to wpa_bss_flush
wlan0: BSS: Remove id 3 BSSID 08:86:3b:64:0a:39 SSID 'belkin.a38.guests' due to wpa_bss_flush
wlan0: BSS: Remove id 4 BSSID 04:bf:6d:ae:82:2f SSID 'CenturyLink6603' due to wpa_bss_flush
wlan0: BSS: Remove id 5 BSSID 28:c6:8e:72:32:61 SSID 'NETGEAR68' due to wpa_bss_flush
wlan0: BSS: Remove id 6 BSSID f4:f2:6d:b3:50:d8 SSID 'TP-LINK_50D8' due to wpa_bss_flush
wlan0: BSS: Remove id 7 BSSID c4:ea:1d:72:34:a9 SSID 'CenturyLink1000' due to wpa_bss_flush
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
Remove interface wlan0 from radio phy0
Remove radio phy0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
The equivalent of the line I've put in bold in my debug output in your debug output is I honestly believe that you somehow left off the -Dwext bit.
Okay, I reran:
Code:
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
and it outputted:
Code:
wpa_supplicant v2.5
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' 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'
ctrl_interface_group='root'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: r8712u
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio N/A
wlan0: Own MAC address: fc:xx:xx:xx:xx:b3
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
wlan0: RSN: flushing PMKID list in the driver
wlan0: State: DISCONNECTED -> INACTIVE
wlan0: WPS: UUID based on MAC address: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx3b01
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0 (from group name 'root')
wlan0: Added interface wlan0
wlan0: State: INACTIVE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
EAPOL: disable timer tick
Then it just hangs on the last line. After about 30mins I hit Ctrl-C, and got:

Code:
wlan0: Removing interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=DISCONNECTED
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_countermeasures
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Remove interface wlan0 from radio 
Remove radio 
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
wlan0: CTRL-EVENT-TERMINATING
 
Old 12-25-2017, 03:21 AM   #88
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
hi,
sorry to jump-in wpb.

if you move this particular computer you installed slackware 32bits on next to the router and use a cat5 cable to connect the computer ethernet plug to the router, does networkmanager successfully acquire an ip address ?

although you say
Quote:
Also, there isn't a problem with my network. I have two other devices connected and they're working fine.
your network may not have any issue but maybe it is not serving extra ip addresses ?

you are already through so much hassle w/ that usbdongle, it is worth resorting to physical actions.
 
Old 12-25-2017, 08:21 AM   #89
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
This is weird.

I assume that you're running all these commands as root. What do you get if you run this set of commands?
Code:
modprobe -r r8712u
modprobe r8712u
wpa_supplicant -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
You shouldn't have to wait more than a minute or two for the wpa_supplicant command to do what it has to do.

Another option is to download the wpa_supplicant upgraded package for Slackware 14.2, upgrade the version you have, and run the wpa_supplicant commands again. (I assume you found a USB stick.)
 
Old 12-25-2017, 03:11 PM   #90
WBP
Member
 
Registered: Dec 2017
Location: Canada
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
@_peter @Richard Cranium

Thank you for your replies, and your continued support. I have to head out for Christmas dinner, so I will be away from my computer(it's a desktop). Hopefully, I can get back to this tonight, if not I will tomorrow morning. Merry Christmas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.2 networking not working after enabling networkmanager lxgoblin Slackware 10 11-10-2017 07:23 AM
[SOLVED] Slackware current NetworkManager and DHCPv6 not working af7567 Slackware 2 03-08-2016 11:10 AM
usb ethernet adapter not working... t_lee Linux - Networking 2 07-03-2008 01:08 AM
sony ericsson (usb0) suddenly stops working with networkmanager ethernet usb netsurf Fedora 2 04-03-2008 09:44 PM
How do I get USB-Ethernet adapter working in Slackware 10.2 JAwuku Slackware 3 01-13-2006 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration