SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010891ClearOSapp-dhcp - DHCP Serverpublic2016-10-10 10:042020-03-10 06:32
Reporteruser2 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010891: Add hook to hosts file for static leases
DescriptionFrom the forums (first comment) - https://www.clearos.com/clearfoundation/social/community/extra-column-for-static-leases-dhcp-server-app [^]

It would also be nice for the static leases to be able to populate the hosts file if you give the lease a name.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005201)
NickH (developer)
2017-03-21 12:06

Or perhaps, rather than populate the hosts file, add a configuration directive --dhcp-host to dnsmasq.conf or one of its subfiles. This looks like you can set the MAC, IP address and host name in one line, which could be in a separate sub-file. This would replace /etc/ethers combined with the hosts file.
(0006621)
NickH (developer)
2017-10-06 07:36

From the man page, it would be better to use a subfile specified by --dhcp-hostsfile=<path> as this is reread when a SIGHUP is issued avoiding the need to reload dnsmasq when changes are made.

This change could then be integrated into the Network Map as you would then have a link between MAC and Device Name.
(0006681)
NickH (developer)
2017-10-18 12:19

Duplicate of https://tracker.clearos.com/view.php?id=1955? [^]
(0013481)
NickH (developer)
2020-03-10 06:32

Migrated to https://gitlab.com/clearos/clearfoundation/app-dhcp/-/issues/15 [^]

- Issue History
Date Modified Username Field Change
2016-10-10 10:04 user2 New Issue
2016-10-10 10:04 user2 Issue generated from: 0010881
2016-10-10 10:05 user2 Status new => confirmed
2017-03-21 12:06 NickH Note Added: 0005201
2017-10-06 07:36 NickH Note Added: 0006621
2017-10-18 12:19 NickH Note Added: 0006681
2020-03-10 06:32 NickH Note Added: 0013481
2020-03-10 06:32 NickH Status confirmed => closed
2020-03-10 06:32 NickH Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7