Can't connect to WLAN

Corey Edwards tensai at zmonkey.org
Thu Jan 18 15:41:12 MST 2007


On Thu, 2007-01-18 at 15:28 -0700, Daniel wrote:
> root at daniel-ubuntu:~# iwlist eth1 scan

That's an awesome command! Why oh why have I never seen it before?

> eth1      Scan completed :
>           Cell 01 - Address: 00:14:7C:5A:14:00
>                     ESSID:"ASD"
>                     Protocol:IEEE 802.11g
>                     Mode:Managed
>                     Frequency:2.462 GHz (Channel 11)
>                     Quality:0/100  Signal level:-80 dBm  Noise level:-256 dBm
>                     Encryption key:on
>           Cell 04 - Address: 00:14:7C:59:EA:80
>                     ESSID:"ASD"
>                     Protocol:IEEE 802.11g
>                     Mode:Managed
>                     Frequency:2.437 GHz (Channel 6)
>                     Quality:0/100  Signal level:-80 dBm  Noise level:-256 dBm

First thing I notice is that your signal level is -80dbm. I'm not
exactly sure if everybody calculates dbm the same way, but typically in
our radios -80 is borderline unusable. That could be causing problems.
At home my signal is about -50dbm.

> root at daniel-ubuntu:~# iwconfig eth1
> eth1      IEEE 802.11g  ESSID:off/any
>           Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
>           Bit Rate:54 Mb/s   Tx-Power:25 dBm
>           RTS thr:2347 B   Fragment thr:2346 B
>           Encryption key:off

That's your problem. You have encryption turned off. I don't use the gui
tools for network changes, instead I edit /etc/network/interfaces
directly. Here's what I have:

        auto eth1
        iface eth1 inet dhcp
                wireless-essid example
                wireless-key 123456

On the command line you can set the key using "iwconfig eth1 enc <key>".

Corey





More information about the PLUG mailing list