Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 18th February 2006, 04:02 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Quote:
Originally Posted by Darkmage
When you click on "Desktop -> System Settings -> Network" and put in the root password. Do you have a wireless connection setup? If you do highlight the wireless connection and click on edit. Make sure the "nickname" matches /etc/sysconfig/wpa_supplicants entiries.
Check your "Wireless settings" tab and the "Mode" should be Managed, "Network ssid" should be Auto
Ok, I did that, the nickname is eth1, but it is still not working.
Reply With Quote
  #32  
Old 18th February 2006, 05:19 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
edit /etc/sysconfig/wpa_supplicant and change INTERFACES="-iwlan0" to INTERFACES="-ieth1"
save your changes and click on Desktop -> Systems Settings -> Server Settings -> Services
type in the root password and scroll down to wpa_supplicant and restart the services or just restart your pc.
Basically everytime you make changes to wpa_supplcant, you to restart the running service.
Reply With Quote
  #33  
Old 18th February 2006, 06:29 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Quote:
Originally Posted by Darkmage
edit /etc/sysconfig/wpa_supplicant and change INTERFACES="-iwlan0" to INTERFACES="-ieth1"
save your changes and click on Desktop -> Systems Settings -> Server Settings -> Services
type in the root password and scroll down to wpa_supplicant and restart the services or just restart your pc.
Basically everytime you make changes to wpa_supplcant, you to restart the running service.
Ok, I tried that already. wpa_supplicant is able to start successfully but if I go into wpa_gui, there is still nothing under the adapter box. I even tried restarting the computer, but stil the same thing. Is there a way to try if wpa_supplicant works without using wpa_gui?
Reply With Quote
  #34  
Old 18th February 2006, 04:30 PM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
@letmein
Do a search for wpa_supplicant in the "How To Articles" section and there is another section "how to" that explained the command line interface.

Also, if the gui interface is not working, I doubt the command line interface will work.
open a terminal/konsole and type in
Code:
ntsysv
scroll down to wpa_supplicant and does it have a checkmark on it?
Reply With Quote
  #35  
Old 19th February 2006, 01:57 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
I dont have ntsysv, that might be the problem.

[root@localhost Jim]# ntsysv
bash: ntsysv: command not found
[root@localhost Jim]#
Reply With Quote
  #36  
Old 19th February 2006, 04:46 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Quote:
Originally Posted by letmein
I dont have ntsysv, that might be the problem.

[root@localhost Jim]# ntsysv
bash: ntsysv: command not found
[root@localhost Jim]#
I meant /usr/sbin/ntsysv or navigate to Desktop menu -> System Settings -> Server Settings -> services, then you type the root password and what is the status of wpa_supplicant
Reply With Quote
  #37  
Old 20th February 2006, 03:49 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
I have decided to reformat my Fedora partition due to screwing up something else, hopfully it will work better after a reinstall.
Reply With Quote
  #38  
Old 21st February 2006, 05:30 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Quote:
Originally Posted by letmein
I have decided to reformat my Fedora partition due to screwing up something else, hopfully it will work better after a reinstall.
I have noticed wpa_supplicant is in fedora development and I have since rebuild the src.rpm file to make it work for FC4, if you want I can send you the rpms
Reply With Quote
  #39  
Old 21st February 2006, 11:29 PM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Quote:
Originally Posted by Darkmage
I have noticed wpa_supplicant is in fedora development and I have since rebuild the src.rpm file to make it work for FC4, if you want I can send you the rpms
Yes that would be greatly appericiated. I have reformated and reinstalled wpa_supplicant, but it is still giving me the same problem. The weird thing is if I uninstall and reinstall wpa supplicant, I would be able to see eth1 in wpa_gui, but if I try to connect to my network, I cannot get a IP address. After restarting the computer, the addapter section in wpa_gui is blank again.
Reply With Quote
  #40  
Old 22nd February 2006, 06:11 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Quote:
Originally Posted by letmein
Yes that would be greatly appericiated. I have reformated and reinstalled wpa_supplicant, but it is still giving me the same problem. The weird thing is if I uninstall and reinstall wpa supplicant, I would be able to see eth1 in wpa_gui, but if I try to connect to my network, I cannot get a IP address. After restarting the computer, the addapter section in wpa_gui is blank again.
Okay here are the rpms, it does require some dependencies, so the best way to install them is
edit /etc/yum.conf and change gpgcheck to 0, save and exit.
and root, do yum localinstall wpa_supplicant-0.5.1-4.i386.rpm wpa_supplicant-gui-0.5.1-4.i386.rpm.
After the install, change gpgcheck back to 1.
Attached Files
File Type: gz wpa_supplicant.tar.gz (263.3 KB, 122 views)

Last edited by Darkmage; 25th February 2006 at 05:17 PM.
Reply With Quote
  #41  
Old 23rd February 2006, 07:52 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Allright, I installed the packages using yum, and made the necessary changes to /etc/sysconfig/wpa_supplicant, but when I go and start the service, I get the following:

wpa_supplicant failed. The error was: Starting wpa_supplicant: Line 539: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 539: failed to parse eap 'FAST'.
Line 545: failed to parse network block.
Line 550: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 550: failed to parse eap 'FAST'.
Line 556: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
[FAILED]
Reply With Quote
  #42  
Old 23rd February 2006, 04:43 PM
Frelov Offline
Registered User
 
Join Date: Feb 2006
Location: Drifting between campgrounds that have wifi
Posts: 34
Quote:
Originally Posted by Darkmage
Okay here are the rpms, it does require some dependencies, so the best way to install them is
edit /etc/yum.conf and change gpgcheck to 0, save and exit.
and root, do yum localinstall wpa_supplicant-0.5.1-4.i386.rpm wpa_supplicant-gui-0.5.1-4.i386.rpm.
After the install, change gpgcheck back to 1.
the wpa_supplicant*0.5.1* is for FC5. will it work ok in FC4?

I used the rpms listed in your original howto post by going straight to ftp://ftp.silfreed.net/repo/fedora/4...freednet/RPMS/ and saving the files into home, then creating wpa_supplicant dir and moving them into it.

Everything appears to have installed correctly and the service started successfully

I am using FC4 on a sony vaio pcg-frv27 with a wpc54g installed via NDISwrapper. It works ok with open or wep (even wep with 128 bit keys) but won't work with wpa-psk. So after much searching I found your article and followed it to a T. whenever I run the wpa_gui I get

"Status: Could not get status from wpa_supplicant".

Also the adapter and network lists are not populated with anything. Scanning does nothing.

I reinstated the launcher with "run in terminal" and prefacing the command with sudo (I have sudo configured to allow my user account with a password), now it will scan and show wlan0 after entering the user password

However, after the gui comes up it just sits there with

"Status: Scanning"

then I manually clicked on scan and scan results window comes up with the wireless networks in range (2 of them, one wep and 1 wpa-psk)

I double click on the wpa-psk protected network and enter the key and then close the scan results. The wpa_gui continues to alternate between "associated" (with "authentication wpa-psk, encryption tkip, ssid, bssid, and blank ip) and "Disconnected" (with "disconnect event - remove keys").

I have tested the network under windows wireless and it works fine with the same key.

The wireless router is the 2wire home portal that at&t supplies with their broadband service.

Any suggestions? I feel bad asking you after you've answered so many questions for others but I have not found information as clearly and simply stated as yours and I'm not technically inclined in the least. I'm just a simple user trying to get away from windows if I can.

Thanks.

Last edited by Frelov; 23rd February 2006 at 04:45 PM.
Reply With Quote
  #43  
Old 24th February 2006, 01:43 AM
letmein Offline
Registered User
 
Join Date: Jan 2006
Posts: 44
That sounds like the exact problem I am having, except for me, when I restart the computer, wpa_gui goes back to "cannot get status from wpa_supplicant".
Reply With Quote
  #44  
Old 24th February 2006, 03:11 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Quote:
Originally Posted by letmein
Allright, I installed the packages using yum, and made the necessary changes to /etc/sysconfig/wpa_supplicant, but when I go and start the service, I get the following:

wpa_supplicant failed. The error was: Starting wpa_supplicant: Line 539: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 539: failed to parse eap 'FAST'.
Line 545: failed to parse network block.
Line 550: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 550: failed to parse eap 'FAST'.
Line 556: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
[FAILED]
verify that /etc/wpa_supplicant/wpa_supplicant.conf is the same as this
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=10
opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
update_config=1

network={
        ssid="any"
        key_mgmt=NONE
        disabled=1
}
Reply With Quote
  #45  
Old 24th February 2006, 03:43 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Quote:
Originally Posted by Frelov
the wpa_supplicant*0.5.1* is for FC5. will it work ok in FC4?

I used the rpms listed in your original howto post by going straight to ftp://ftp.silfreed.net/repo/fedora/4...freednet/RPMS/ and saving the files into home, then creating wpa_supplicant dir and moving them into it.

Everything appears to have installed correctly and the service started successfully

I am using FC4 on a sony vaio pcg-frv27 with a wpc54g installed via NDISwrapper. It works ok with open or wep (even wep with 128 bit keys) but won't work with wpa-psk. So after much searching I found your article and followed it to a T. whenever I run the wpa_gui I get

"Status: Could not get status from wpa_supplicant".

Also the adapter and network lists are not populated with anything. Scanning does nothing.

I reinstated the launcher with "run in terminal" and prefacing the command with sudo (I have sudo configured to allow my user account with a password), now it will scan and show wlan0 after entering the user password

However, after the gui comes up it just sits there with

"Status: Scanning"

then I manually clicked on scan and scan results window comes up with the wireless networks in range (2 of them, one wep and 1 wpa-psk)

I double click on the wpa-psk protected network and enter the key and then close the scan results. The wpa_gui continues to alternate between "associated" (with "authentication wpa-psk, encryption tkip, ssid, bssid, and blank ip) and "Disconnected" (with "disconnect event - remove keys").

I have tested the network under windows wireless and it works fine with the same key.

The wireless router is the 2wire home portal that at&t supplies with their broadband service.

Any suggestions? I feel bad asking you after you've answered so many questions for others but I have not found information as clearly and simply stated as yours and I'm not technically inclined in the least. I'm just a simple user trying to get away from windows if I can.

Thanks.
the wpa_supplicant*0.5.1* is for FC5. will it work ok in FC4?
Yes it will work because it has been rebuilt against FC4 and some modifications have been made so it keeps ssid when you restart your pc. Also a bug report have been filed against wpa_supplicant in development

Thank you for an insightful question. I now remember what I did differently to make wpa_supplicant work.
Like you found out wpa_supplicant needs root-like acess, so what I did was click on Desktop -> System Settings -> Users and Groups. When prompted type in the user root password and hightlight your username and click on Properties. The User Properties windows comes up, then go to the Groups Tab and scroll all the way down to wheel group and put a check mark and Ok out of the window.

Open a terminal and become root and type in
Code:
 visudo 
# Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

This is the only section that needs to be changed - just remove the comment on %wheel. Save and exit

Last edited by Darkmage; 24th February 2006 at 04:09 AM.
Reply With Quote
Reply

Tags
fedora, wpasupplicant

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can WEP function even with PID wpa_supplicant running in Fedora 8 asaraf Servers & Networking 0 27th December 2008 07:05 PM
wpa_supplicant problem in 64bit fedora 8 Kaanx Using Fedora 2 21st February 2008 10:08 AM
[Fedora 8rc3] madwifi networkmanager wpa_supplicant problems moosetooth Servers & Networking 3 15th November 2007 08:13 PM
Fedora Core 5 not starting wpa_supplicant service on time Menzonius Servers & Networking 3 6th July 2007 05:48 PM


Current GMT-time: 18:57 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat