Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Erich Titl
Hi Bob Am 26.01.2017 um 16:09 schrieb Bob von Knobloch: On 26/01/17 14:48, Erich Titl wrote: Hi ... cheers Erich Look at the dnsmasq option (from the manpage): -K, --dhcp-authoritative Should be set when dnsmasq is definitely the only DHCP server on a network. For DHCPv4, it

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Bob von Knobloch
On 26/01/17 16:33, Erich Titl wrote: > For such an environment I would use (semi-)static addresses and put the > names to /etc/hosts. > > cheers > > Erich Yes, that would be my choice too. Cheers, Bob -- The Sun is out, the sky is blue, it's time to drive the MR2.

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Bob von Knobloch
On 26/01/17 14:48, Erich Titl wrote: > Hi > > Am 26.01.2017 um 14:18 schrieb David M Brooke: >> > ... >> To Eric’s point from before, using Static Leases (via dhcp-host= in >> /etc/dnsmasq.conf) >> ensures a device is given the same IP address consistently, but >> dnsmasq doesn’t seem >> to add

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Andrew
Hi. The best solution will be set shall renew time and big lease time - but it seems like dnsmasq doesn't support renew time specifying... You may try to use some persistent-mounted partition that will store your leases (not a perfect solution, but it's suitable if this isn't a boot

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread David M Brooke
> On 26 Jan 2017, at 09:22, Mark Berndt wrote: > > On Tue, 24 Jan 2017 03:35:17 PM John Sager wrote: >> I think he wants to save it before every reboot rather than manually. > > yes, that is correct - I want to be able to save the ephemeral data that is > not permanent

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Erich Titl
Hi Am 26.01.2017 um 14:18 schrieb David M Brooke: ... To Eric’s point from before, using Static Leases (via dhcp-host= in /etc/dnsmasq.conf) ensures a device is given the same IP address consistently, but dnsmasq doesn’t seem to add the host to DNS unless there’s an *active* DHCP lease in

Re: [leaf-user] leaf-user Digest, Vol 117, Issue 14

2017-01-26 Thread Andrew
You already did it :) Switch off digests in maillist settings, use usual mailing instead (digests aren't useful IMHO, esp. on this list with 30-50 messages per month) On 26.01.2017 18:48, Mansoor Ahmad wrote: > How do I ask a question or two via this email so I can begin a dialouge? > > > On

Re: [leaf-user] leaf-user Digest, Vol 117, Issue 14

2017-01-26 Thread Mansoor Ahmad
How do I ask a question or two via this email so I can begin a dialouge? On 1/26/2017 9:40 AM, leaf-user-requ...@lists.sourceforge.net wrote: > Send leaf-user mailing list submissions to > leaf-user@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit >

Re: [leaf-user] saving dnsmasq.leases on reboot

2017-01-26 Thread Mark Berndt
On Tue, 24 Jan 2017 03:35:17 PM John Sager wrote: > I think he wants to save it before every reboot rather than manually. yes, that is correct - I want to be able to save the ephemeral data that is not permanent configuration. > > That would need a crafted script to save it (probably from