This page is specific to Ubuntu versions 6.10+
If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.
This page describes the steps needed to setup a windows DHCP server in order to run the LTSP Ubuntu
The Ubuntu default install of LTSP assumes that you are going to use the built in DHCP server to assign ip addresses to your clients. In many establishments this is not the desired method for implementation as there is most likely an existing DHCP server. The following steps detail how to make specific machines boot from the LTSP server, but utilise a windows DHCP server for the ip assignment.
This guide assumes you already have a running windows DHCP server and that you are specifying certain machines to boot from the LTSP server, ie. the majority of your machines are still running as they normally would.
IMPORTANT To prevent possible conflicts between your DHCP server and the LTSP DHCP server (if you installed 'ltsp-server-standalone', which includes a dhcp server), run the following command on the LTSP server to remove the DHCP package
sudo apt-get remove dhcp3-server #Used by older versions sudo apt-get remove isc-dhcp-server #Current package for LTS
- You might want to specify a configuration for PXE booting clients by obtaining the MAC address of each machine that requires to be bootable on the LTSP server and configuring your MS DHCP server accordingly (if you have other computers on your network that try to network boot before other methods, people might get a surprise when they next reboot!) This can be achieved by asking the specified machine to try to boot from LAN. A DHCP message will appear, similar to the following
CLIENT MAC ADDR: 00 0C 29 76 88 21 GUID: 234D234D-B4CC-6CEF-0EBD554566345
- Login to your windows server and load the DHCP configuration screen
- Create a DHCP reservation for the MAC address you obtained
- Add the configuration options below to enable the machine to boot from the LTSP server
- 017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
- 067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
Replace <ip address> with the ip address of your LTSP server.
Note that some users have to append server name to root path to get NFS to function ie server:/opt/ltsp/i386
If you are the impatient type, you can restart the DHCP server, via services.msc to ensure that the reservation is available. Then, once you reset the client machine it should be able to connect to the LTSP server and use the LTSP's root filesystem, as opposed to trying to use the DHCP server's.
Created: 2006-04-21 by PeteSavage
- note added by pkarrel
note by IvoMans: at least in Edgy installation the 067 Bootfile Name should be ltsp/i386/pxelinux.0
- Revised/cleaned up by Jordan Erickson 2010-02-16