Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1085 (new defect)

Opened 15 years ago

Last modified 14 years ago

wep not always working in adhoc mode

Reported by: benoit.papillault@free.fr Assigned to:
Priority: major Milestone:
Component: madwifi: 802.11 stack Version: v0.9.2.1
Keywords: Cc:
Patch is attached: 0 Pending:

Description

wep does not always work in adhoc mode. Here are two sequence of commands to setup an adhoc network, the first one works and the second never. Moreover, if software encryption is used (by patching the driver), it always works. Suggestions were that it might be due to the 0.9.18.0 HAL.

Working setup: ifconfig wlan0 down modprobe -r ath_pci modprobe ath_pci wlanconfig wlan0 create wlandev wifi0 wlanmode adhoc iwconfig wlan0 essid devel-adhoc channel 36 iwconfig wlan0 key 1234567890 open ifconfig wlan0 192.168.41.1 up

Non-working setup: ifconfig wlan0 down modprobe -r ath_pci modprobe ath_pci wlanconfig wlan0 create wlandev wifi0 wlanmode adhoc iwconfig wlan0 essid devel-adhoc channel 36 ifconfig wlan0 192.168.41.1 up iwconfig wlan0 key 1234567890 open

Once a non-working setup has been done, it will never work, except if the module is removed. My conclusion so far is that HW wep decryption do not work.

Attachments

node1-ethernet.pcap (1.0 kB) - added by benoit.papillault@free.fr on 01/12/07 20:14:01.
ethernet capture on node1
node2-ethernet.pcap (1.1 kB) - added by benoit.papillault@free.fr on 01/12/07 20:14:30.
ethernet capture on node2
node2-80211.pcap (155.0 kB) - added by benoit.papillault@free.fr on 01/12/07 20:15:05.
802.11 capture in monitor mode on a third card

Change History

01/12/07 20:14:01 changed by benoit.papillault@free.fr

  • attachment node1-ethernet.pcap added.

ethernet capture on node1

01/12/07 20:14:30 changed by benoit.papillault@free.fr

  • attachment node2-ethernet.pcap added.

ethernet capture on node2

01/12/07 20:15:05 changed by benoit.papillault@free.fr

  • attachment node2-80211.pcap added.

802.11 capture in monitor mode on a third card

01/12/07 20:15:53 changed by benoit.papillault@free.fr

Capture files shows that packet are received but not decrypted (they are the same as in the 802.11 capture done in monitor).

01/12/07 23:12:28 changed by benoit.papillault@free.fr

The same occurs with revision 1710 (HAL : 0.9.17.2).

10/03/07 03:56:05 changed by br1

same problem was mentioned in #932