LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-14-2005, 02:06 AM   #1
arunsri
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 49

Rep: Reputation: 15
wpa_supplicant problem


I am running a FC3 and have an atheros wireless chipset.I got the madwifi driver installed and configured for the card and am able to access wireless networks that do not have an encryption key with ease.

So, for accessing encrypted N/W's i got the wpa supplicant and have compilied the binaries and installed it.But, I am not very sure of my config. file for this i.e., (wpa_supplicant.conf)

Here is how it looks:
# default, wpa_cli will use it when trying to connect with wpa_supplicant.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

#I just have this block in
network={
ssid="mynetwork"
psk= (my key in hex)
priority=5
}

So, after this when I run
$wpa_supplicant -i atho -D madwifi -c /etc/wpa_supplicant.conf

I get error as ssid "my network" could not be parsed. can anyone suggest what could be the problem?

Thanks
 
Old 03-14-2005, 03:50 AM   #2
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Is the interface up?
Try running wpa_supplicant with the -dd flag to enable debug output to get some clues
 
Old 03-15-2005, 09:10 PM   #3
arunsri
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 49

Original Poster
Rep: Reputation: 15
[root@localhost wpa_supplicant-0.3.8]# wpa_supplicant -c /etc/wpa_supplicant.conf -D madwifi -i ath0 -dd
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 264 - start of a new network block
Line 265: failed to parse ssid ' "mynetwork"'.
Line 265: failed to parse ssid ' "mynetwork"'.
scan_ssid=1 (0x1)
Line 268: unknown network field 'key_mgmt '.
Line 269: unknown network field 'WEP104'.
Line 270: unknown network field 'key_mgmt '.
priority=5 (0x5)
Line 272: WPA-PSK accepted for key management, but no PSK configured.
Line 272: failed to parse network block.
Failed to read configuration file '/etc/wpa_supplicant.conf'.
[root@localhost wpa_supplicant-0.3.8]#

Thats what I get @ the command prompt.
I have a 26bit(hex) WEP_key and once again this is how my network block in /etc/wpa_supplicant.conf looks like:

network={
ssid= "mynetwork"
scan_ssid=1
#psk= 2dd70a2b54c2df25f92152d853(I think I do not need this)
key_mgmt = IEEE8021X
WEP104= xxxxxxxxxxxxxxxxxxxxxxxxxx (my 26 bit key)
priority=5
}
 
  


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
wpa_supplicant Disconnect Problem roddefig Linux - Software 2 09-27-2010 08:37 AM
wpa_supplicant and ndiswrapper rabidus Linux - Wireless Networking 2 10-20-2005 10:02 AM
wpa_supplicant (AGAIN) gbergeson Linux - Laptop and Netbook 10 08-03-2005 08:28 AM
wpa_supplicant problems maddoggames Linux - Wireless Networking 2 01-22-2005 03:36 PM
WPA_Supplicant Fraudulent Linux - Wireless Networking 0 10-04-2004 07:07 AM

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

All times are GMT -5. The time now is 02:44 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