Orinoco Ad-Hoc under Linux (2.4.6)
Herwig Schelauske
schelauske at hhi.de
Mon Aug 20 18:54:52 EST 2001
Hi,
I try to set up a Ad-Hoc wireless connection (Peer-To-Peer) with 2
Lucent Orinoco Silver PCMCIA-Cards (Variant 1, Version 4.00, Firmware
4.00/7.52) under Linux between an StrongARM based board (Assabet) and my
notebook, using original Kernel 2.4.6 Hermes/Orinoco drivers.
If I ping from Assabet to the notebook, I receive only LLC (Logic-Link
Control) packets at my notebook. Cause I have no tcpdump/Ethereal at the
Assabet, I only know what I'am receiving at the Notebook.
Pinging from notebook to Assabet, I sending out ICMP-packets (see
Ethereal log down, source and destination seems to be OK). ifconfig
shows increasing RX packets at Assabet, but isn't answering (TX doesn't
increase). Why that?
How much faults did I made?
Herwig
PS: If I starts Win2k on the Notebook, Link Test is seeing the Assabet
("arm")
Notebook (i686) | StrongARM
-----------------------------+--------------------------
Kernel 2.4.6 (RedHat 7.1) | Kernel 2.4.6-rmk2-np1
cardmgr version 3.1.22 | cardmgr version 3.1.20
cardctl version 3.1.22 | cardctl version 3.1.20
Notebook:
[root at bs-nb200 /root]# ifconfig eth0 ; iwconfig eth0
eth0 Linkverkapselung:Ethernet HWaddr 00:02:2D:00:D6:01
inet addr:193.174.66.200 Bcast:193.174.66.255
Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Empfangene Pakete:1327 Fehler:0 Weggeworfen:0 ueberlauf:0 Rahmen:0
Verschickte Packete:49 Fehler:0 Weggeworfen:0 ueberlauf:0 Rahmen:0
Kollisionen:0 Sendewarteschlangenlaenge:100
Interrupt:5 Basisadresse:0x100
Warning : Device eth0 has been compiled with a different version
of Wireless Extension than ours (we are using version 10).
Some things may be broken...
eth0 IEEE 802.11-DS ESSID:"bsfunklan" Nickname:"bs-nb200"
Mode:Ad-Hoc Frequency:2.422GHz Cell: 02:02:2D:00:D6:01
Bit Rate=11Mb/s Tx-Power=15 dBm Sensitivity:1/3
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
[root at bs-nb200 /root]# route
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
193.174.66.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default arm 0.0.0.0 UG 0 0 0 eth0
[root at bs-nb200 /root]# arp
Adresse HWTyp HWAdresse Flags Maske
Iface
arm ether 00:02:2D:00:D7:E3 CM
eth0
bs-nb200 ether 00:02:2D:00:D6:01 CM
eth0
[root at bs-nb200 /root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 bs-nb200 bs-nb200.hhi.de localhost
193.174.66.200 bs-nb200 bs-nb200.hhi.de
193.174.66.252 arm
____________
Assabet:
[root at arm /root]# ifconfig eth0 ; iwconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:2D:00:D7:E3
inet addr:193.174.66.252 Bcast:193.174.66.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:98
Warning : Device eth0 has been compiled with a different version
of Wireless Extension than ours (we are using version 10).
Some things may be broken...
eth0 IEEE 802.11-DS ESSID:"bsfunklan" Nickname:"arm"
Mode:Ad-Hoc Frequency:2.422GHz Cell: 02:02:2D:00:D6:01
Bit Rate=11Mb/s Tx-Power=15 dBm Sensitivity:1/3
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
[root at arm /root]# route
Kernel IP Routentabelle
Destination Gateway Genmask Flags Metric Ref Use
Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default bs-nb200 0.0.0.0 UG 0 0 0 eth0
[root at bs-nb200 /root]# arp
Adresse HWTyp HWAdresse Flags Maske
Iface
bs-nb200 ether 00:02:2D:00:D6:01 CM
eth0
[root at bs-nb200 /root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost arm
193.174.66.200 bs-nb200
____________
ping from Assabet to Notebook: Ethereal shows LLC-packets like this:
Frame 1 (92 on wire, 92 captured)
Arrival Time: Aug 17, 2001 19:08:03.8202
Time delta from previous packet: 0.000000 seconds
Time relative to first packet: 0.000000 seconds
Frame Number: 1
Packet Length: 92 bytes
Capture Length: 92 bytes
IEEE 802.3
Destination: 00:02:2d:00:d6:01 (Lucent_00:d6:01)
Source: 00:02:2d:00:d7:e3 (Lucent_00:d7:e3)
Length: 92
Logical-Link Control
DSAP: NULL LSAP (0x00)
IG Bit: Individual
SSAP: NULL LSAP (0x00)
CR Bit: Command
Control field: I, N(R) = 85, N(S) = 85 (0xAAAA)
1010 101. .... .... = N(R) = 85
.... .... 1010 101. = N(S) = 85
.... .... .... ...0 = Information frame
Data (74 bytes)
0 0300 00f8 0800 4500 0054 0000 4000 4001 ......E..T.. at .@.
10 3188 c1ae 42fc c1ae 42c8 0800 6bc3 9e02 1...B...B...k...
20 5a02 0424 0000 f6ad 0100 44fb ffbf 9118 Z..$......D.....
30 0002 982b 0240 d0d7 0140 70da 0140 1600 ...+. at ...@p.. at ..
40 0000 0000 0000 5836 0240 ......X6.@
ping from Notebook to Assabet: Ethereal shows ICMP-packets like this:
Frame 1 (98 on wire, 98 captured)
Arrival Time: Aug 17, 2001 19:29:33.1172
Time delta from previous packet: 0.000000 seconds
Time relative to first packet: 0.000000 seconds
Frame Number: 1
Packet Length: 98 bytes
Capture Length: 98 bytes
Ethernet II
Destination: 00:02:2d:00:d7:e3 (Lucent_00:d7:e3)
Source: 00:02:2d:00:d6:01 (Lucent_00:d6:01)
Type: IP (0x0800)
Internet Protocol
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 84
Identification: 0x0000
Flags: 0x04
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: ICMP (0x01)
Header checksum: 0x3188 (correct)
Source: bs-nb200 (193.174.66.200)
Destination: arm (193.174.66.252)
Internet Control Message Protocol
Type: 8 (Echo (ping) request)
Code: 0
Checksum: 0x229c (correct)
Identifier: 0x1407
Sequence number: 15:00
Data (56 bytes)
More information about the wireless
mailing list