Setup the Networking Enviroment

DHCP Server

Install and configure a DHCP server

$ sudo apt-get install isc-dhcp-server

Edit the DHCP configuration file specifying IP addresses and Ethernet interface

$ sudo vi /etc/dhcp/dhcpd.conf

TFTP Server

install TFTP Server with the following command:

$ sudo apt-get install tftpd-hpa

Configure the following file as needed:

$ sudo vi /etc/default/tftpd-hpa

Start and Stop TFTP Service

$ sudo service tftpd-hpa stop
$ sudo service tftpd-hpa start

To reload the configuration use:

$ sudo service tftpd-hpa force-reload

Create the directory /srv/tftp and change the group as follows:

$ sudo mkdir -p /srv/tftp/
$ sudo chown -R :nogroup /srv/tftp/

NFS Server Configuration

install nfs server with the command:

$ sudo apt-get install nfs-kernel-server

Status of Service

$ sudo service --status-all | grep dhcp
$ [+] isc-dhcp-server

or many different service´s status

$ sudo service --status-all | grep -E "dhcp|tftpd|nfs-kernel-server"
$ [+] isc-dhcp-server
$ [+] tftpd-hpa
$ [+] nfs-kernel-server
  • +: the service is running
  • -: the service is not running
  • ?: the service state cannot be determined (for some reason).

results for ""

    No results matching ""