Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Networking

Networking Networking with Fedora such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2006-07-16, 07:40 AM CDT
Menzonius Offline
Registered User
 
Join Date: Jul 2006
Location: Amsterdam, Netherlands
Posts: 2
Fedora Core 5 not starting wpa_supplicant service on time

Hi all,

I recently installed Fedora Core 5 on my desktop machine, a rather minimal installation using the first two CDs. After that, I updated the system over the wired network (using pup). Then I configured my Netgear WG311T wifi card, using wpa_supplicant, madwifi and DHCP.

Activating the wireless interface manually works fine. However, activating the ath0 interface on boot fails. I noticed that the wpa_supplicant service, which is a dependency for the ath0 interface to be properly initialised, is started after the network.

I found it quite hard to find a perfect solution by searching the web and several linux forums, including this one. So now I am currently using what perhaps may be considered a "quick-and-dirty" workaround, by disabling the ath0 interface from starting on boot and instead adding the line "ifup ath0" to /etc/rc.d/rc.local
But this works.

My question: is there some way I can make the wpa_supplicant service start in time for the network to succefully initialise the ath0 card on boot? Or is there a better way altogether?

Thanks in advance for any help/suggestions,

Menzonius

P.S.
FWIW: I'm not running the firewall, but I am using SELinux (enforcing policy).
Reply With Quote
  #2  
Old 2006-07-27, 04:07 PM CDT
mike_1 Offline
Registered User
 
Join Date: Jul 2006
Location: St. Petersburg, Russia
Posts: 1
I had exactly the same problem. I'm running a LEAF router with hostap authenticator using WPA and DHCP. You can try my (also quick and dirty =)) WPA DHCP 'service' (see attachment). It works fine on my laptop with FC5 and ipw2200. It will bring the interface up and wait until wpa_supplicant has got a key. You shouldn't configure the interface in the current profile. Of course, wpa_supplicant should start before the network and DHCP client.
Attached Files
File Type: bz2 wpa_dhcp.tar.bz2 (1.4 KB, 287 views)
Reply With Quote
  #3  
Old 2006-07-28, 04:39 AM CDT
Menzonius Offline
Registered User
 
Join Date: Jul 2006
Location: Amsterdam, Netherlands
Posts: 2
Thumbs up Thanks!

Hi,

Thanks for the reply, and the script! I'm afraid I currently do not have Fedora Core 5 installed on my desktop computer, but I may shortly install it again on a different computer running the same make and model wireless card. If I do, I will certainly try your script.
Thanks again!
Reply With Quote
  #4  
Old 2007-07-06, 10:48 AM CDT
justin.venus Offline
Registered User
 
Join Date: Jul 2007
Posts: 1
Gracefull solution for wpa_supplicant ordering

I just discovered this thread, and this was an issue that annoyed me at one point. This is the way I fixed the wpa_supplicant loading after the dhcp lease had already been attempted. I hope this helps someone.

// I think this is the most graceful way to start wpa_supplicant
// before our network asks for a dhcp lease
// the benifit to this procedure is now you know how to reorder any
// service to your liking on you redhat-based distro

// let's discover our default run-level
garage ~ # grep id:.:initdefault: /etc/inittab
id:5:initdefault:

// let's go to our default directory
garage ~ # cd /etc/rc.d/rc5.d/

// lets' see the order of wpa_supplicant vs. our network
garage rc5.d # ls | egrep "wpa_supplicant|network"
S10network
S12wpa_supplicant

// let's swap the order
garage rc5.d # mv S10network S12network
garage rc5.d # mv S12wpa_supplicant S10wpa_supplicant

// use mv, because it will preserve the symlink

// lets' see the new order of wpa_supplicant vs. our network
garage rc5.d # ls | egrep "wpa_supplicant|network"
S10wpa_supplicant
S12network

// reboot, telinit 1 then telinit5, or however you get the point restart the init system
Reply With Quote
Reply

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
wpa_supplicant not starting correctly at boot time DubJohn Networking 0 2009-06-23 03:47 PM CDT
I have to change the starting order of wpa_supplicant in F9. How to ? georgesgiralt General Support 0 2008-09-24 02:44 AM CDT
problem with wpa_supplicant service kubus007 General Support 1 2007-08-06 08:36 PM CDT
how to connect my roadrunner service or aol service to my fedora core 1 on my compter john nelson jr General Support 1 2005-03-13 05:22 PM CST
User account for service, auto starting service. George Lemos gmane.linux.redhat.fedora.general 1 2004-06-14 04:36 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 08:21 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



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 | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Languages translations made by vBET Translator