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

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 .