jabol Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Oct 2005 Posts: 269
|
Posted: Sat Oct 06, 2007 2:52 pm Post subject: iwconfig to wpa_supplicant |
|
|
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. |
|