LinuxMCE Forums

General => Developers => Topic started by: merkur2k on August 23, 2009, 06:10:33 pm

Title: DHCP leases info page for web admin
Post by: merkur2k on August 23, 2009, 06:10:33 pm
I have created a basic info page in the web admin for DHCP leases. I still have to add actions of some sort, so looking for some input there. Am planning on at least puting something in to add static reservations for devices that dont support dhcp, and probably an option to remove old stale entries.
This will be available be in the next build.
Any feedback would be highly appreciated.

(http://wiki.linuxmce.org/images/e/e6/Dhcpleases.png)
Title: Re: DHCP leases info page for web admin
Post by: dlewis on August 24, 2009, 01:30:11 am
good stuff merk.
Title: Re: DHCP leases info page for web admin
Post by: schaferj on August 24, 2009, 03:43:26 am
merkur2k,
fantastic work!  This is a very welcome addition.  web & orbiter sysadmin tools are most helpful.
joseph
Title: Re: DHCP leases info page for web admin
Post by: jimbodude on August 24, 2009, 08:19:38 pm
This is great - I've been wanting this feature for a while.  Maybe some diagnostic tools - like a "ping this host" button?  Very nice work, thanks.
Title: Re: DHCP leases info page for web admin
Post by: Alaith on September 02, 2009, 10:44:04 pm
Thank you very much for this! I really appreciate it.
Title: Re: DHCP leases info page for web admin
Post by: Murdock on September 02, 2009, 11:25:02 pm
Great Job!
Title: Re: DHCP leases info page for web admin
Post by: joshpond on May 02, 2011, 07:22:51 am
Sorry to bring back an old topic but does anyone know how to delete some of the entries/stale IP addresses that are no longer needed so that they can be reused?
As you can see for some reason mine filled with junk when I had to reset a camera a few times.

Thanks Josh

Code: [Select]
0 192.168.80.130 00:11:D8:C2:5E:7A 23-Apr-2011 09:10 inactive
1 192.168.80.136 00:11:D8:C2:5E:7A 23-Apr-2011 10:12 inactive
2 192.168.80.131 00:14:85:B8:BE:B1 25-Apr-2011 04:33 inactive
3 192.168.80.132 00:14:85:8E:AA:1A 25-Apr-2011 20:17 inactive
4 192.168.80.139 90:E6:BA:E8:56:79 28-Apr-2011 20:29 inactive
5 192.168.80.138                         30-Apr-2011 02:57 inactive
6 192.168.80.140 00:CE:39:B2:49:B5 2-May-2011 23:25 active
7 192.168.80.141 00:26:37:82:FA:96 2-May-2011 23:35 active
8 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:13 active
9 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:16 active
10 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:17 active
11 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:18 active
12 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:30 active
13 192.168.80.142 00:0D:C5:D0:66:5C 2-May-2011 04:32 inactive
14 192.168.80.143 00:0D:C5:D0:66:5C 9-May-2011 04:46 active
15 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:58 active
16 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 04:59 active
17 192.168.80.142 00:0D:C5:D0:66:5C 9-May-2011 05:00 active
18 192.168.80.142 00:0D:C5:D0:66:5C 2-May-2011 05:00 inactive
19 192.168.80.133 00:04:20:1E:4F:FF -- static pc1 SqueezeBox Player 35
20 192.168.80.134 00:18:DD:11:01:CD -- static pc2 HDHomeRun         38
21 192.168.80.135 00:E0:4C:92:64:9F -- static pc3 FI8918W IP Camera 42
22 -- static DCERouter 2
23 -- static DCERouter 2
Title: Re: DHCP leases info page for web admin
Post by: F1forHELP on July 04, 2011, 10:44:51 am
How about an option to delete inactive or stale entries and an option to rescan an unknown device?

Joseph Hume
F1 for HELP
Title: Re: DHCP leases info page for web admin
Post by: posde on July 04, 2011, 11:23:27 am
Joseph,

good idea. Please open a trac ticket as a feature_patch with the associated patched code.

Thank you!
Title: Re: DHCP leases info page for web admin
Post by: F1forHELP on July 05, 2011, 08:24:20 am
@posde

I was just tossing that idea out there because I think it would be a great addition.  I will see if I can figure out how to accomplish.

Joseph Hume
F1 for HELP
Title: Re: DHCP leases info page for web admin
Post by: posde on July 05, 2011, 09:25:04 am
Joseph,

go for it! If you have any question, feel free to toss them out.