verify DHCP lease values

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

verify DHCP lease values

#1 Post by Tommmii » 06 Apr 2018, 12:50

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

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: verify DHCP lease values

#2 Post by grovkillen » 06 Apr 2018, 13:15

What version are you running?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: verify DHCP lease values

#3 Post by Tommmii » 06 Apr 2018, 13:17

Firmware
Build 20100 - Mega32
GIT version (custom)
Plugins 41 [Normal]
Build Md5 4d44355f4d44355f4d44355f4d44355f
Md5 check fail !
Build time Feb 11 2018 18:14:27

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: verify DHCP lease values

#4 Post by TD-er » 06 Apr 2018, 20:46

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.

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: verify DHCP lease values

#5 Post by Tommmii » 06 Apr 2018, 21:56

and dns server? can i verify that?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: verify DHCP lease values

#6 Post by TD-er » 07 Apr 2018, 21:11

It is not shown, but I guess we could show it. I think it is available to query.

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: verify DHCP lease values

#7 Post by Tommmii » 07 Apr 2018, 22:01

how could i query it ?
the JSON api ?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: verify DHCP lease values

#8 Post by grovkillen » 07 Apr 2018, 22:19

We need to implement it first.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: verify DHCP lease values

#9 Post by TD-er » 07 Apr 2018, 23:11

Just looking at the source, it should be available in the /json page.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: verify DHCP lease values

#10 Post by grovkillen » 07 Apr 2018, 23:15

Aha, I thought the OP wanted it on the info page.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: verify DHCP lease values

#11 Post by Tommmii » 08 Apr 2018, 04:26

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.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: verify DHCP lease values

#12 Post by TD-er » 08 Apr 2018, 12:28

Great :)
And we really should do something about those build numbers :)

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: verify DHCP lease values

#13 Post by grovkillen » 08 Apr 2018, 12:40

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.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests