[Olsr-users] Mesh for Humanitarian Aid

Kim Hawtin (spam-protected)
Thu Feb 5 23:49:38 CET 2009


Hi Joseph,

joseph regan wrote:
> Help!  I am trying to set up a wireless mesh network for a humanitarian
> organization.  This mesh will be used for emergencies across the world, if
> there is a disaster and their communications go out, we provide phone and
> internet.  The mesh will be great to provide satellite internet meshed.
> 
> So far, I have downloaded and installed OpenWRT on two RB133s.  These units
> have two wireless cards and 3 ethernet ports.  We'd like a 5 GHz backhaul
> and deliver the internet on a standard 2.4 GHz channel.  I have installed
> OLSR and configured it fine.  When I connect to a RB133 wirelessly, and I
> have a ethernet cord in that board, it works no problem.  However, when I
> test out the meshing capability, and I try to connect to a RB133 without the
> ethernet cord, I cannot get any internet.  Any help would be greatly
> appreciated!  Below are my configuration ports.  Anyone who can provide any
> help whatsoever will be able to help make a change in the world!

I notice that you are bridging the lan to wifi0. Is this what you really want?

Perhaps you may prefer setting up each ethernet interface with its own subnet
and routing them all. This may require you to announce HNA routes. Thats how I
do it, but I am sure that others may have better suggestions. =)

I've found that bridging and routing on the same host don't always mix nicely.

> OLSRD.CONF
> (everything is standard, short of changing one line)
> changed line:
> 
> Interface "ath1" "ath0" "eth0" "wifi0" "wifi1"
> 
> ------------------------------------------------------------------------------------------------------
> /ETC/CONFIG/NETWORK
> 
> config 'interface' 'loopback'
>         option 'ifname' 'lo'
>         option 'proto' 'static'
>         option 'ipaddr' '127.0.0.1'
>         option 'netmask' '255.0.0.0'
>
> config 'interface' 'lan'
>         option 'ifname' 'eth0'
>         option 'type' 'bridge'
>         option 'proto' 'static'
>         option 'netmask' '255.255.255.0'
>         option 'macaddr' ''
>         option 'ipaddr' '192.168.0.248'
>         option 'ip6addr' ''
>         option 'gateway' '192.168.0.254'
>         option 'ip6gw' ''
>         option 'dns' ' 192.168.0.1'
> 
> config 'interface' 'wlan'
>         option 'ifname' 'wifi1'
>         option 'proto' 'static'
>         option 'ipaddr' '10.0.0.2'
>         option 'netmask' '255.255.255.0'
>         option 'macaddr' ''
>         option 'ip6addr' ''
>         option 'gateway' ''
>         option 'ip6gw' ''
> ----------------------------------------------------------------------------------------
> /ETC/CONFIG/WIRELESS
> config 'wifi-device' 'wifi0'
>         option 'type' 'atheros'
> 
>         option 'hwmode' '11bg'
>         option 'maxassoc' ''
>         option 'distance' ''
>         option 'disabled' '0'
>         option 'antenna' ''
>         option 'channel' '06'
>         option 'diversity' '0'
>         option 'txantenna' '1'
>         option 'rxantenna' '1'
> 
> config 'wifi-iface'
>         option 'device' 'wifi0'
>         option 'network' 'lan'
>         option 'mode' 'ap'
>         option 'encryption' 'none'
>         option 'bssid' ''
>         option 'server' ''
>         option 'port' ''
>         option 'hidden' '0'
>         option 'isolate' '0'
>         option 'bgscan' '0'
>         option 'frag' ''
>         option 'rts' ''
>         option 'key1' ''
>         option 'key2' ''
>         option 'key3' ''
>         option 'key4' ''
>         option '80211h' '0'
>         option 'compression' ''
>         option 'bursting' '0'
>         option 'ff' ''
>         option 'wmm' '0'
>         option 'xr' ''
>         option 'ar' ''
>         option 'turbo' ''
>         option 'macpolicy' 'none'
>         option 'maclist' ''
>         option 'ssid' 'OpenWrt2'
>         option 'txpower' '4'
> 
> config 'wifi-device' 'wifi1'
>         option 'type' 'atheros'
> 
>         option 'agmode' '11a'
>         option 'maxassoc' ''
>         option 'distance' ''
>         option 'disabled' '0'
>         option 'antenna' ''
>         option 'channel' '36'
>         option 'diversity' '0'
>         option 'txantenna' '1'
>         option 'rxantenna' '1'
> 
> config 'wifi-iface'
>         option 'device' 'wifi1'
>         option 'encryption' 'none'
>         option 'ssid' 'tsfmesh'
>         option 'bssid' ''
>         option 'server' ''
>         option 'port' ''
>         option 'hidden' '0'
>         option 'isolate' '0'
>         option 'bgscan' '0'
>         option 'frag' ''
>         option 'rts' ''
>         option 'key1' ''
>         option 'key2' ''
>         option 'key3' ''
>         option 'key4' ''
>         option '80211h' ''

whats this one?   ^^^^^^ h?

>         option 'compression' ''
>         option 'bursting' ''
>         option 'ff' ''
>         option 'wmm' ''
>         option 'xr' ''
>         option 'ar' ''
>         option 'turbo' ''
>         option 'macpolicy' 'none'
>         option 'maclist' ''
>         option 'maclist' ''
>         option 'network' 'wlan'
>         option 'mode' 'adhoc'
>         option 'txpower' '4'

so do you need to set all these to nothing?
i usually comment them out if i'm not using them.

> Im not too sure how to configure DHCP, not sure if I need to configure it
> (or anything else)
> Any advice would be extremely appreciated!

More info on dnsmasq can be found here;
http://wiki.openwrt.org/OpenWrtDocs/KamikazeConfiguration

regards,

kim
-- 
Operating Systems, Services and Operations
Information Technology Services, The University of Adelaide
(spam-protected)




More information about the Olsr-users mailing list