[Voyage-linux] Wireless setup wiki?
Gustin Johnson
(spam-protected)
Thu May 7 04:59:02 HKT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Holm wrote:
> Alright, details of what I'm trying to do.
> I'm using voyage 0.6.1 which is installed on a 1gb CF drive. It's more
> or less a clean install with little modification. I have a Gigabyte
> GN-WPEAG wireless card that uses one of the supported Atheros drivers,
> not sure which one but I've looked it up and verified that it is
> supported before.� So far all I've done is uncommented the ath0 block
> for madwifi in the /etc/network/interfaces file and changed 'wifi1' to
> 'wifi0' in the madwifi-base line. I am trying to use this with DHCP and
> WPA-PSK. Since I'm using DHCP, I left the last line in the interfaces
> block pertaining to nat.sh commented because I figured that was related
> to using a static IP address. I haven't done anything with
> /etc/hostapd/hostapd.conf yet and haven't found any documentation on
> what changes need to be made there. Your email is the first I've heard
hostapd.conf is for setting up as an AP. For a client connect it is not
needed.
The following is how I connect with my laptop (ubuntu based but the
commands should be same):
Generate a wpa_supplicant config:
wpa_passphrase <essid> <passphrase> > essid.wpa.conf
The filename is entirely arbitrary.
Then:
wpa_supplicant -i ath0 -D madwifi -c essid.wpa.conf
Then for dhcp I run: "dhclient ath0"
Since my laptop connects to about half a dozen APs in a given day, I do
not automate its connection. It only connects when I want it to.
You should note that I did not use the flag to run wpa_supplicant in the
background because I like to see the output. If you are connecting to
your voyage box via serial, then you probably want to add the "-B" flag
or use wpa_cli.
As always, the "man" command is your friend.
Hth,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoB+hIACgkQwRXgH3rKGfP+hgCfQtNthLJjfV6BBw2RwV/57TrE
vrMAoJPq2+nvy11v/wZWWc4lfvLfN7zQ
=66+R
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list