[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: orinoco wireless with WEP under kernel 2.6.14-2-686



On Wednesday, 28 December 2005 at 20:03:12 +0100, Richard Mittendorfer wrote:
> Also sprach Richard Lyons <richard@the-place.net> (Wed, 28 Dec 2005
> 18:33:11 +0000):
[...]
> > Thinkpad 600E, Kernel 2.6.14-2-686, sid, orinoco wifi card.
> > Wifi card talks to the Netgear DG834G router when security is
> > disabled, but when I turn WEP on it doesn't connect.
> > [...]
> > /etc/network/interfaces has
> > 
> >     iface eth0 inet dhcp
> >     wireless-essid Coigxxxxxxxx
> >     wireless-key xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx
[...]
> Have your tried to leave those  "-" out? Anyway, both should do.

Yes, I have tried without the "-" : same result.

> Also use wireless-mode managed (or auto)
>              wireless-channel xx
>              wireless-key restricted xx128bitxx (or open) (or just the key)
> ..in /e/n/i.

I get no change when adding mode and channel and the 'restricted'
keyword.
 
I am not sure /etc/network/interfaces is even being sourced.  After
bootup, it does not have any details of the access point.  Manually
giving essid and key and then ifup results in first the correct AP
details and then in associating it and showing the correct frequency.
But connections fails, and Rx invalid crypt gets an entry.  See below.  

To my innocent eye, this suggests that there are two problems:
  - /e/n/i not sourced at bootup
  - kernel/modules problem with encryption.

Does that seem a correct analysis?  Or is it merely one of those
problems of sequence of loading modules that I really do not understand?

-----------------
castagna:~# iwconfig eth0
eth0      IEEE 802.11b  ESSID:""   Nickname "HERMES I"
          Mode:Managed  Frequency:2.422 GHz  Access Point: Not-Associated
          Bit Rate:11 Mb/s  Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/92  Signal level=134/153  Noise level=134/153
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

castagna:~# iwconfig eth0 essid Coixxxxxx
castagna:~# iwconfig eth0 key xxxxxxxxxxxxxxxxxxxxxxxx
castagna:~# iwconfig eth0
eth0      IEEE 802.11b  ESSID:"Coixxxxxxxxx"   Nickname "HERMES I"
          Mode:Managed  Frequency:2.422 GHz  Access Point: Not-Associated
          Bit Rate:11 Mb/s  Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx   Security mode:open
          Power Management:off
          Link Quality=0/92  Signal level=134/153  Noise level=134/153
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

castagna:~# ifup eth0
Internet Software Consortium DHCP Client 2.0p15
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium
All Rights Reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

eth0: New link status: Connected (0001)
Listening on LPF/eth0/00.02.2d.a6.07.bb
Sending on   LPF/eth0/00.02.2d.a6.07.bb
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Do DHCPOFFERS received.
No working leases in persistent database.

Exiting.

Failed to bring up eth0.
castagna:~# iwconfig eth0
eth0      IEEE 802.11b  ESSID:"Coixxxxxxxxx"   Nickname "HERMES I"
          Mode:Managed  Frequency:2.427 GHz  Access Point: 00:0F:B5:51:D7:FC
          Bit Rate:11 Mb/s  Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx   Security mode:open
          Power Management:off
          Link Quality=10/92  Signal level=-78 dBm  Noise level=-88 dBm
          Rx invalid nwid:0  Rx invalid crypt:305  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
--------------

-- 
richard



Reply to: