Hello Walter,
On Wed, Jun 06, 2012 at 12:16:07AM +0200, Walter Robert Ditzler wrote:
so my question is:
- do i need 2 wireless network card for each batman host?
This would probably be the best choice, but it is not always possible. Like in your case, your box has only one wlan device. What you can do is to create more VIF. Each wireless device is represented by a phy interface (phy0 in your case) and on top of it you can create more than one Virtual Interface (VIF). Actually, when you issued the command:
iw phy phy0 interface add mesh0 type adhoc
you are creating a VAP named mesh0 on top of phy0. What you could do to achieve your goal (and what we usually d in the same scenario) is to create another VIF which will be used as AccessPoint interface.
At that point you will have - mesh0, that will be put in bat0 - ap0 (or whatever the name you chose)
Now I think you know what to do :-) You can bridge bat0 and ap0!
Here is a link that explains how it works: http://linuxwireless.org/en/users/Documentation/iw/vif/
Cheers,
- can i connect tot he batman mesh essid to get access the base lan?
You want to use ap0 at this point.