LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 03-13-2009, 05:25 AM   #1
daghenningsorbo
LQ Newbie
 
Registered: Mar 2009
Posts: 13
Thanked: 0
Start wpa_supplicant before hostapd [fixed]


[Log in to get rid of this advertisement]
Hi!
I use hostapd to set up a wireless access point and I need wpa_supplicant for encryption. I works fine if I start hostapd by my self, but not on boot. And I think the problem is that wpa_supplicant is started after hostapd. How can I see when the two deamons are started and then change the order in which they start?

Dag Henning

Last edited by daghenningsorbo; 03-13-2009 at 07:49 PM.. Reason: fixed
daghenningsorbo is offline  
Tag This Post ,
Reply With Quote
Old 03-13-2009, 07:49 PM   #2
daghenningsorbo
LQ Newbie
 
Registered: Mar 2009
Posts: 13
Thanked: 0

Original Poster
Hi!
Now it all works fine! I found two sollutions to my problem.
1. To add a line "hostapd /etc/hostapd/hostapd.conf" to /etc/network/interfaces (under correct iface expression)
2. To edit /etc/default/hostapd and comment out the line "#RUN_DAEMON="yes". I also had to enable hostapd in BootUp-Manager. I don't know it this had been necessary if I hadn't installed BootUp-manager.
daghenningsorbo is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
ebtables interaction hostapd boeboe2005 Linux - Networking 0 11-18-2008 01:44 PM
hostapd problem with wpa mousi Linux - Wireless Networking 0 03-19-2007 11:49 PM
SuSE wpa_supplicant auto start blackcat_73 Linux - Wireless Networking 0 11-10-2006 10:11 AM
hostapd and madwifi not working freelancer42 Linux - Wireless Networking 0 09-08-2006 10:09 AM
madwifi-ng & wpa_supplicant or madiwifi & hostapd? powadha Debian 1 04-17-2006 07:28 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration