Date: Fri, 29 Aug 2008 13:10:45 +0200 From: Pietro Cerutti <gahr@FreeBSD.org> To: Lars Stokholm <lars.stokholm@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Switching wireless networks: WPA <-> unencrypted Message-ID: <48B7D935.3030205@FreeBSD.org> In-Reply-To: <a5eea06e0808290311ya8f7486gb0d140bf65d8338c@mail.gmail.com> References: <a5eea06e0808290311ya8f7486gb0d140bf65d8338c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Lars Stokholm wrote:
| I usually use two WPA encrypted wireless networks and I have
| wpa_supplicant.conf set up for that. In rc.conf I have
| ifconfig_ath0="WPA DHCP". It's working fine, but once in a while I
| have to use other, unencrypted networks and that presents a problem.
| How do I connect to these with the least amount of trouble?
|
| Right now it involves commenting out the line in rc.conf, restarting
| netif, manually configuring ifconfig and running dhclient.
|
| Surely there must be a better way to do this...? Preferably it should
| automatically fall back to using unencrypted networks, if no
| configured encrypted networks are available... or something like that.
wpa_supplicant.conf supports WEP and open networks as well:
# WEP network
network={
~ ssid="network_id"
~ key_mgmt=NONE
~ wep_tx_keyidx=0
~ wep_key0="WEPKEYHERE"
}
# Open network
network={
~ ssid="network_id"
~ key_mgmt=NONE
}
| _______________________________________________
| freebsd-questions@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
- --
Pietro Cerutti
gahr@FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEAREKAAYFAki32TIACgkQwMJqmJVx947DVwCg26S+ux3hTCMNH5OC8/tzo8HZ
fTsAn1vzTAkt7YqDnOkMiTuKBkA2keE6
=Br3B
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B7D935.3030205>
