DHCP problems prevent PXE boot LMDE

Archived topics about LMDE 1 and LMDE 2
Locked
DougB
Level 3
Level 3
Posts: 110
Joined: Thu Oct 27, 2011 8:14 am

DHCP problems prevent PXE boot LMDE

Post by DougB »

Sorry if this is is a noob question; I've got stuck.
I want to use PXE to install LMDE on a notebook - no USB or CD boot - but can't get it to work, AFAiCT because of problems with DHCP.
I've tried to use ock (http://sourceforge.net/projects/oneclickkick/) unsuccessfully, getting an error message along the lines of "error - see dhcpdcheck syslog" - not very helpful as I seem to have no dhcpdcheck on my system.
I've tried again setting up an Apache server on http://127.0.0.1 with several websites according to http://www.debian-administration.org/articles/412 and then
Deb installation via PXE according to http://magvar.wordpress.com/2011/12/11/ ... -inst-pxe/. It looks as though things are OK up to the point where I need to modify the instructions in the magvar article relating to DHCP configuration:

(1) I modify /etc/dhcp/dhcpd.conf instead of /etc/dhpd-3/dhcpd.conf - that is, adding
<quote>
# TFTP options
allow booting;
allow bootp;
...
group {
next-server 192.168.16.52;
host tftpclient {
# tftp client hardware address
hardware ethernet 00:1C:C0:DA:FF:D5;
filename "pxelinux.0";
}
}

<endquote>
to the file, and

(2) restarting isc-dhcp-server, instead of dhcp3-server
because " /etc/init.d/dhcp3-server restart " gets the message 'no such file or directory' although I have the dhcp3-server package installed.
When I run " /etc/init.d/isc-dhcp-server restart " I get the following message:

# /etc/init.d/isc-dhcp-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 110: expecting a parameter or declaration
allow bootp;
^
Configuration file errors encountered -- exiting

The isc.org reference just confuses me.

Where do I go from here?

Linux 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64 GNU/Linux
Linux Mint Debian with gdm3
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DougB
Level 3
Level 3
Posts: 110
Joined: Thu Oct 27, 2011 8:14 am

Re: DHCP problems prevent PXE boot LMDE

Post by DougB »

Sorry, the addition to dhpd.conf should have been
# TFTP options
allow booting;
allow bootp;
...
group {
next-server 127.0.0.1;
host tftpclient {
# tftp client hardware address
hardware ethernet 00:24:54:11:f0:13;
filename "pxelinux.0";
}
}
DougB
Level 3
Level 3
Posts: 110
Joined: Thu Oct 27, 2011 8:14 am

Re: DHCP problems prevent PXE boot LMDE

Post by DougB »

Can anyone offer enlightenment?
Locked

Return to “LMDE Archive”