View previous topic :: View next topic |
Author |
Message |
casper29 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Dec 2005 Posts: 15
|
Posted: Sat Mar 03, 2007 1:43 am Post subject: connect to multiples AP |
|
|
Ok here my situation next week I will start my new trimester at my college and I have there a few AP I can connect to some open some with wep. My quesion is how can I connect to this AP using wpa_supplicant and choose which one to connect?
This is my wpa_supplicant that currently connect to my home AP that uses wpa:
# /etc/wpa_supplicant/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
fast_reauth=1
#eapol_version=1
network={
ssid="SSID"
psk="passphrase"
key_mgmt=WPA-PSK
pairwise=TKIP
scan_ssid=1
priority=5
}
# Final default, will connect to nearly anything
network={
key_mgmt=NONE
priority=-9999999
}
|
And my /etc/conf.d/net:
Code: |
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=("dhcp")
modules=(
"iproute2"
"dhcpcd"
"wpa_supplicant"
)
wpa_timeout_wlan0=60
plug_timeout="5"
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
|
My next question is how to use my usb wlan that i bought and already kind of configure, well i install and loaded the driver. Is a linksys wusb54g version4 with the ralink chipset. I want to make it work with the wpa_supplicant and be able to choose which wlan to use.
Also I try today using the ethernet connection but It didn't work. I guess this have something to do with the wlan but I try ifconfig eth0 up but it didnt help.
Thanks for the help!!!!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skwang Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 12 May 2004 Posts: 149 Location: Chicago, IL
|
Posted: Sun Mar 04, 2007 7:59 pm Post subject: |
|
|
If I remember correctly wpa_supplicant comes with a GUI program, wpa_gui. This allows you to scan the area for AP and connect to one you choose. When I used it, it wasn't that great. For one thing it overwrites your /etc/wpa_supplicant/wpa_supplicant.conf file. Make sure you back up that file before you start using the GUI.
Secondly, if you want you can try to install NetworkManger (package: "networkmanager"). It is in the portage tree but hard masked. There are some instructions at the Gentoo Wiki Wifi HOWTO. The installation is difficult. But once you have it working, it elagently allows you to switch between different APs: open, WEP, and WPA alike. Search on the forums for "networkmanager" and you may find more instructions.
Regarding the USB wlan adapter, I have no idea what you are asking. Can you please clarify? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|