...
Code Block |
---|
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 |
apt-get install dhcp3-server (is supposed to be already installed)
cp /etc/ltsp/dhcpd.conf /etc/ltsp/dhcpd-backup.conf
...
Code Block |
---|
# # Default LTSP dhcpd.conf config file. # #authoritative; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.2 192.168.2.250; option domain-name "LSTPtest.av"; option domain-name-servers 192.168.2.1; option broadcast-address 192.168.2.255; option routers 192.168.2.1; # next-server 192.168.2.1; # get-lease-hostnames true; option subnet-mask 255.255.255.0; option root-path "/opt/ltsp/i386"; if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" { filename "/ltsp/i386/pxelinux.0"; } else { filename "/ltsp/i386/nbi.img"; } } |
sudo service networking startsudo /etc/init.d/networking restart
sudo /etc/init.d/isc-dhcp-server restart
If problems kill NetworkManager or even uninstall it as it interfere with the dhcp config.
Code Block |
---|
killall NetworkManager |
WORKS UNTIL HERE, CLIENTS BOOT
Install and configure LDAP
...