Thank you very much. Now I have an ad-hoc network if not a batman adhoc
network.
They all report no nodes in range.
In x-wrt I changed all the channels to 10, mode ad-hoc, essid project. I
set the lan i.p. to 103.0.0.* (the number of the router).
I also added a startup script but it doesn't seem to be run. I have to
login via ssh and basically copy it:
iwconfig wl0 channel 10 essid project mode Ad-Hoc
ifconfig eth0.0 103.0.0.6 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig eth0.1 103.0.0.6 netmask 255.0.0.0 broadcast 103.255.255.255
ifconfig wl0 103.0.0.6 netmask 255.0.0.0 broadcast 103.255.255.255
iptables -t filter -I INPUT 2 -p udp --dport 4305 --sport 4305 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4306 --sport 4306 -j ACCEPT
iptables -t filter -I INPUT 2 -p udp --dport 4307 --sport 4307 -j ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4305 --sport 4305 -j
ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4306 --sport 4306 -j
ACCEPT
iptables -t filter -I OUTPUT 2 -p udp --dport 4307 --sport 4307 -j
ACCEPT
batmand eth0.0 eth0.1 wl0 &
batman is then running and x-wrt (the web gui sees it's running)
However, it reports no nodes in sight. If I run batman -d 4 eth0.0
eth0.1
wl0 I am only receiving data from that machine (same ip) if I grep -v
its
ip there's nothing except for "no nodes in range."
The routers are all connected I can ssh into any of them 3-8 but I can
only get internet if I'm attached to the router plugged in to the
internet. I tried changing the preferred gateway to the machine
103.0.0.3
with an internet connection but it didn't work.
I didn't change the bssids as you recommended, but it seems there is no
bssid splitting. (Oh, it reports 11 clients, I'm running six routers
right now...)
What should I see? what should the ip range be?
│ Name : project
│ │
│ │
│ │
│ │ SSID : project
│ │
│ │ Server : localhost:2501
│ │
│ │ BSSID : 92:6E:ED:16:90:48
│ │
│ │ Carrier : IEEE 802.11g
│ │
│ │ Manuf : Unknown
│ │
│ │ Max Rate: 54.0
Clients : 11 │
│
│ │ Type : Ad-hoc
│ │
│ │ Info :
│ │
│ │ Channel : 10
│ │
│ │ Privacy : No
│ │
│ │ Encrypt : None
│ │
│ │ Beacon : 25600 (26.214400 sec)
IP Type : UDP (4 octets) │
│
│ │ IP Range: 103.0.0.5