Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: snaveevans on April 05, 2013, 08:08:57 AM

Title: Detailed DHCP in Web Interface
Post by: snaveevans on April 05, 2013, 08:08:57 AM
Hi, I'm very new to SME I have SME 8.0 and I'm currently using it as a wide array of things, including DHCP and DNS server. I was wondering if there is any way to view all devices connected through DHCP (very similar to what a router or modem has). I have read that it is possible to have a script and run in at the actual terminal, however I'm sure SSH would work as well (link below). Any help would be greatly appreciated and I'm sorry if this is a repeat by any means I've been looking for the past couple days and come up with nothing. If there is no such function I wouldn't mind trying out some coding for SME I am computer programmer (Intermediate) but always looking to expand my skills and would love to give back, please just point me in the right direction. Thank you very much!

Edit: Forgot to place link
http://forums.contribs.org/index.php/topic,35975.0.html
Title: Re: Detailed DHCP in Web Interface
Post by: Stefano on April 05, 2013, 09:41:14 AM
Hi, welcome here

ATM there's no such a feature
if you want to know how SME works behind the curtains, please read the developer's manual (see here (http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual)) and join the developer's ML ( see here (http://lists.contribs.org/mailman/listinfo/devinfo))

HTH
Title: Re: Detailed DHCP in Web Interface
Post by: mmccarn on April 05, 2013, 01:27:10 PM
Here's a bug report with an attachment that lists dhcp lease info: http://bugs.contribs.org/show_bug.cgi?id=2641
Title: Re: Detailed DHCP in Web Interface
Post by: snaveevans on April 10, 2013, 11:57:48 PM
Thank you very much for very quick replies I will look into the manual when I have the time. Thanks again!
Title: Re: Detailed DHCP in Web Interface
Post by: piran on April 11, 2013, 03:08:28 PM
Here's a bug report with an attachment that lists dhcp lease info: http://bugs.contribs.org/show_bug.cgi?id=2641
- { printf out," " }' /var/lib/dhcp/dhcpd.leases
+ { printf out," " }' /var/lib/dhcpd/dhcpd.leases
Title: Re: Detailed DHCP in Web Interface
Post by: CharlieBrady on April 11, 2013, 03:46:20 PM
- { printf out," " }' /var/lib/dhcp/dhcpd.leases
+ { printf out," " }' /var/lib/dhcpd/dhcpd.leases

Please post your patch (bug fix) in the bug tracker, not here.
Title: Re: Detailed DHCP in Web Interface
Post by: piran on April 11, 2013, 04:01:46 PM
Please post your patch (bug fix) in the bug tracker, not here.

More of an observation really, does it count
as a patch (bug fix) SIX years down the line ;-)
Title: Re: Detailed DHCP in Web Interface
Post by: mmccarn on April 13, 2013, 03:05:19 PM
I posted the patch in the bug  - actually, sme8 and sme7 keep dhcpd.leases in different directories...