Hey Karl,
On Fri, Sep 14, 2007 at 05:22:07PM -0400, karl@skytecmail.com wrote:
Hello everyone!,
I have a couple of question, and excuse me if they has been previously answered, but I can't find any straight answer.
Sure, no problem ;)
If I run "batmand" on a WRT54G, either running OpenWRT, Tomato, DD-WRT or similar firmware, what is the correct mode to set up the router? That is, do I leave it in AP mode, Repeater mode (as in the case of DD-WRT) or what mode?
You need Ad-Hoc Mode, so anyone can talk to anyone.
I still don't have clear how the routers talk/find each other. And then, how do you set up DHCP server on them? On one gateway?, meaning that it will supply addresses to all clients, or on each gateway? I assume there has to be a single DHCP server on the mesh (obviously!), but where?
For batman, you need to give everyone static IPs. The Problem of an DHCP-server is that it only reaches clients within it's range and is not very reliable in a mesh network. (There are solutions to this, but the easiest way is to stick with static IPs for now)
Please point me to some references as to how to set up on an existing WRT54G.
Have a look at openwrt or the freifunk firmware (http://freifunk.net/wiki/FreifunkFirmwareEnglish).
I have already installed "batmand" on a WRT54G (v6) running DD-WRT (micro) and it runs!, but my setup will be on one master router WRT54GS V1, currently running Tomato VPN build that has tun driver) that will be my Internet gateway, and two WRT's running DD-WRT micro as satellites for the mesh. I'm confused, so I need a little guidance here :) Also, if I can use anything else other than DD-WRT firmware on the WRT54G V6's I have, please let me know. What I have available on hand is (1) WRT54G V1 and (2) WRT54G V6, so that's what I have to work with.
I'm not really familar with the OpenWRT models, but I guess every Model which runs batman somehow is fine. ;) By the way, if a router announces that its a gateway you should use the -g flag, and the satellites should use -r to find/use the gateway.
Regards, Simon