DHCP lease time in minutes

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Indigo
Posts: 20
Joined: Fri May 08, 2015 1:00 am

DHCP lease time in minutes

Postby Indigo » Fri Jan 12, 2018 4:57 am

i'm using DHCP lease times of 5 minutes for presence checking of devices/persons in my homeautomation system but in gargoyle webinterface you can only set a minimum leasetime of 1 hour.
i therefore edited the config file manually and everything works well - with the drawback that i cannot set static leases in webinterface anymore because webinterface says 0.083 hours leasetime is not permitted and i cannot save settings.

would it be possible to change this limitation in webinterface?

thanks ;)

Lantis
Moderator
Posts: 3901
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DHCP lease time in minutes

Postby Lantis » Fri Jan 12, 2018 5:59 am

Sure, i'll take a look at this one for you
WRT1900AC V1 on 1.10.X
WNDR3800/WRT3200ACM in a constant state of flux
www.lantisproject.com for custom builds and other projects
www.lantisproject.com/gargoyle_ispyisail/ for the latest releases

Indigo
Posts: 20
Joined: Fri May 08, 2015 1:00 am

Re: DHCP lease time in minutes

Postby Indigo » Mon Mar 26, 2018 4:16 am

has there been an implementation yet?

Lantis
Moderator
Posts: 3901
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DHCP lease time in minutes

Postby Lantis » Mon Mar 26, 2018 6:21 am

https://github.com/ericpaulbishop/gargoyle/pull/731

There is an as yet not merged body of work from another user which caters for this as far as i can tell.
Unfortunately it was pushed along with another change which Eric was unsure about and wanted to test/investigate more.

His efforts current sit with the next experimental release of Gargoyle rather than this change.

You may wish to look at making these changes locally on your own router for the moment. I don't have an ETA on when this change might be looked at.
WRT1900AC V1 on 1.10.X
WNDR3800/WRT3200ACM in a constant state of flux
www.lantisproject.com for custom builds and other projects
www.lantisproject.com/gargoyle_ispyisail/ for the latest releases


Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest