LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


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

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


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

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


Reply

Tags
hostapd, wpasupplicant



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

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

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