Ubuntu 8.04 - use Wireless as default network connection

Associate
Joined
19 Jun 2003
Posts
1,680
Location
West Yorks, UK
Hi all,
Fresh install of Ubuntu 8.04.

On booting, it defaults to using the Wired connection. Is there any way to make it use a specific SSID wireless as the default, so it auto-connects on boot? At the moment, i have to manually pick the SSID from the tray icon to make it connect.

Matt
 
Thats strange

If I pull the wire out of the back 8:04 automatically switches over to wireless. (Linksys card) and vice versa if I plug it back in.
 
I added the following to a headless download box connected via wireless to my /etc/network/interfaces:

Code:
# The primary network interface
auto ath0
iface ath0 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -iath0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

You will need to create your own wpa_supplicant.conf. You can use wpa_passphrase <SSID> <passphrase> and then append its output to your wpa_supplicant.conf file.

Now with any luck your wifi will work and crappy GUI tools won't break your config :)
 
Back
Top Bottom