LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Orinoco/Debian: RX invalid crypt 2159 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/orinoco-debian-rx-invalid-crypt-2159-a-96629/)

MMHein 09-25-2003 02:54 AM

Orinoco/Debian: RX invalid crypt 2159
 
On a Siemens Scenic Mobile 510 AGP equipped with a D-Link DFE-660 and a Lucent Orinoco Silver WaveLAN, I have replaced Win2k with Debian GNU/Linux 3.0r1, and now I am trying to connect to a D-Link DWL-1000 AP-Access Point.

Right after setting up Debian and re-compiling the kernel (2.4.18), I was able to connect to over the Orinoco (10.10.10.79) the AP (10.10.10.88) and the proxy/firewall (10.10.10.101), e.g. a 'ping' was just fine.

Then after rebooting I couldn't establish a wireless network connection any more, although everything seemed to be setup and configured correctly!

When comparing the encryption key between /etc/pcmcia/wireless.opts, iwconfig, and wavemon, there *ARE* some differencies which I definitely cannot explain!

==========
Output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:50:BA:7D:50:D2
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:2 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:60:1D:F1:D0:3D
inet addr:10.10.10.79 Bcast:10.10.31.255 Mask:255.255.224.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:35568 (34.7 KiB)
Interrupt:3 Base address:0x100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:167 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15252 (14.8 KiB) TX bytes:15252 (14.8 KiB)
==========
Output of iwconfig:
iwconfig Version 26
Compatible with Wireless Extension v16 or earlier,
Currently compiled with Wireless Extension v12.

eth1 Recommend Wireless Extension v11 or later,
Currently compiled with Wireless Extension v12.

lo no wireless extensions.

irlan0 no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"mywlan" Nickname:"sm510agp"
Mode:Managed Frequency:2.442GHz Access Point: 00:05:5D:F2:32:61
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Encryption key:1234-ABCD-5E [4]
Power Management:off
Link Quality:26/92 Signal level:-71 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:1941 Rx invalid frag:2
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
==========
/proc/net/wireless:
Inter-| sta-| Quality | Discarded packets | Missed
face | tus | link level noise | nwid crypt frag retry misc | beacon
eth1: 0000 32. 191. 159. 0 2518 2 0 0 0
==========
Output of wavemon -d:

device: eth1

ESSID: mywlan
nick: sm510agp
frequency: 2.4420 GHz
sensitivity: 1/3
TX power: 15 dBm (31.62 mW)
mode: managed
access point: 00:05:5D:F2:32:61
bitrate: 11 Mbit/s
RTS thr: off
frag thr: off
encryption: 12FFFFFF34ABFFFFFFCD5E [0]
power management: off

link quality: 33/92
signal level: -64 dBm (0.00 uW)
noise level: -97 dBm (0.00 uW)
SNR: 33 dB
total TX: 6 packets (684 bytes)
total RX: 0 packets (0 bytes)
invalid NWID: 0 packets
invalid key: 95 packets
misc errors: 0 packets
==========
/etc/pcmcia/wireless.opts:
:
:
case "$ADDRESS" in

# NOTE : Remove the following four lines to activate the samples below ...
# --------- START SECTION TO REMOVE -----------
#*,*,*,*)
# ;;
# ---------- END SECTION TO REMOVE ------------

# Here is an example of scheme matching
# Activate with "cardctl scheme essidany"

# Pick up any Access Point, should work on most 802.11 cards
essidany,*,*,*)
INFO="Any ESSID"
ESSID="any"
;;

# Here are a few examples with a few Wireless LANs supported...
# The matching is done on the first 3 bytes of the MAC address

# Lucent Wavelan IEEE (+ Orinoco, RoamAbout and ELSA)
# Note : wvlan_cs driver only, and version 1.0.4+ for encryption support
*,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
INFO="Wavelan IEEE example (Lucent default settings)"
ESSID="mywlan"
MODE="Managed"
# RATE="auto"
KEY="1234-ABCD-5E"
# To set all four keys, use :
# KEY="s:secu1 [1] key s:secu2 [2] key s:secu3 [3] key s:secu4 [4] key [1]"
# For the RG 1000 Residential Gateway: The ESSID is the identifier on
# the unit, and the default key is the last 5 digits of the same.
# ESSID="084d70"
# KEY="s:84d70"
;;
:
:
==========
/etc/pcmcia/config:
:
:
device "orinoco_cs"
class "network" module "hermes", "orinoco", "orinoco_cs"
:
:
card "Lucent Technologies WaveLAN/IEEE Adapter"
version "Lucent Technologies", "WaveLAN/IEEE"
bind "orinoco_cs"
# bind "wvlan_cs"
:
:
==========
/etc/network/interfaces:
# $Id:$
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# all available interfaces
auto lo eth0 eth1

# The loopback interface
iface lo inet loopback

# The first network card (D-Link DFE-660 10/100MB)
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
promisc

# The first network card (Lucent Orinco Silver Wavelan)
iface eth1 inet static
address 10.10.10.79
netmask 255.255.224.0
broadcast 10.10.31.255
gateway 10.10.10.88
promisc

#
# end of file
#
==========
Output of route:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
10.10.0.0 0.0.0.0 255.255.224.0 U 40 0 0 eth1
0.0.0.0 10.10.10.88 0.0.0.0 UG 40 0 0 eth1
==========
Output of ping:
bash# ping -c 5 192.168.0.10
PING 192.168.0.10 (192.168.0.10): 56 data bytes
64 bytes from 192.168.0.10: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 192.168.0.10: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 192.168.0.10: icmp_seq=2 ttl=255 time=0.1 ms
64 bytes from 192.168.0.10: icmp_seq=3 ttl=255 time=0.1 ms
64 bytes from 192.168.0.10: icmp_seq=4 ttl=255 time=0.1 ms

--- 192.168.0.10 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.1 ms

bash# ping -c 5 10.10.10.79
PING 10.10.10.79 (10.10.10.79): 56 data bytes
64 bytes from 10.10.10.79: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 10.10.10.79: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 10.10.10.79: icmp_seq=2 ttl=255 time=0.1 ms
64 bytes from 10.10.10.79: icmp_seq=3 ttl=255 time=0.1 ms
64 bytes from 10.10.10.79: icmp_seq=4 ttl=255 time=0.1 ms

--- 10.10.10.79 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.1 ms

bash# ping -c 5 10.10.10.88
PING 10.10.10.88 (10.10.10.88): 56 data bytes

--- 10.10.10.88 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
==========
Output of dmesg:
Linux version 2.4.18 (root@sm510agp) (gcc version 2.95.4 20011002 (Debian prerelease)) #3 Tue Sep 23 18:58:21 CEST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e9400 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
BIOS-e820: 0000000007ff0000 - 0000000007fffc00 (ACPI data)
BIOS-e820: 0000000007fffc00 - 0000000008000000 (ACPI NVS)
BIOS-e820: 00000000fffe9400 - 0000000100000000 (reserved)
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
Kernel command line: auto BOOT_IMAGE=SM510AGP-2.4.18 ro root=301 ether=0,0,eth1
Initializing CPU#0
Detected 333.342 MHz processor.
Console: colour VGA+ 80x50
Calibrating delay loop... 665.19 BogoMIPS
Memory: 126340k/131008k available (1323k kernel code, 4280k reserved, 404k data, 220k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Before vendor init, caps: 0187f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0187f9ff 00000000 00000000 00000000
CPU serial number disabled.
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Mobile Pentium II stepping 0a
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd9c5, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfcd0-0xfcd7, BIOS settings: hda:pio, hdb:pio
hda: TOSHIBA MK6411MAT, ATA DISK drive
hdb: TOSHIBA CD-ROM XM-1902B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 12685680 sectors (6495 MB), CHS=839/240/63, UDMA(33)
hdb: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
es1371: version v0.30 time 22:15:42 Sep 21 2003
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 9 for device 00:0a.0
PCI: Sharing IRQ 9 with 01:00.0
PCI: Found IRQ 9 for device 00:0a.1
PCI: Sharing IRQ 9 with 01:00.1
Intel PCIC probe: not found.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000020
Yenta IRQ list 0c98, PCI irq9
Socket status: 30000010
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:07.2
uhci.c: USB UHCI at I/O 0xfce0, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
cs: cb_alloc(bus 2): vendor 0x1011, device 0x0019
PCI: Enabling device 02:00.0 (0000 -> 0003)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 220k freed
Adding Swap: 249472k swap-space (priority -1)
Real Time Clock Driver v1.10e
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.1
PPP BSD Compression module registered
irda_init()
IrCOMM protocol (Dag Brattli)
irlan_init()
irlan_register_netdev()
PPP Deflate Compression module registered
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256) (6 bit encapsulation enabled).
SLIP linefill/keepalive option.
NTFS driver v1.1.22 [Flags: R/W MODULE]
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
bluetooth.c: USB Bluetooth support registered
usb.c: registered new driver bluetooth
bluetooth.c: USB Bluetooth tty driver v0.12
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usblp
printer.c: v0.8:USB Printer Device Class driver
usb.c: registered new driver usbscanner
scanner.c: 0.4.6:USB Scanner Driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
Linux Tulip driver version 0.9.15-pre9 (Nov 6, 2001)
02:00.0: PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
PCI: Setting latency timer of device 02:00.0 to 64
tulip0: EEPROM default media type Autosense.
tulip0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip0: MII transceiver #0 config 3000 status 7829 advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at 0xc8928000, 00:50:BA:7D:50:D2, IRQ 9.
ircc_init
ircc_init Try to open all known SMC chipsets
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_superio_paged()
smc_probe()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
ircc_init
ircc_init Try to open all known SMC chipsets
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_superio_paged()
smc_probe()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
smc_superio_flat()
smc_probe()
smc_access()
smc_superio_paged()
smc_probe()
smc_access()
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x310-0x317 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
device eth0 entered promiscuous mode
orinoco.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
orinoco_cs.c 0.13e (David Gibson <hermes@gibson.dropbear.id.au> and others)
eth1: Station identity 001f:0001:0007:0034
eth1: Looks like a Lucent/Agere firmware version 7.52
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:60:1D:F1:D0:3D
eth1: Station name "HERMES I"
eth1: ready
eth1: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
device eth0 left promiscuous mode
eth1: New link status: Disconnected (0002)
eth1: New link status: Connected (0001)
eth0: Setting half-duplex based on MII#0 link partner capability of 0021.
eth1: New link status: Disconnected (0002)
eth1: New link status: Connected (0001)
eth0: Setting half-duplex based on MII#0 link partner capability of 0021.
eth1: New link status: Disconnected (0002)
eth1: New link status: Connected (0001)
eth1: New link status: Disconnected (0002)
eth1: New link status: Connected (0001)
==========

Funny thing about this is I already encountered the very same behaviour when running this Notebook under Win2k, so from my point of view it's hardly caused by the OS itselfs!

Any ideas?

micxz 09-25-2003 03:10 AM

Are you running Linux @10.10.10.88 ?

MMHein 09-25-2003 03:19 AM

No, this is a D-Link DWL-1000 AP Access Point, a neat, tiny, little box, rather proprietary I assume! ;-)

micxz 09-25-2003 03:23 AM

I'm sorry, "10.10.10.101" is what I meant

MMHein 09-25-2003 03:28 AM

Unfortunately, currently this is a WinNT (!!!) box running some windows-crap! :(

But in the not too distant future I will replace it with a Debian firewall/proxy! :)

micxz 09-25-2003 03:40 AM

Quote:

Originally posted by MMHein
Unfortunately, currently this is a WinNT (!!!) box running some windows-crap! :(

But in the not too distant future I will replace it with a Debian firewall/proxy! :)

OK. Well I think this is your problem.

You should route traffic through you linux firewall/gateway!

I'm sorry I'm not a windows tech. I can't answer anymore. You need to configure the WinNT box to do traffic forwarding and masq.

Or you can use samba.

MMHein 09-25-2003 04:20 AM

Well, not quite.

The notebook can establish a connection (OSI layer 3) to the AP, but it seems that the authorization (WEP) fails, hence no TCP/IP connection is provided.

First I have to solve this very issue, TCP/IP connection and communication between the notebook and the AP, the rest is just a piece of cake, if you know what i mean! ;-)

micxz 09-25-2003 03:15 PM

Are you in a public place were you need to encrypt your network? There is wepcrack.pl now you know'


All times are GMT -5. The time now is 01:47 PM.