summaryrefslogtreecommitdiff
blob: 10cb8c115bba8adaf0d92bb391d7d8ca3d4b4957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Sample configuration file for ISCD dhcpd
# with boot menu

ddns-update-style             ad-hoc;
default-lease-time            21600;
max-lease-time                21600;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.255;
option routers                192.168.0.1;
option domain-name-servers    192.168.0.1;
option domain-name            "domain.com";
option root-path              "192.168.0.1:/opt/ltsp/i386";
option log-servers            192.168.0.1;
next-server 	      	      192.168.0.1;

option ebootmagic code 128 = string;
option cmdline    code 129 = text;

option nodetype   code 131 = string;

option menudflts  code 160 = string;

option motdline1  code 184 = string;
option motdline2  code 185 = string;
option motdline3  code 186 = string;
option motdline4  code 187 = string;
option motdline5  code 188 = string;
option motdline6  code 189 = string;
option motdline7  code 190 = string;
option motdline8  code 191 = string;

option menuline1  code 192 = string;
option menuline2  code 193 = string;
option menuline3  code 194 = string;
option menuline4  code 195 = string;
option menuline5  code 196 = string;
option menuline6  code 197 = string;
option menuline7  code 198 = string;
option menuline8  code 199 = string;
option menuline9  code 200 = string;
option menuline10  code 201 = string;
option menuline11  code 202 = string;
option menuline12  code 203 = string;
option menuline13  code 204 = string;
option menuline14  code 205 = string;
option menuline15  code 206 = string;
option menuline16  code 207 = string;

option space PXE;
option PXE.mtftp-ip	code 1 = ip-address;
option PXE.mtftp-cport	code 2 = unsigned integer 16;
option PXE.mtftp-sport	code 3 = unsigned integer 16;
option PXE.mtftp-tmout	code 4 = unsigned integer 8;
option PXE.mtftp-delay	code 5 = unsigned integer 8;

class "pxeclients" {
		match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
		option vendor-class-identifier "PXEClient";
		option PXE.mtftp-ip 0.0.0.0;
		vendor-option-space PXE;
		#SETTING DEFAULT BOOTROM FOR PXE CARDS
		filename "pxe/eb-5.0.9-rtl8139.lzpxe";
	}

class "Etherboot" {
		match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";

		option ebootmagic	= E4:45:74:68:00:00;
		option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
		filename		= "lts/vmlinuz-2.4.19-ltsp-1";
		option menudflts	= "timeout=3600:default=191";

		option motdline1	= "+------------------------------------------------------------------------------+";
		option motdline2	= "|* POWERED By LINUX TERMINAL SERVER ON GENTOO * WWW.LTSP.ORG * WWW.GENTOO.ORG <|";
		option motdline3	= "|------------------------------------------------------------------------------|";
		option motdline4	= "|* Choose 1) Linux Terminal <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|";
		option motdline5	= "|------------------------------------------------------------------------------|";
		option motdline6	= "|* <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|";
		option motdline7	= "|* <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|";
		option motdline8	= "+------------------------------------------------------------------------------+";

		################################################################################################
		# DEFAULT MD5 PASSWD IS 1234 - DO GENERATE YOUR MD5 PASSWORD STRINGS AND PUT THEM WHERE NEEDED #
		# OR CLEAR THE FIELD IF DO NOT WANT PASSWORD PROTECTION					       #	
		################################################################################################

		option menuline1	= "LINUX___TERMINAL:::lts/vmlinuz-2.4.19-ltsp-1:::";
		option menuline2	= "WINDOWS_DESKTOP:::/dev/hda:81dc9bdb52d04dc20036dbd8313ed055::";
		option menuline3	= "FLOPPY__BOOT:::/dev/fd0:81dc9bdb52d04dc20036dbd8313ed055::";
}

shared-network WORKSTATIONS {
    subnet 192.168.0.0 netmask 255.255.255.0 {
	range 192.168.0.100 192.168.0.150;
    }
}

group	{
    use-host-decl-names       on;

    #HOST WITH ANOTHER PXE ETHERNET CARD THAN DEFAULT PXE BOOTROM ABOVE - CHANGE FILENAME PARAMETER
    host ws001 {
        hardware ethernet	00:00:00:00:00:00;
        fixed-address		192.168.0.101;
	filename		"pxe/eb-5.0.9-eepro100.lzpxe";
    }
    #NORMAL ETHERBOOT HOST
    host ws002 {
	hardware ethernet	00:00:00:00:00:00;
	fixed-address		192.168.0.102;
    }

}