2016-12-24 21:41 GMT+01:00 fred <support(a)qo-op.com>om>:
My node is a BulletM2 and eth0 is configured as WAN.
root@LiMe-8de281:~# cat /etc/config/lime
# Read the documentation in /etc/config/lime.example file
# and on
https://libremesh.org
### System options
config lime system
### Network general option
config lime network
### WiFi general options
config lime wifi
How did you configure the eth0 as wan port?
The suggested way is not the OpenWrt one but adding specific interface
configuration in the /etc/config/lime file.
This way all the LiMe stuff (like internet presence checking and
sharing) are going to work, otherwise I don't know :)
I suggest to undo the config on OpenWrt side (maybe with a reset to
default configs?) and to follow these instructions:
https://github.com/libremesh/lime-packages/blob/develop/packages/lime-syste…
So in your case you should add at the end of the /etc/config/lime file
these lines:
config net internetsharing
option linux_name 'eth0'
list protocols 'wan'
then launch "lime-config" command for applying the changes and reboot.
In that case, WAN dhcp client DNS is used for LAN
resolution relay.
Yep, I think so.
Is my case specific to my device?
I don't think so.
Today that first node is installed in front of my
house providing free
wifi to neighbors ;) Next step will be to install a "nodogsplash" web
site to invite neighbors to participate with me...
Amazing!!!
I think
http://trizonelabs.com/ is already using nodogsplash.
I am wondering how could I calculate customer charge
to help paying for
Internet nodes volunteers? Anyone reach that step already?
Mmmh not me :/
cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
option dhcpscript '/etc/alfred/dnsmasq-lease-share.lua'
option dhcphostsfile '/tmp/dhcp.hosts_remote'
list server '4.2.2.2'
list server '141.1.1.1'
list server '2001:470:20::2'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '1h'
list dhcp_option '6,194.25.0.125, 8.8.8.8'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
From my really limited experience looks ok...
But
the mechanisms behind this DNS proxy... Totally misterious for me...
How does DNS options are transmitted to mesh clients?
DNS options form your home DHCP server?
LibreMesh should take DNS options and use them for resolving requests
from connected clients...
I'm not sure.
If this is correct, your problem is already solved because the node
should query the custom DNS for answering the clients, can you test
this?
Now my iphone connects but no DNS propagated (still
node IP as DNS)
My Android cannot get IP address...
Can you check which IP does your iphone get?
Let us know :)
Ilario