Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-13-2009, 04:25 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 24

Rep: Reputation: 0
Start wpa_supplicant before hostapd [fixed]

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 06:49 PM. Reason: fixed
Old 03-13-2009, 06:49 PM   #2
LQ Newbie
Registered: Mar 2009
Posts: 24

Original Poster
Rep: Reputation: 0
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.


hostapd, wpasupplicant

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
hostapd problem with wpa mousi Linux - Wireless Networking 1 05-12-2010 10:56 AM
ebtables interaction hostapd boeboe2005 Linux - Networking 0 11-17-2008 04:02 AM
SuSE wpa_supplicant auto start blackcat_73 Linux - Wireless Networking 0 11-10-2006 09:11 AM
hostapd and madwifi not working freelancer42 Linux - Wireless Networking 0 09-08-2006 09:09 AM
madwifi-ng & wpa_supplicant or madiwifi & hostapd? powadha Debian 1 04-17-2006 06:28 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration