Dhcpmanager

From SME Server


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 9:
Contrib 10:
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.

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 (3 tasks)
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)

2021/03/30 Jean-Philippe Pialasse 2.0.4-11.sme
- removing tmeplate custom, merged with core [SME: 11506]

- adding third DNS entry [SME: 11506]
2021/03/24 Brian Read 2.0.4-10.sme
- Add Update event to createlinks [SME: 11029]

2021/03/24 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

by assuming the date is correct and changing the weekday.
2020/10/12 Brian Read 2.0.4-9.sme
- Import to SME10 tree - [SME: 11029]
2017/12/02 SME Translation Server 2.0.4-8.sme
- apply locale 2017-12-02 patch
smeserver-dhcpmanager Changelog: SME 9 (smecontribs)
2017/12/02 SME Translation Server 2.0.4-8.sme
- apply locale 2017-12-02 patch
2017/03/25 Jean-Philipe Pialasse 2.0.4-7.sme
- apply locale 2017-03-25 patch
2017/03/13 Jean-Philipe Pialasse 2.0.4-6.sme
- fix issue with last patch deleting pt-br file [SME: 10150]
2017/02/01 Jean-Philipe Pialasse 2.0.4-5.sme
- apply locale 2017-02-02.patch
2016/06/28 stephane de Labrusse 2.0.4-4.sme
- sort the IP table by uniq mac address with the last dhcp lease