Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless setup, hostapd and wpa_supplicant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kingfame_147
Apprentice
Apprentice


Joined: 11 Oct 2008
Posts: 171

PostPosted: Fri May 17, 2013 9:59 am    Post subject: Wireless setup, hostapd and wpa_supplicant Reply with quote

Hi,

I'm pretty new to all this wireless stuff using gentoo.

I can start hostapd just fine without the init script. When I start it using the init script it says it is supposed to start when my wireless card starts. That seems to be right, BUT:

Whenever I start my wireless card it starts wpa_supplicant too. Where does the dependency for wpa_supplicant comes from? I don't want the wireless card to connect to any wlan, I just want it to run as an AP. When I install wpa_supplicant (and use a config without any ssid configured, because I don't want to connect to any) the wireless card starts, but it says that it is inactive. I guess that is because I haven't configured any SSID, but like I said: I don't want to connect to any SSID. The outcome to that is that none of my network services (hostapd, sshd, etc.) is starting up because of the inactive wireless card.

How could I solve this issue?


Kind regards,
fame



Edit:

I think I foudn out how to disable wpa_supplicant: modules_wlan0="!wpa_supplicant" I'll try it on monday when I'm back home.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri May 17, 2013 1:40 pm    Post subject: Reply with quote

kingfame_147 ...

You will need to inform openrc that the device isn't to be managed:

/etc/conf.d/net
Code:
modules_wlan0="!wireless"

HTH & best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum