:~$ sudo tar -zxpf /tftpboot/ -C /tftpboot Now, we need to create a directory to hold the Kali Linux Netboot image and download the image we wish to serve. With the edits in place, the dnsmasq service needs to be restarted in order for the changes to take effect. If needed you can also define your gateway and DNS servers with the dhcp-option directive as shown below: interface=eth0ĭhcp-range=192.168.101.100,192.168.101.200,12h In nf, enable DHCP, TFTP and PXE booting and set the dhcp-range to match your environment (we are using 192.168.101.100-200). Setup a PXE Serverįirst, we need to install dnsmasq to provide the DHCP/TFTP server and then edit the nf file: :~$ sudo apt install -y dnsmasq Booting and installing Kali Linux over the network ( PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting pre-seeding of the Kali Linux installation.
0 Comments
Leave a Reply. |