Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iwconfig to 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
jabol
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 269

PostPosted: Sat Oct 06, 2007 2:52 pm    Post subject: iwconfig to wpa_supplicant Reply with quote

I wanted to set up a wpa_supplicant as being responsible for my connection managing, but was apparently unable. Now, my iwconfig configuration goes as follows:
Code:
modules=( "iwconfig" )
config_wlan0=( "dhcp" )
config_VPN_WEB=( "dhcp" )
config_french_connection=( "192.168.1.XXX brd 192.168.1.XXX netmask 255.0.0.0" )
key_french_connection="XXXXXXXXXXXXXXXXXXXXXX"
dns_servers_french_connection=( "192.168.1.XXX" )
routes_french_connection=(
        "default via 192.168.1.XXX"
)
preferred_aps=( "VPN/WEB" "french_connection" )
How do I set up the same using wla_supplicant? I believe I would need to leave config/dns_servers/routes_essid entries, but key should be specified in /etc/wpa_supplicant.conf.

I tried something like this (didn't yet come to configure two networks):
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
        ssid="french_connection"
        scan_ssid=1
        auth_alg=OPEN
        psk="XXXXXXXXXXXXXXXXXXXXXX"
        priority=2
}
But this didn't work. wpa_supplicant tries connecting with some other network that is present at my place. How to avoid this? How could my above connection specification from /etc/conf.d/net be translated into /etc/wpa_supplicant.conf?

Thanks in advance.
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