Hi
If you want to use DHCP you could go for something like:
allow-hotplug wlan1 iface wlan1 inet auto wpa-driver wext wpa-ssid Your SSID wpa-psk yourwpakey
Thanks for this.
A iwconfig suggests that my wireless adapter is wlan0. So I tried:
allow-hotplug wlan1 iface wlan1 inet auto wpa-driver wext wpa-ssid Your SSID wpa-psk yourwpakey
obviously with my SSID and my wpa-psk.
when I: /etc/init.d/networking restart
I get:
/etc/network/interfaces:19: unknown method
Line 19 for me is:
iface wlan1 inet auto
If I change that too:
iface wlan1 inet dhcp
Then I can restart nextworking, but there's no sign of wlan0. If I change too:
auto wlan1 iface wlan1 inet dhcp wpa-driver wext wpa-ssid Your SSID wpa-psk yourwpakey
and restart networking wlan0 tries to connected, but I get:
Listening on LPF/wlan0/00:26:5a:87:37:ca Sending on LPF/wlan0/00:26:5a:87:37:ca Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 No DHCPOFFERS received. No working leases in persistent database - sleeping.
I'm still completely lost here......