个人工具

“UbuntuHelp:UbuntuLTSP/LTSPWindowsDHCP”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第14行: 第14行:
 
* Create a DHCP reservation for the MAC address you obtained
 
* 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
 
* Add the configuration options below to enable the machine to boot from the LTSP server
** 017 Root Path:    /opt/ltsp/i386  
+
* 017 Root Path:    /opt/ltsp/i386  
** 066 Boot Server Host Name:    <ip address>
+
* 066 Boot Server Host Name:    <ip address>
** 067 Bootfile Name:    ltsp/i386/pxelinux.0    # for edgy and sup
+
* 067 Bootfile Name:    ltsp/i386/pxelinux.0    # for edgy and sup
** 067 Bootfile Name:    ltsp/pxelinux.0          # for Dapper
+
* 067 Bootfile Name:    ltsp/pxelinux.0          # for Dapper
 
Replace <ip address> with the ip address of your LTSP server
 
Replace <ip address> with the ip address of your LTSP server
 
Note Some users have to append server name to root path to get NFS to function ie server:/opt/ltsp/i386
 
Note Some users have to append server name to root path to get NFS to function ie server:/opt/ltsp/i386

2007年12月6日 (四) 15:46的版本

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, run the following command on the LTSP server to remove the DHCP package
sudo apt-get remove dhcp3-server
  • You will need to obtain the MAC address of each machine that requires to be bootable on the LTSP server. 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/i386/pxelinux.0 # for edgy and sup
  • 067 Bootfile Name: ltsp/pxelinux.0 # for Dapper

Replace <ip address> with the ip address of your LTSP server Note 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 NFS root, as opposed to trying to use the DHCP servers root.

  • Created: Date(2006-04-21T09:26:44Z) by PeteSavage
  • note added by pkarrel
  • note by IvoMans: at least in Edgy installation the 067 Bootfile Name should be ltsp/i386/pxelinux.0