On Fri, Sep 30, 2011 at 04:00:33PM +0100, Brett Parker wrote:
On 30 Sep 15:33, Chris G wrote:
I have an Asus eeePc 701 running Ubuntu 10.04, no GUI just the base installation plus a few bits I needed.
We now have WiFi available on the boat (where the eeePc is) and so I want to use it from the eeePc - does anyone know how to do it?
The eeePC sees the Wifi as an ifconfig returns some information about it, what command line tools etc. do I need to configure it? The WiFi is pretty standard with "WPA & WPA2 Personal" security.
Dya mean iwconfig?
Yes, of course, well it's only one letter different! :-)
Is this the only wireless not-work it'll be using?
Yes, pretty much.
You'll need to install wpa-supplicant as a minimum, you can configure the wifi in /etc/network/interfaces if you like, and if it's going to be in different wifi spots, then you can use a mapping script.
E.g. I have the following in my /etc/network/interfaces file on my personal laptop:
--- start snippet ---
allow-hotplug wlan0 mapping wlan0 script /usr/local/bin/sommitrealweird-wifi
iface wlan0-delice inet dhcp hostname erwin wpa-ssid delice wpa-psk fabien93
iface wlan0-florist inet dhcp hostname erwin wpa-ssid The Florist wpa-psk florist2223
--- end snippet ---
The script mentioned simple does a iwlist wlan0 scan, gathers the list of ESSIDs available then echos back the correct name for the wlan0 alias (and takes in to account my preferences if there's more than one network it can see).
OK, thanks, that shows me the basics.