hp8000-8300elite Issues.
-
@Troye-Johnson Well if you don’t “need” syslinux stuff, lets regroup and get FOG working as it was intended.
So you have dnsmasq running. Can you post the configuration of your dnsmasq file?
The first step is to get imaging working on the same subnet as the fog server, then we will work with the other subnets.
-
@george1421
Here is the dnsmasq config file I was using.# Sample configuration for dnsmasq to function as a proxyDHCP server, # enabling LTSP clients to boot when an external, unmodifiable DHCP # server is present. # The main dnsmasq configuration is in /etc/dnsmasq.conf; # the contents of this script are added to the main configuration. # You may modify the file to suit your needs. # Don't function as a DNS server: port=0 # Log lots of extra information about DHCP transactions. log-dhcp # Dnsmasq can also function as a TFTP server. You may uninstall # tftpd-hpa if you like, and uncomment the next line: # enable-tftp # Set the root directory for files available via FTP. tftp-root=/tftpboot # The boot filename. dhcp-boot=pxelinux,,192.168.1.172 # rootpath option, for NFS #dhcp-option=17,/images # kill multicast dhcp-option=vendor:PXEClient,6,2b # Disable re-use of the DHCP servername and filename fields as extra # option space. That's to avoid confusing some old or broken DHCP clients. dhcp-no-override # PXE menu. The first part is the text displayed to the user. The second is the timeout, in seconds. pxe-prompt="Press F8 for boot menu", 3 # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86, # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI # This option is first and will be the default if there is no input from the user. pxe-service=X86PC, "Boot from fog", pxelinux # A boot service type of 0 is special, and will abort the # net boot procedure and continue booting from local media. pxe-service=X86PC, "Boot from local hard disk", 0 # If an integer boot service type, rather than a basename is given, then the # PXE client will search for a suitable boot service for that type on the # network. This search may be done by multicast or broadcast, or direct to a # server if its IP address is provided. # pxe-service=x86PC, "Install windows from RIS server", 1 # This range(s) is for the public interface, where dnsmasq functions # as a proxy DHCP server providing boot information but no IP leases. # Any ip in the subnet will do, so you may just put your server NIC ip here. # Since dnsmasq is not providing true DHCP services, you do not want it # handing out IP addresses. Just put your servers IP address for the interface # that is connected to the network on which the FOG clients exist. # If this setting is incorrect, the dnsmasq may not start, rendering # your proxyDHCP ineffective. dhcp-range=192.168.1.10,proxy,255.255.0.0 # This range(s) is for the private network on 2-NIC servers, # where dnsmasq functions as a normal DHCP server, providing IP leases. # dhcp-range=192.168.0.20,192.168.0.250,8h # For static client IPs, and only for the private subnets, # you may put entries like this: # dhcp-host=00:20:e0:3b:13:af,10.160.31.111,client111,infinite
-
@Troye-Johnson Can you also run this command from the fog server linux console
dnsmasq -v
and post the results here.Also do you need or plan to support both uefi and bios (legacy) mode computers?
-
@george1421
Yes at lease until we get new computers in a year or two.dnsmasq -v Dnsmasq version 2.48 Copyright (C) 2000-2009 Simon Kelley Compile time options IPv6 GNU-getopt DBus no-I18N DHCP TFTP "--bind-interfaces with SO_BINDTODEVICE" This software comes with ABSOLUTELY NO WARRANTY. Dnsmasq is free software, and you are welcome to redistribute it under the terms of the GNU General Public License, version 2 or 3.
-
@Troye-Johnson OK you have a little work ahead of you. But in the end we will get this working for you.
Your version of dnsmaq is quite (very) old. We are going to go ahead and compile a newer version of dnsmaq for you. Version 2.76 is the first version that dynamically supported both uefi and bios firmware. So I’m going to recommend you fist update to 2.76 by compiling it yourself. Don’t worry I have a tutorial for that. It was written using ubuntu so I may need to spin up a centos 6.5 system to document the process using centos. There may be just enough different that it may cause you a problem. Once we get your dnsmasq updated then you can use the config file found in that tutorial and move away from that whole .0 file issue.
https://forums.fogproject.org/topic/8725/compiling-dnsmasq-2-76-if-you-need-uefi-support
I’ll report back when I have the centos 6.5 instance up and running and the tutorial tweaked.
-
Ok so I started from scratch and got it to work in a vm using the steps from here “https://wiki.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE” Now while it worked in a vm when doing it from a workstation hp compaq elete 8300 ultra-slim desktop I get a “please enter tftp server:” error.
-
@Troye-Johnson said in hp8000-8300elite Issues.:
please enter tftp server
This is telling us that the dhcp server is not setting dhcp option 66. If you manually enter the FOG server IP address I suspect you will see the fog ipxe menu
I have centos 6.5 installed and I’m just applying the updates to bring it to your current release. After that I’ll get the tutorial updated for compiling dnsmasq 2.76 (it WILL be worth your effort to upgrade).
-
But I don’t get this error in the vm when booting it goes straight to the fog menu.
-
here is a screen shot
-
@Troye-Johnson My intuition is telling me that you have a second dhcp server responding to this request.
If your fog server and pxe booting target computer on the same subnet? If so lets grab a pcap file of the pxe booting process. That will tell us what is really moving down your wires. I have a tutorial here that describes the process. https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue
Post the pcap to a google drive or dropbox and either IM me the link or post the link here and I will look at the pcap and tell you what I see.