You are not logged in.
hi everyone,
I keep connecting to same ssid all the time, and I can't figure it out where is the probelm.
I have a router that uses WPA-PSK and I use wpa_supplicant for it.
I connect to it no problem, everything works. problem starts when I try to connect to any other network around..
To my router I connect like this:
ifconfig wlan0 up
iwconfig wlan0 essid [ssid]
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0
After that I do the following to try to connect to another unprotected router:
dhcpcd -k wlan0
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid [new_ssid_other_than_my_routers]
//i try iwconfig here and it lists this other network
dhcpcd wlan0
now when I try iwconfig,
I see I am connected to my router again and not to the new one...
what am I doing wrong? do I need to somehow shut down wpa_supplicant?
thank you
...I put on my robe and a wizard hat...
Offline
what am I doing wrong? do I need to somehow shut down wpa_supplicant?
yes i think it's the reason why it's doing that, kill it.
Offline
yup, that did. but, is there a nicer way to turn it off than simply killing it?
Last edited by pootzko (2009-12-06 22:24:37)
...I put on my robe and a wizard hat...
Offline