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.
nice to hear.
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?
that would be the expected behaviour. Before that happens the gateway client tries to establish a TCP connection to the gateway on port 1967. May be you have to change your firewall settings accordingly. Use debug level 3 and / or 4 to find out whats going on. You have to watch out for a message like this:
Adding default route to 22.214.171.124 (0,1,0)