Most users expect to connect to 192.168.1.1 for the first login, as
defaults in OpenWrt and LEDE.
This should be the default also for LibreMesh in my opinion.
Can be done setting the main_ipv4_address parameter in lime-defaults
[1] to 192.168.1.1/24 instead of what we have now (10.%N1.0.0/16 where
%N1 depends on the chosen name of the AP interface and the last two
fields are chosen depending on the device mac address [2]).
Are there other ways?
Do you think that keeping the auto IPv4 assignment enabled by default
is worth the trouble?
Bye!
Ilario
[1]
https://github.com/libremesh/lime-packages/blob/develop/packages/lime-syste…
[2] /16 seems good enough for avoiding collisions, checking the
birthday paradox [3] against a /16 range results that 300 hosts are
needed for having a 50 % probability of a collision. Neither the
possible collisions coming from the fallback mechanism for invalid
addresses [4] seem to be a problem.
[3]
https://en.wikipedia.org/wiki/Birthday_problem
[4]
https://github.com/libremesh/lime-packages/blob/develop/packages/lime-syste…