Byzantium/Byzantium — Issue #68: Extend captive-portal.sh to be aware of multiple wireless interfaces.
Author: virtadpt
Created: 2012-01-08 22:01:21+00:00
State: open

As it stands now, captive-portal.sh is capable of setting up IP tables rules for one wireless interface per node, but when users set up multiple radio nodes (and they will...) the rules the script installs may not work properly if executed like this:

captive-portal.sh 10.0.0.1 wlan0
captive-portal.sh 10.1.0.1 wlan1
captive-portal.sh 10.2.0.1 ath0

We'll have to test this, but I've a feeling that it won't do exactly what we need. Thus, this script will have to be aware of such situations and insert rather than just install the rules where appropriate. Someone who's good with IP tables should really do this.