Dhcpmanager

From SME Server
Revision as of 15:14, 30 August 2014 by Stephdl (talk | contribs) (→‎features)
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

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

For SME8

This contrib is currently held in the stephdl and smecontribs repository (see bugzilla:7489 ), so the following commands will install on your SME Server.

yum --enablerepo=stephdl,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

or if you do not want to restart your server

signal-event conf-dhcpmanager

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

For SME9

This contrib is currently held in the stephdl, so the following commands will install on your SME Server.

yum --enablerepo=stephdl 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

or if you do not want to restart your server

signal-event conf-dhcpmanager

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

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 .