Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openrc-9999 and wlan0 (+ 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
momesana
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 212
Location: Germany (Bremen)

PostPosted: Sat Sep 19, 2009 10:53 am    Post subject: Openrc-9999 and wlan0 (+ wpa_supplicant) Reply with quote

Hi,
I recently switched to Openrc-9999 (using the openrc overlay) and since it lacks any network functionality ( /etc/init.d/net.xxx and /etc/init.d/net.lo are all gone ), one has to use dhcpcd-5 to manage the devices. It works fine for devices like simple ethernet devices where you receive your network settings directly from the dhcpc server but when using it with my wlan interface where I have to provide some detailed information like the respective "essid" to use, and corresponding wpa-psk keys, I have no clue how to proceed. The current situation is that I've written a simple script:
[script]
#!/bin/bash
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf
[/script]
that I execute as root once I am logged it into kde. But that's tiresome to perform that on each and every boot. Any Ideas how I could configure dhcpcd-5 to use wpa_supplicant with the aforementioned parameters automatically?

Thanx in advance
momesana
_________________
in the world I see, you're stalking elk throught the grand canyon forests, around the ruins of the rockefeller center. You'll wear leather clothes, that will last you the rest of your life... (Tylers Vision)
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Oct 04, 2009 2:38 am    Post subject: Reply with quote

Did you try wicd or a network manager ?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Oct 07, 2009 10:37 am    Post subject: Reply with quote

You could also use the wpa_supplicant init script from OpenRC itself.
It's not installed by default, but if you have the source you can do this
Code:

cd init.d.misc
make
install wpa_supplicant /etc/init.d

_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
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