Unable to get PXE menu?
-
Hello,
I’m brand new to FOG. I setup a Linux machine using Ubuntu 12.04 and the latest version of FOG. I’m using the same machine for DHCP and I believe that is setup correctly. It has a static IP address. I’m using an old Cisco switch (not sure of the config on it, should be blank.) When I boot a machine to PXE it looks like it’s getting an IP address…screen goes away and says iPXE initialising devices…ok some iPXE 1.0.0 open source network…blah blah
Then it says Configuring net (mac address) after that though the machine reboots. Any suggestions? Did I miss something in the config? Does the switch need to be setup with IP helper addresses or anything even though its all on the same switch ? The only things on the switch are the 1 PC and the FOG server…Thanks for the help!
TL;DR – Ended up disabling spanning-tree on the switch and adding an IP helper address and this seemed to resolve the issue.
-
You indicate that you are using the latest version of FOG are you using 1.2 or the trunk “1.3”?
-
aka What is the exact version of FOG that you’re using (Shows in the cloud).
-
I’m using 1.2.0. It might be a DHCP issue. I tried to use gPXE and when I use that it says no connection is available. I’m not familiar with Linux at all. How can I check if DHCP is properly configured and if there are any leases?
-
When I go to dhcpd.lease I see a few things that look like leases…
-
It seems to be getting an IP address…
but after that it says!PXE at 9A85:0070 entry point at 9A85:0106
UNDI code segment 9A85:4120 data segment 9452:6330 (593-635kB)
UNDI device is PCI 00:19.0 type DIX+802.3 -
When I try with a different PC I can’t get an IP address…hmm
-
Is there another DHCP server on your network? (router/modem)
-
@mikepel Actually when I boot into Windows 7 I get an IP so DHCP must be working.
-
@Quazz No. I’m using a switch that isn’t connected to anything but the FOG server and the client machine I’m working with to try to test imaging. When I boot to Windows on the client I can get an IP.
-
What’s the DHCP Server you’re using? Are you using FOG as DHCP, or are you using another DHCP Server?
Has FOG ever worked for you before? If it has, when/what version of fog (exact version please don’t say “the latest”)?
Is your dhcp server configured properly for TFTP (Windows option 66 = fogserver IP, option 67 = bootfilename (usually undionly.kpxe in 1.x.x and pxelinux.0 in 0.32 and prior), in Linux (ISC/DNSMASQ) dhcp servers next-server = fogserver IP, filename = bootfilename (usually undionly.kpxe in 1.x.x and pxelinlux.0)?
-
@Tom-Elliott I’m using the FOG server as DHCP. If that means I’m using FOG as DHCP, then yes. Once again, this is all on one switch. The only things connected to the switch is the FOG Server (Ubuntu 12.04, FOG 1.2.0) and a Lenovo M92p which I’m using as the client. Originally I had an OptiPlex 755 but I had to give that to someone. The OptiPlex 755 was the one that I could get an IP during PXE, the Lenovo I can not. When I boot the Lenovo up to Windows 7 it will grab an IP. The switch is not connected to anything else, not even the Internet, during the install process of FOG I had the server connected to the Internet, after it was installed I removed the Internet connection.
-
@mikepel Is the firewall turned off on the server? I think for 12.04 the command is:
sudo ufw disable
-
@Tom-Elliott That command worked. I’ll see if I can get anything now. unfortunately I’m not using a KVM switch/splitter so I have to keep disconnecting the mouse and monitor. Are you going to be around for the next 20 minutes? I can keep this updated or does FOG have any chats? I’d really like to get this working today. We currently use very old Ghostcast server and I won’t have time to setup SCCM until summertime, so I’m hoping the reviews on Spiceworks about this is are true.
-
The firewall thing didn’t change anything. I’m not getting a DHCP address when booting to PXE at all now using the Lenovo. I was with the Dell…I get one when logging into Windows. I’m guessing the dhcp server isn’t configured correctly… I’ll look into doing the
Linux (ISC/DNSMASQ) dhcp servers next-server = fogserver IP, filename = bootfilename (usually undionly.kpxe in 1.x.x and pxelinlux.0)?
-
@mikepel I’m here for now.
-
@mikepel Are you using two DHCP servers? (ISC/DNSMASQ)?
Maybe posting the dhcp config file here might be helpful.
-
@Tom-Elliott Where do I go to modify the DHCP server on Ubuntu? Once again, I have 1 DHCP server and 1 Client connected using 1 switch on an isolated network (this one switch.) Unfortunately I’ve never dealt with networking stuff on Linux until today. Is it the dhcpd.conf file?
If so this is what it reads.
-
@mikepel That is the file, and I’m just guessing but is FOG’s IP 10.10.73.65? Is the DHCP Service running? (
sudo service isc-dhcp-server stop; sleep 2; sudo service isc-dhcp-server start
)Does the Client get a DHCP Address, but fail to download undionly.kpxe?
-
@Tom-Elliott I’ve made sure the DHCP service is running, and can test it is by booting into Windows and getting an IP address from it. Could it have something to do with the BIOS of the client ? I was using an OptiPlex 755 and that would get an IP but then not load the FOG menu. Now I’m using the device I actually want to start imaging and I can’t get an IP during the PXE boot. Yes FOG’s IP is 10.10.73.65.
During the install it said I should be connected to the internet, that is the IP our Windows DHCP server gave FOG. After it was setup I disconnected it from our main network and kept the IP address, I figure that shouldn’t matter. Its set to static. This is the server’s IP settings…but looking at that it could be the netmasks messing things up?