[Babel-users] Open-Mesh migration, 802.11s, babeld, speed degradation

Juliusz Chroboczek jch at irif.fr
Sun Mar 3 22:18:15 GMT 2019


Hi Stuart,

> I would much rather use babeld, and I had set it up with the default
> settings from OpenWRT, but the radios fell off the net (not a logfile
> issue).

What do you mean they "fell off the net"?  Is the link layer associating?

Please run "iw dev wlan0 station dump" on each of the nodes, and check
whether the link layer sees the neighbours.  If it does not, then you've
got a lower layer problem, and babeld can't help.

> Then I ran it on each node with- babeld -d1 -C 'redistribute metric 128'
> br-lan (with firewall hole),

Don't do that, since it prevents babeld from selecting the right
interface.  You should un-bridge the LAN interfaces, and run babeld
directly over the physical interfaces.

In /etc/config/wireless, say something like:

config wifi-iface 'wlan0'
        option device 'radio0'
        option mode 'adhoc'
        option network 'wlan0'
        ...

The important bit is that you create a new network "wlan0" rather then
inserting the wlan0 interface into the "lan" network.

In /etc/config/network, you need to define the wlan0 network:

config interface 'wlan0'
        option ifname 'wlan0'
        option proto 'static'
        option ipaddr '192.168.2.1'
        option netmask '255.255.255.0'
        option force_link '1'

Finally, add your "wlan0" network to the "lan" zone in /etc/config/firewall:

config zone
        option name             lan
        list   network          'lan'
        list network            'wlan0'
        list network            'wlan1'
        list network            'wlan2'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

> But the nodes lose their connection every few minutes and reset,

What do you mean exactly?  Try doing

    killall -USR1 babeld

and send us the relevant part of the log.

-- Juliusz



More information about the Babel-users mailing list