DHCP problems prevent PXE boot LMDE

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

DHCP problems prevent PXE boot LMDE

Postby DougB on Thu Jan 19, 2012 12:04 pm

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
DougB
Level 1
Level 1
 
Posts: 49
Joined: Thu Oct 27, 2011 8:14 am

Linux Mint is funded by ads and donations.
 

Re: DHCP problems prevent PXE boot LMDE

Postby DougB on Sun Oct 14, 2012 8:10 am

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 1
Level 1
 
Posts: 49
Joined: Thu Oct 27, 2011 8:14 am

Re: DHCP problems prevent PXE boot LMDE

Postby DougB on Sun Oct 14, 2012 8:11 am

Can anyone offer enlightenment?
DougB
Level 1
Level 1
 
Posts: 49
Joined: Thu Oct 27, 2011 8:14 am


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 6 guests