Ad-Hoc mode on RT61 - configures, but sends/receives nothing

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4641

LeoNerd

02-03-2008 01:12:16

I've managed to switch my RT61 card into Ad-Hoc mode

[code1l0oanvz]# iwconfig wireless
wireless IEEE 802.11 ESSID:"leoair"
Mode:Ad-Hoc Frequency:2.442 GHz Cell: Not-Associated
Tx-Power=2 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0[/code1l0oanvz]

I'm so far unable to actually make the link work with my IPW2100-based laptop.

Running a third machine in "monitor" mode, I can see beacons from the IPW2100, but not the RT61.

Is this perhaps because RT61 isn't sending beacons? Perhaps some patch somewhere I need to use to enable that?

A small sample of its output (it spams about 10 lines in 2-second intervals)

[code1l0oanvz]01:19:27.970536 2264934757us tsft 1.0 Mb/s 2467 MHz (0x00a0) -79dB signal 0dB noise antenna 2 BSSID:00:40:96:a1:0d:3b (oui Unknown) DA:Broadcast SA:00:40:96:a1:0d:3b (oui Unknown) Beacon () [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 13, PRIVACY
01:19:27.985221 2281799688us tsft 1.0 Mb/s 2467 MHz (0x00a0) -49dB signal 0dB noise antenna 2 BSSID:00:17:3f:a0:10:42 (oui Unknown) DA:Broadcast SA:00:17:3f:a0:10:42 (oui Unknown) Beacon (Cricket01) [1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 Mbit] ESS CH: 11
01:19:28.072928 2281711973us tsft 1.0 Mb/s 2472 MHz (0x00a0) -79dB signal 0dB noise antenna 2 BSSID:00:40:96:a1:0d:3b (oui Unknown) DA:Broadcast SA:00:40:96:a1:0d:3b (oui Unknown) Beacon () [1.0* 2.0* 5.5* 11.0* Mbit] ESS CH: 13, PRIVACY
01:19:28.087614 2298576901us tsft 1.0 Mb/s 2472 MHz (0x00a0) -52dB signal 0dB noise antenna 2 BSSID:00:17:3f:a0:10:42 (oui Unknown) DA:Broadcast SA:00:17:3f:a0:10:42 (oui Unknown) Beacon (Cricket01) [1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 Mbit] ESS CH: 11
...[/code1l0oanvz]

Whereas, if I now put the RT61 in monitor mode, all it printed in a whole minute was

[code1l0oanvz]# tcpdump -i wireless
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wireless, link-type IEEE802_11_RADIO (802.11 plus BSD radio information header), capture size 96 bytes
01:17:35.967522 [|802.11]
01:17:36.668487 [|802.11]
01:17:38.078641 [|802.11]
01:17:38.780454 [|802.11]
^C
4 packets captured
4 packets received by filter
0 packets dropped by kernel[/code1l0oanvz]

Maybe data somehow getting mangled on the way in?

Spy84464

02-03-2008 17:11:35

Hello,
Can you precise which version of the driver you're running?

Regards,
Romain

LeoNerd

03-03-2008 22:47:04

I can't find anything in /sys which would give a version, but grepping the source code reveals

rt2x00.h47#define DRV_VERSION "2.1.3"

It's a monolithic kernel so I can't do anything that would require a .ko file to test.

Is that sufficient information?