[B.A.T.M.A.N.] batman-adv not selecting a gateway when using "client 1" through uci config

Marek Lindner lindner_marek at yahoo.de
Sun Jul 22 13:20:13 CEST 2012


On Friday, July 20, 2012 04:24:11 Nicolás Echániz wrote:
> there's no gateway being selected until I manually run:
> # batctl gw_mode client 1
> (which was te current mode anyway)
> on each client.
> 
> In fact, connected computers are not being served DHCP offers because of
> this.
> 
> Is this some known behavior or just something I overlooked?

In fact you managed to uncover a regression that was overlooked for quite some 
time. Guess gw selection class 1 is rarely used.  :-)

Can you apply the attached patch and verify that it fixes the problem ? Here 
in my test setup it does.

Regards,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-batman-adv-select-an-internet-gateway-if-none-was-ch.patch
Type: text/x-patch
Size: 1139 bytes
Desc: not available
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20120722/d54f5743/attachment.bin>


More information about the B.A.T.M.A.N mailing list