Re: Problem with TEW-USB WEP ?
Ingegno di Luca Macciò <[email protected]>
| Newsgroups | gmane.linux.drivers.atmel-wlan |
|---|---|
| Message-ID | <[email protected]> |
Hi Jörg,
I try to look with tcpdump during ping to 10.0.0.254, this is output :
15:04:53.921492 > 10.0.0.4 > 10.0.0.254: icmp: echo request (DF)
4500 0054 0000 4000 4001 25a8 0a00 0004
0a00 00fe 0800 b0e5 4f07 0000 75c1 0a3f
7f0f 0e00 0809 0a0b 0c0d 0e0f 1011 1213
1415 1617 1819 1a1b 1c1d 1e1f 2021 2223
2425 2627 2829 2a2b 2c2d 2e2f 3031 3233
3435 3637
15:04:53.925197 < truncated-ip - 4 bytes missing!10.0.0.254 > 10.0.0.4:
icmp: echo reply
4500 0054 0077 0000 4001 6531 0a00 00fe
0a00 0004 0000 b8e5 4f07 0000 75c1 0a3f
7f0f 0e00 0809 0a0b 0c0d 0e0f 1011 1213
1415 1617 1819 1a1b 1c1d 1e1f 2021 2223
2425 2627 2829 2a2b 2c2d 2e2f 3031 3233
Strange is "truncated-ip - 4 bytes missing!10.0.0.254" as packet lost some
byte, but where and why because radio data it seems work ?
It is possible problem on USB driver, but some dump of arp packet is right
without error or missing (I don't save in file sorry!).
I've set debug to 0x100183 and at bottom is output from ping 10.0.0.254
(more data!).
This is web page from my TEW-USB
http://www.trendware.com/products/TEW-USB.htm
but only driver working is in included CDROM (for Windows), I download and
test new from
http://www.trendware.com/asp/download/fileinfo.asp?file_id=204&B1=Search
but don't work. I've looking that new driver use two new file (internal.rom
+ external.rom I believe image of firmware)
but original CDROM driver only use Usbwlana.inf and Usbwlana.sys files
without any image.
On Windows98 and W2K original driver and shared secrets + wep64 working
fine.
If you like I can send windows driver copy from original CDROM (Usbwlana.inf
and Usbwlana.sys).
Best regards, Luca.
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 3c 00 01 00 00 09 0b 00
at76c503.c: rxhdr: 1c f6 e0 74
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 90 4b 0b 1a f8 80 cd
at76c503.c: packet: aa aa 03 00 00 00 08 06
at76c503.c: packet: 00 01 08 00 06 04 00 01
at76c503.c: packet: 00 90 4b 0b 1a f8 0a 00
at76c503.c: packet: 00 fe 00 04 00 00 3e 64
at76c503.c: packet: 0a 00 00 04
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: fc 00 03 00 00 0b 0b 00
at76c503.c: rxhdr: 27 bb e1 74
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 a0 c9 6f 0a f0 a0 cd
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 dc 00 00 40 00
at76c503.c: packet: 40 11 25 0c 0a 00 00 07
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 c8 47 e3 11 0a 7d 29
at76c503.c: packet: 0a 00 00 07 00 8a 00 c0
at76c503.c: packet: 00 00 20 45 45 45 4a 46
at76c503.c: packet: 44 45 44 45 50 46 43 45
at76c503.c: packet: 46 46 45 45 46 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 45 4a 45
at76c503.c: packet: 4f 45 48 45 46 45 48 45
at76c503.c: packet: 4f 45 50 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 42 4f 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 18 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 18 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 29 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 08 01 8f 0f
at76c503.c: packet: 01 00 40 16 c6 3d 00 00
at76c503.c: packet: 00 00 44 49 53 43 4f 52
at76c503.c: packet: 45 54 45 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 3c 00 01 00 00 07 0b 00
at76c503.c: rxhdr: bb 29 f0 74
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 90 4b 0b 1a f8 40 ce
at76c503.c: packet: aa aa 03 00 00 00 08 06
at76c503.c: packet: 00 01 08 00 06 04 00 01
at76c503.c: packet: 00 90 4b 0b 1a f8 0a 00
at76c503.c: packet: 00 fe 00 04 00 00 d3 2b
at76c503.c: packet: 0a 00 00 04
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: fc 00 03 00 00 06 0c 00
at76c503.c: rxhdr: 13 3f 00 75
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 a0 c9 6f 0a f0 f0 ce
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 dc 00 00 40 00
at76c503.c: packet: 40 11 25 0c 0a 00 00 07
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 c8 77 da 11 0a 7d 2a
at76c503.c: packet: 0a 00 00 07 00 8a 00 c0
at76c503.c: packet: 00 00 20 45 45 45 4a 46
at76c503.c: packet: 44 45 44 45 50 46 43 45
at76c503.c: packet: 46 46 45 45 46 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 45 4a 45
at76c503.c: packet: 4f 45 48 45 46 45 48 45
at76c503.c: packet: 4f 45 50 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 42 4f 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 18 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 18 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 29 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 08 01 8f 0f
at76c503.c: packet: 01 00 10 1e c6 3d 00 00
at76c503.c: packet: 00 00 44 49 53 43 4f 52
at76c503.c: packet: 45 54 45 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: fc 00 03 00 00 0a 0f 00
at76c503.c: rxhdr: 99 c3 1e 75
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 a0 c9 6f 0a f0 40 d0
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 dc 00 00 40 00
at76c503.c: packet: 40 11 25 0c 0a 00 00 07
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 c8 a7 d1 11 0a 7d 2b
at76c503.c: packet: 0a 00 00 07 00 8a 00 c0
at76c503.c: packet: 00 00 20 45 45 45 4a 46
at76c503.c: packet: 44 45 44 45 50 46 43 45
at76c503.c: packet: 46 46 45 45 46 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 45 4a 45
at76c503.c: packet: 4f 45 48 45 46 45 48 45
at76c503.c: packet: 4f 45 50 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 42 4f 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 18 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 18 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 29 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 08 01 8f 0f
at76c503.c: packet: 01 00 e0 25 c6 3d 00 00
at76c503.c: packet: 00 00 44 49 53 43 4f 52
at76c503.c: packet: 45 54 45 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: fc 00 03 00 00 07 10 00
at76c503.c: rxhdr: 8f 48 3d 75
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 a0 c9 6f 0a f0 80 d1
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 dc 00 00 40 00
at76c503.c: packet: 40 11 25 0c 0a 00 00 07
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 c8 d7 c8 11 0a 7d 2c
at76c503.c: packet: 0a 00 00 07 00 8a 00 c0
at76c503.c: packet: 00 00 20 45 45 45 4a 46
at76c503.c: packet: 44 45 44 45 50 46 43 45
at76c503.c: packet: 46 46 45 45 46 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 45 4a 45
at76c503.c: packet: 4f 45 48 45 46 45 48 45
at76c503.c: packet: 4f 45 50 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 42 4f 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 18 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 18 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 29 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 08 01 8f 0f
at76c503.c: packet: 01 00 b0 2d c6 3d 00 00
at76c503.c: packet: 00 00 44 49 53 43 4f 52
at76c503.c: packet: 45 54 45 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: fc 00 03 00 00 06 0e 00
at76c503.c: rxhdr: ad cf 5b 75
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 a0 c9 6f 0a f0 d0 d2
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 dc 00 00 40 00
at76c503.c: packet: 40 11 25 0c 0a 00 00 07
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 c8 07 c0 11 0a 7d 2d
at76c503.c: packet: 0a 00 00 07 00 8a 00 c0
at76c503.c: packet: 00 00 20 45 45 45 4a 46
at76c503.c: packet: 44 45 44 45 50 46 43 45
at76c503.c: packet: 46 46 45 45 46 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 45 4a 45
at76c503.c: packet: 4f 45 48 45 46 45 48 45
at76c503.c: packet: 4f 45 50 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 42 4f 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 18 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 18 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 29 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 08 01 8f 0f
at76c503.c: packet: 01 00 80 35 c6 3d 00 00
at76c503.c: packet: 00 00 44 49 53 43 4f 52
at76c503.c: packet: 45 54 45 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 0b 01 03 00 00 06 10 00
at76c503.c: rxhdr: 70 e6 d6 76
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 50 fc b0 25 08 00 e2
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 eb cd 11 00 00
at76c503.c: packet: 80 11 57 e6 0a 00 00 0c
at76c503.c: packet: 0a 00 00 ff 00 8a 00 8a
at76c503.c: packet: 00 d7 15 0f 11 02 03 12
at76c503.c: packet: 0a 00 00 0c 00 8a 00 c1
at76c503.c: packet: 00 00 20 46 44 45 46 46
at76c503.c: packet: 43 46 47 45 46 46 43 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 43
at76c503.c: packet: 41 41 41 00 20 41 42 41
at76c503.c: packet: 43 46 50 46 50 45 4e 46
at76c503.c: packet: 44 45 43 46 43 45 50 46
at76c503.c: packet: 48 46 44 45 46 46 50 46
at76c503.c: packet: 50 41 43 41 42 00 ff 53
at76c503.c: packet: 4d 42 25 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 11 00
at76c503.c: packet: 00 27 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 00 00 00
at76c503.c: packet: 00 00 00 00 00 27 00 56
at76c503.c: packet: 00 03 00 01 00 01 00 02
at76c503.c: packet: 00 38 00 5c 4d 41 49 4c
at76c503.c: packet: 53 4c 4f 54 5c 42 52 4f
at76c503.c: packet: 57 53 45 00 0c 00 40 77
at76c503.c: packet: 1b 00 46 52 45 43 43 45
at76c503.c: packet: 52 4f 00 00 00 00 00 00
at76c503.c: packet: 00 00 04 00 00 20 40 80
at76c503.c: packet: 00 00 00 00 53 45 52 56
at76c503.c: packet: 45 52 00
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 6e 00 03 00 00 07 0c 00
at76c503.c: rxhdr: 41 e9 d6 76
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 50 fc b0 25 08 10 e2
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 4e ce 11 00 00
at76c503.c: packet: 80 11 57 83 0a 00 00 0c
at76c503.c: packet: 0a 00 00 ff 00 89 00 89
at76c503.c: packet: 00 3a 7c d0 03 16 01 10
at76c503.c: packet: 00 01 00 00 00 00 00 00
at76c503.c: packet: 20 45 47 46 43 45 46 45
at76c503.c: packet: 44 45 44 45 46 46 43 45
at76c503.c: packet: 50 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 42
at76c503.c: packet: 4c 00 00 20 00 01
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 6e 00 03 00 00 07 11 00
at76c503.c: rxhdr: b4 53 e2 76
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 50 fc b0 25 08 a0 e2
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 4e cf 11 00 00
at76c503.c: packet: 80 11 56 83 0a 00 00 0c
at76c503.c: packet: 0a 00 00 ff 00 89 00 89
at76c503.c: packet: 00 3a 7c d0 03 16 01 10
at76c503.c: packet: 00 01 00 00 00 00 00 00
at76c503.c: packet: 20 45 47 46 43 45 46 45
at76c503.c: packet: 44 45 44 45 46 46 43 45
at76c503.c: packet: 50 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 42
at76c503.c: packet: 4c 00 00 20 00 01
at76c503.c: wlan0 received data packet:
at76c503.c: rxhdr: 6e 00 03 00 00 0b 0c 00
at76c503.c: rxhdr: f9 c4 ed 76
at76c503.c: packet: 08 42 00 00 ff ff ff ff
at76c503.c: packet: ff ff 00 90 4b 0b 1a f8
at76c503.c: packet: 00 50 fc b0 25 08 20 e3
at76c503.c: packet: aa aa 03 00 00 00 08 00
at76c503.c: packet: 45 00 00 4e d0 11 00 00
at76c503.c: packet: 80 11 55 83 0a 00 00 0c
at76c503.c: packet: 0a 00 00 ff 00 89 00 89
at76c503.c: packet: 00 3a 7c d0 03 16 01 10
at76c503.c: packet: 00 01 00 00 00 00 00 00
at76c503.c: packet: 20 45 47 46 43 45 46 45
at76c503.c: packet: 44 45 44 45 46 46 43 45
at76c503.c: packet: 50 43 41 43 41 43 41 43
at76c503.c: packet: 41 43 41 43 41 43 41 42
at76c503.c: packet: 4c 00 00 20 00 01
----- Original Message -----
From: <[email protected]>
To: <atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org>
Sent: Tuesday, July 08, 2003 2:04 PM
Subject: Re: [Atmel-WLAN-USB] Problem with TEW-USB WEP ?
> Hi Luca,
>
> > After this TEW-USB send/receive data from AP (dmesg debug), but network
> > don't work.
>
> > I setting my ip on wlan0 at 10.0.0.4 and AP is 10.0.0.254, network mask
is
> > the same 255.255.255.0 (setting is like on windows that working!)
>
> > If I try to ping 10.0.0.254 never came back, but if I looking dmesg from
> > wlan0 more data recevived.
>
> try a "tcpdump -xi wlan0" on 10.0.0.4 while pinging, does this show any
> rx data?
> If you got the arp responses from the AP and the host behind, your
> wireless connection should be OK.
>
> > dmesg after ping:
> >
> > at76c503.c: wlan0 tx wlen x74 pad x0 rate 1 hdr
> > 0841000000904B0B1AF80002DD30146C00A0C96F0AF00000
> > at76c503.c: wlan0 data 00000000000008004500005400004000
> > at76c503.c: wlan0 received data packet:
> > at76c503.c: rxhdr: 74 00 03 00 00 0a 08 00
> > at76c503.c: rxhdr: 8a ce e5 d0
> Guess you have bit 7 set in debug=xxx of at76c503.o to see the
> rx_data, could you also enable bit 8 (e.g. debug=0x100183)?
> This would show more of the incoming data.
>
> > Still, if looking arp on 10.0.0.4 I've see correctly fisical and network
> > address for 10.0.0.254 and 10.0.0.7 !
>
> > My device is labeled TEW-USB (I believe is first USB wireless device
from
> > TRENDWARE) and inside there is:
> >
> > AT76C503A uP
> > AT29LV010A Flash
> > HFA3863A Conv. and Synt.
> > HFA3783 Mod./Demod.
> > HFA3861B Baseband proc.
> > HFA3983IV Power Ampl.
>
> Do you have any URL at TEW's website for it (just curious how it looks
like
> and what the Windows driver is made of). Any Windows tool to upgrade
> the firmware? I've never tested the Berlios with that old firmware,
> which may well contain a number of bugs :-(
> Try to get an fw update from TEW!
>
> /Jörg
>
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
>
> Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
>
> _______________________________________________
> Atmel-wlan-usb mailing list
> Atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org
> https://iprserv.jura.uni-leipzig.de/mailman/listinfo/atmel-wlan-usb
>