Page 1 of 1

verify DHCP lease values

Posted: 06 Apr 2018, 12:50
by Tommmii
Hello,

I've been searching for a way to verify the DHCP lease details : assigned IP address, gateway, DNS server ?
I don't see detailed info in the sysinfo page, nor anywhere else.

Any suggestions ?

Thx,
Tom

Re: verify DHCP lease values

Posted: 06 Apr 2018, 13:15
by grovkillen
What version are you running?

Re: verify DHCP lease values

Posted: 06 Apr 2018, 13:17
by Tommmii
Firmware
Build 20100 - Mega32
GIT version (custom)
Plugins 41 [Normal]
Build Md5 4d44355f4d44355f4d44355f4d44355f
Md5 check fail !
Build time Feb 11 2018 18:14:27

Re: verify DHCP lease values

Posted: 06 Apr 2018, 20:46
by TD-er
The DHCP lease values like duration are not shown.
In the last builds there is the connection time and the last disconnect reason.
N.B. There is still an issue (in the last few builds) with selecting the wifi settings when current settings are empty or not correct.
I'm not sure the DHCP-lease time is somewhere available.
The BSSID (Mac address of the accesspoint) is shown.

Re: verify DHCP lease values

Posted: 06 Apr 2018, 21:56
by Tommmii
and dns server? can i verify that?

Re: verify DHCP lease values

Posted: 07 Apr 2018, 21:11
by TD-er
It is not shown, but I guess we could show it. I think it is available to query.

Re: verify DHCP lease values

Posted: 07 Apr 2018, 22:01
by Tommmii
how could i query it ?
the JSON api ?

Re: verify DHCP lease values

Posted: 07 Apr 2018, 22:19
by grovkillen
We need to implement it first.

Re: verify DHCP lease values

Posted: 07 Apr 2018, 23:11
by TD-er
Just looking at the source, it should be available in the /json page.

Re: verify DHCP lease values

Posted: 07 Apr 2018, 23:15
by grovkillen
Aha, I thought the OP wanted it on the info page.

Re: verify DHCP lease values

Posted: 08 Apr 2018, 04:26
by Tommmii
it wasn't on the json page.
At least not with the Feb 11 build. i have updated to a newer build of R20100 and now see much more info in json.

Re: verify DHCP lease values

Posted: 08 Apr 2018, 12:28
by TD-er
Great :)
And we really should do something about those build numbers :)

Re: verify DHCP lease values

Posted: 08 Apr 2018, 12:40
by grovkillen
TD-er wrote: 08 Apr 2018, 12:28 Great :)
And we really should do something about those build numbers :)
Yes, and before we go public with 2.0.0 since we don't want to change it once more later.