On Thu, 8 Apr 2010 11:28:26 +0100 Paul Grenyer paul.grenyer@gmail.com wrote:
HI
On Thu, Apr 8, 2010 at 10:53 AM, Richard Lewis richardlewis@fastmail.co.uk wrote:
To test that your wireless device can see the network, try:
$ sudo iwlist scanning
It should show you lots of details on all the networks it can see.
It does! And there's my network:
wlan0 Scan completed : Cell 01 - Address: 00:0F:3D:01:D0:AD Channel:6 Frequency:2.437 GHz (Channel 6) Quality=40/70 Signal level=-70 dBm Encryption key:on ESSID:"oceaner" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s Mode:Master Extra:tsf=0000009fd5ad83f2 Extra: Last beacon: 1068ms ago IE: Unknown: 00076F6365616E6572 IE: Unknown: 010582848B962C IE: Unknown: 030106 IE: Unknown: DD0408002800
I may be very out of touch, but I use wpa-supplicant to manage my authenticated wireless network connections. So I have something like:
iface wlan0 inet dhcp wireless-essid foobar pre-up wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf post-down killall -q wpa_supplicant
in my /etc/network/interfaces
and then
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=root network={ ssid="foobar" key_mgmt=WPA-PSK psk="password" }
in my /etc/wpa_supplicant/wpa_supplicant.conf
I'll give that a try when I get a few mins, thanks.
I am sure the syntax with the WPA key in the /etc/network/interfaces file uses wpa_suplicant too and ifup starts wpa_supplicant with the necessary options. I can't remember now how I discovered it was possible to put the key there as previously I had been scratching my head about how/when to start it.
I'm still completely lost here......
In my experience, you get this when the wireless device is working OK, but it can't get an IP address from the router. This could be a DHCP issue, but it could also be an authentication issue.
So it looks like I'm going in the right direction.
I'd double-check the WPA key. In my case the key did not contain any spaces - I don't know if there is any escaping required if it does (though my SSID does contain spaces and didn't need escaping).
I'd also check on the router to see which version of WPA it supports and experiment with that setting.
There may be more information in your /var/log/messages.
Finally, if this is Ubuntu, why not try removing (or commenting out) *everything* from /etc/network/interfaces and allowing NetworkManager to do it all for you?
Can you do that from the command line with the server version?
I don't know the answer to that, I'm afraid.
Regards, Steve.