LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2014, 09:06 AM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Which lines are errors


Hi, Trying to get to my wifi WPA2 host but having no luck. Finally found a listing explaining some of the WPA/WPA2 variables meanings but the debub output of wpa_supplicant eludes me. I think some EAPOL stuff like Unauthorized and DISCONNECTED may be OK but I am not sure.
Can someone see if there is an error and what is the cause??
I do not get connected via dhclient wlan0. I get mixed info on whether to use rc.inet1.conf. Passphrase correctly built. My prob is the connection. Thanks
Code:
	Making modifications to /etc/rc.d/rc.inet1.conf
TESTA ESSID=Dogy Box PSWD=big mess
	Creating passphrase
TEST PSK=000000000000000000000000000000000000000000000000000000000000000
	Making modifications to /etc/wpa_supplicant.conf
TESTB ESSID=Dogy Box PSWD=big mess

	Making connection to Dogy Box WPA2 network
... WAIT.........
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='0'
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 15 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=15):
     48 61 70 70 79 20 43 61 74 20 50 69 7a 7a 61      Kity Pie 
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
priority=10 (0xa)
Line: 28 - start of a new network block
key_mgmt: 0x4
priority=0 (0x0)
Priority group 10
   id=0 ssid='Dogy Box'
Priority group 0
   id=1 ssid=''
SIOCGIWRANGE: WE(compiled)=22 WE(source)=19 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: aa:bb:cc:dd:ee:00
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
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): fe fe fe fe fe 08 5f 3d ab 4a fe c7 a2 26 18 fe
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
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Using existing control interface directory.
ctrl_interface_group=0
Added interface wlan0
Daemonize..

Last edited by nix84; 05-23-2014 at 09:08 AM.
 
Old 05-24-2014, 01:52 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,527

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
I would have that in wpa_supplicant.conf.

With Fedora 20 you may still have their old network script and also the networkmanager thing. Make sure you don't run both. I will mention man wpa_supplicant.conf, and wpa_passphrase. They may help
 
Old 05-25-2014, 12:51 AM   #3
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Thanks 4 the info on Fedora. Some info I read claimed use of the inet1.conf file cannot be used with wicd or the "network manager". My script is uses neither. I still need info on whether the lines shown are errors or statements of status which I should expect. Pretty sure the 2 lines in wpa_supplicant.conf for PSK & ESSID were correct and the passphrase was tested.

Last edited by nix84; 05-25-2014 at 12:54 AM.
 
Old 05-25-2014, 09:45 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,527

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
Why not update wpa_supplicant, stop all scripts, and then you can connect from the command line. Something like:

Code:
 wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -D wext && dhclient wlan0
That tests things. The above line is untested recently, btw.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Parse log file for errors and fetch variable number of lines before and after error jgm27 Linux - Newbie 4 07-18-2012 05:26 PM
[SOLVED] bash: sort lines in 2 files so that equal lines are at the same line number... masavini Programming 10 06-21-2012 01:58 PM
vimrc: persistent reports of errors in lines that were deleted escarpe Linux - Software 1 05-01-2012 03:54 PM
Delete Duplicate Lines in a file, leaving only the unique lines left xmrkite Linux - Software 6 01-14-2010 06:18 PM
Asterisk box to connect VoIP lines with normal telephone lines. sraju Linux - Software 1 11-08-2006 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:25 AM.

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