Dhcpmanager

From SME Server
Jump to navigationJump to search


Dhcpmanager for SME Server

PythonIcon.png Skill level: beginner
The instructions on this page can be followed by a beginner.


Maintainer

Stéphane de Labrusse AKA Stephdl

Version

Contrib 10:
Contrib 9:
smeserver-dhcpmanager
The latest version of smeserver-dhcpmanager is available in the SME repository, click on the version number(s) for more information.


Description

This contribution for SME Server adds the abilities to manage your dhcp server on SME Server

features

  • manage dhcpd.leases (remove one or all ip leases)
  • perform a Wake on Lan when a host is not up
  • scan your network to see how many devices are up
  • you can send winpopup for compatible devices to netsend protocol
  • start/stop your dhcp server
  • set values to dhcp server (range of ip, wins server, custom dns server, custom gateway, default-lease-time)


Important.png Note:
You could be also interested by another contrib (smeserver-dhcp-dns). This contribution for SME Server adds the abilities to parse the dhcpd.leases file and feed the data (the name of the computer) into tinydns (the dns server).

smeserver-dhcp-dns

It gives a real dns name to computers on your network instead of the dummy name

pc-00001.mycompany.local

after that on your network you can ping, ssh a remote host by its name


Installation

yum --enablerepo=smecontribs install smeserver-dhcpmanager

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

But if you do not want to restart your server

signal-event workgroup-update ; config set  UnsavedChanges no

Go to the dhcpd panel on Server Manager and activate all you settings.


Important.png Note:
If you use the Custom mode for specifying the DNS Server(s) and only add one server, then the system will add the local SME IP to the list. If you specify 2 or more then it won't. It always deletes any duplicated servers, so adding the same (non SME) server twice will mean that it leaves that one and does not add itself.



NetSend

Netsend is used to Send messages to other users, computers, or messaging names on the network, but it is only compatible with windows XP. For W7 and after you must use 'msg' which is incompatible with the netsend protocol. However it is not available for all W7 versions. You can try Sent which needs to be installed on all windows clients.

With smeserver-dhcpmanager you can send Netsend message to one client or to all clients (think to install or allow in the firewall the netsend protocol or 'sent' on every windows client)

Uninstall

yum remove smeserver-dhcpmanager
signal-event post-upgrade;  signal-event reboot

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-dhcpmanager component or use this link .


IDProductVersionStatusSummary (5 tasks)
12782SME Contribs11.0CONFIRMEDperl-CGI 'startform' and 'endform' are dropped in favor of 'start_form' and 'end_form'
12216SME Contribs10.0UNCONFIRMEDnetwork scan takes server off line (smeserver-dhcpmanager)
10393SME Contribs9.2CONFIRMEDLease Start Date (Time) wrong
8112SME Contribs8.0CONFIRMEDNFR: Replacement for net send (msg.exe)
8110SME Contribs8.0CONFIRMEDNFR: add a table of all fixed Ip of local network

Changelog

Only versions released in smecontrib are listed here.

smeserver-dhcpmanager Changelog: SME 10 (smecontribs)
2024/09/05 Terry Fage 2.0.4-18.sme
- apply locale 2024-09-05.patch
2024/03/01 Brian Read 2.0.4-17.sme
- Edit Menu entry to conform to new arrangements [SME: 12493]
2024/02/07 Brian Read 2.0.4-16.sme
- Fix JS error on load and typo in table class name [SME: 12468]

2023/12/30 Brian Read 2.0.4-15.sme
- Add more fixes for SM2 panels [SME: 11850]

- Add in Network scan page

2023/12/19 Brian Read 2.0.4-14.sme
- More fixes for SM2 panels [SME: 11850]
- Remove Winpopup facility (no longer supported by Windose)

- Show Leases page