I've got it working! I seem to have to do sudo ifupeth1 after rebooting but I really don't mind that at all and I could probably script it to do automatically!
My settings are like so for any who find them useful:
Code:
sudo gedit /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="wlan-ap"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk=2e6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
# Home
network={
ssid="linksys"
key_mgmt=NONE
priority=2
}
Code:
sudo gedit /etc/default/wpasupplicant
Code:
ENABLED=1
OPTIONS="-w -i eth1 -D ndiswrapper -c /etc/wpa_supplicant.conf"
Code:
sudo gedit /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
I realise i've got an extra entry in the last part that I don't need but it works so i'm not gonna fiddle!
Thankyou all so much!
Calv
Bookmarks