Version 19 (modified by 17 years ago) ( diff ) | ,
---|
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
Attachments (1)
-
patch-01-ibss-fix.diff
(2.9 KB
) - added by 17 years ago.
IBSS fix for large networks
Download all attachments as: .zip