wiki:HowTo/bssidFix

Documentation | !bssidFix

A Solution to Ad-Hoc BSSID Partitioning Problems

When wifi network cards are placed in ad-hoc mode (iwconfig ath0 mode 'ad-hoc') they will automatically search for networks with the same essid (iwconfig ath0 essid 'blah'). They will adopt the bssid of the first node to turn on that has the specified essid.

Unfortunately, this algorithm and/or implementation is not very good and even in relatively small networks, nodes that have the same 'essid' will end up with different a 'bssid'. Since the wifi card drivers filter incoming packets by bsssid, nodes that should be in the same ad-hoc network can't exchange packets.

The solution to this problem can be found by modifying the madwifi drivers (for Atheros wifi cards only), so that the bssid a node generates is a hash of the essid instead of its MAC address. This ensures that nodes with identical essid's end up with identical bssid's.

Although it has not been extensively tested with non-modified nodes, this modification to the madwifi drivers should be fully backwards compatible with non-modified nodes.

IBSS fix patch

Attached is a patch of what needs to get done for madwifi-0.9.3.1. This has been added as part of baseline-2.2.ndz and baseline-2.3.ndz

Last modified 17 years ago Last modified on Jul 13, 2007, 8:04:05 PM

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.