-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all
I looked into trunk/batman/bsd.c on WCW07 and began to work on it this weekend. I believe that i've fixed the routing code and that the tun stuff is working but i'm somehow to stupid to actually test the stuff. My setup is like this:
== Mac OSX Intel/10.4 == internal network interface en3 (-> Virtual Machine): 192.168.129.130/25
$ ps auxwww | grep batmand root 2308 0.1 -0.0 28600 436 p2 S+ 8:21PM 0:00.83 ./batmand -d 2 -g 7 en3
$ ifconfig tun0 tun0: flags=8850<POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500 open (pid 2308)
Batman says: No gateways in range ...
== Virtualized Debian Linux == eth0: 192.168.129.131/25 batmand -r 3 -d 2 eth0
$ ps auxwww | grep batman root 6784 0.2 0.1 34472 692 pts/1 Sl+ 20:22 0:01 ./ batmand -r 3 -d 2 eth0
Batman says: 192.168.129.130 via: 192.168.129.130(64), gw_class 7 - 2 MBit, reliability: 3
BUT: ifconfig -a does not show any tun device. Is this normal behavior? In my opinion the linux box should create a tun and point the default route to it. Am i wrong?
LG Lorenz