On 09/26/2015 04:01 PM, Gio wrote:
On Saturday, September 26, 2015 03:01:16 PM Ilario
Gelmetti wrote:
Could you explain me if it's always a good
idea to deselect
* Base system/dnsmasq
This is because of a strange thing in dnsmasq openwrt makefile, if you select
dnsmasq ipv6 version while still having the ipv4 one selected you get only the
ipv4 version of it while we need both ipv4 and ipv6
Ok, so we need both dnsmask ipv4 and ipv6.
But now I don't have neither one nor the other, neither selected in
the menu nor present in the device.
What's wrong?
dnsmasq-dhcpv6 is between the dependencies of lime-proto-anygw but I'm
not using that.
The packages I selected are:
lime-debug
lime-eb-ip-tables
lime-hwd-ground-routing
lime-hwd-openwrt-wan
lime-proto-batadv
lime-proto-wan
lime-system
lime-webui
'cause I'm planning to use just L2 routing with batman-adv, so I
shouldn't use anygw, right?
When one selects lime-proto-wan, usually is because he/she wants to use
the router as gateway, so maybe it could have dependency from
dnsmasq-dhcpv6 also?
* Base
system/firewall
Adding a layer on top of iptables is unnecessary complication moreover some
times create very difficult to debug problems, so better to save some KB on your
flash...
Ok, but now (even manually selecting dnsmasq-dhcpv6) masquerading is not
working at all for me. I have no rules in none of the iptables tables.
A workaround similar to this [1] should be included in lime-proto-wan
(or lime-eb-ip-tables?).
Adding another topic:
how do I specify the DHCP server range for dnsmasq in lime config files?
*
Network/odhcpd
This create problems because it is enabled by default on owrt creating
unexpected behaviour including duplicated out of control dhcp assignments and
I haven't found a way to disable it with 100% success, so better to remove it
totally
Ok.
Anyway I'm curious: why OpenWRT people make this coexist with dnsmasq
(enabling both by default)?
and if
it's not, in which cases should I keep these?
Should I select some LiMe package to replace their functions?
For example I noticed lime-eb-ip-tables [4] which I guess is needed for
having masquerading even deselecting Base system/firewall?
All lime packages should depends on what they need to function so you should
not need to select nothing out of those lime packages you are interested in to
make them function correctly
Ok.
Could anyone clarify when lime-eb-ip-tables is needed and when is
superfluous?
Thanks,
Ilario
[1]
https://github.com/libre-mesh/lime-packages/blob/develop/packages/bmx6-auto…
--
Ilario Gelmetti
iochesonome(a)gmail.com
igelmetti(a)iciq.es
ilario.gelmetti(a)estudiants.urv.cat