Alright, I'm learning more and more, but still well within the "newbie" category, so forgive me if I'm overlooking something here. Also, just so you're forewarned, in trying to include all relevant information, this post has become quite long.
With my laptop running Ubuntu Edgy, I connect to my home WAP automatically through /etc/network/interfaces using the following:
Code:
auto eth1
iface eth1 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -c/etc/wpa_supplicant.conf -ieth1
where wpa_supplicant.conf was originally created by
Code:
sudo touch /etc/wpa_supplicant.conf
sudo wpa_passphrase MySSID MyPassphrase > /etc/wpa_supplicant.conf
Unfortunately, the pre-up line makes it so I cannot connect to the WAPs on campus. The quickest fix I've found so far is to have two copies of the different configurations saved as interfaces.1 and interfaces.2, where one has the pre-up command and the other doesn't, copy the applicable one to /etc/network/interfaces, reboot, and I can connect.
I find this to be quite tedious, and would rather just have something that will work automatically, without having to toy around with anything. Ideally, this would be through interfaces, unless using gnome-network-manager is the only real way to do so.
I saw something in "man interfaces" talking about mapping for different connections (home vs work was the example given), but am not quite sure how to get that to work.
Any help is greatly appreciated, and if I've left out any relevant information, please let me know and I'll take care of it. Thanks!