‘ello again, after some head scratching and beer drinking and lots of trial and mainly error I have now worked out how to get my Freerunner to connect to my WPA network at home 🙂
This is a very rough guide and there is probably a much better way to do it 🙂 The better way is waiting until August for the ASU to be released with a decent tool for doing this automatically 🙂
All I know is that it is working here :) Oh you will want to do this all over ssh btw 🙂
Step 1: vi /etc/network/interfaces and make the wireless section look like with the obvious bits modified:
# Wireless interfaces
iface eth0 inet dhcp
wireless_mode managed
wireless_essid **********PUT YOUR ROUTER'S ESSID HERE**************
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Step 2: run wpa_passphrase followed by your essid so in my case:
wpa_passphrase 100acre
It will then ask you for your WPA key
It will return a block of code all we want from this is the line beginning psk= so copy that and paste it somewhere safe.
Step 3: edit your wpa_supplicant config file :
vi /etc/wpa_supplicant/wpa_supplicant.conf
and make it look like:
# File: /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="****PUT YOUR ROUTER'S ESSID HERE INSIDE QUOTATION MARKS"
key_mgmt=WPA-PSK
psk=******put the output of wpa_passphrase here but no quotation marks*******
}
Step 4. Edit sysconfig for wpa_supplicant :
vi /etc/sysconfig/wpa_supplicant
and make it look like:
# File: /etc/sysconfig/wpa_supplicant
INTERFACES="-ieth0"
DRIVERS="-Dwext"
Step 5: There is no step 5
Step 6: ifup eth0
The first DNS request I made took aaaaages but eventually came back then after that it has been snappy 🙂
Have fun 🙂
Any corrections / ideas let me know 🙂 I know this is not perfect but it did get me online 🙂