DHCP issue PXE-E51
-
Server
- FOG Version: 1.2.0
- OS: ubuntu 15.10
Client
- Service Version:
- OS:
Description
Okay so I was runnin into an issue with imaging a lenovo e460 with windows 7. After updating the kernel I started getting an error message on every machine I try to reimage. No matter the model. It says an error has been detected and doesn’t really give a whole lot of information. I have tried different models and different images that I used earlier today. When I tried rolling back the bzimage and bzimage32 files that did not help. Only made it worse by giving me a fatal kernel error. Any ideas?
-
First I should say, you re on FOG 1.2.0 you should upgrade to the latest version of fog which is 1.4.4. You will need to be on version 1.3.0 or newer if you need NVMe disk support, gpt format, uefi firmware, latest hardware, and/or native Win10 integration.
With fog 1.2.0, there wasn’t any concept of a 64 bit kernel. So in fog 1.2.0 bzImage is what is now bzImage32. In the current release of FOG bzImage might be called bzImage64 in FOG 1.2.0 terms. The devs have said (but not tested) you can take bzImage32 from the current release of FOG and copy it to FOG 1.2.0 as bzImage to get better hardware support. But IMO you would be better off all the way around to spin up a new FOG server (with a current LTS OS release) and then install FOG 1.4.4 on it. That way you get all of the benefits of the newer version of FOG without destroying your current working system.
-
@slashdotpwn said in Issues after kernel update.:
It says an error has been detected and doesn’t really give a whole lot of information.
Please take a picture of the error and post it here. We might have a clue.
That said, George is absolutely right about FOG 1.2.0 being old and you might into upgrading…
-
@slashdotpwn Any news on this?
-
I actually reinstalled the OS and FOG now I am running into a brand new problem with DHCP. The server is up and running but I keep getting error PXE-E51 and cannot seem to resolve it.
-
@slashdotpwn said in Issues after kernel update.:
The server is up and running but I keep getting error PXE-E51 and cannot seem to resolve it.
So what did you try so far? What kind of DHCP do you use? FOG isc-dhcp (default) or dnsmasq or windows DHCP server or an external router/firewall? Best if you could post a picture of the error here. Sometimes there are details on screen that help us solving things that you might not see.
-
So I installed fog on a brand new install of Ubuntu 16.04. I may have accidentally set fog to do DHCP and I am not sure how to change that. When I try connecting to the server over ethernet to image a machine or to make an image I get the error.
-
@slashdotpwn Please answer the questions and post a picture!
-
So I am not sure on which DHCP I set up I believe it was the default to be honest with you.
-
@slashdotpwn Looks like there is no DHCP server in that network at all. Edit
/opt/fog/.fogsettings
on your FOG server and try to find the linedodhcp='N'
. Just change that tododhcp='Y'
and re-run the installer. -
I don’t even have a .fogsettings file.
-
@slashdotpwn Then simply re-run the installer and make sure you say
y
(yes) when it asks you if it should setup DHCP! -
Okay now when I try to run the installer it says a previous version of fog settings is there. When I go to /opt/fog/ I see nothing.
-
@slashdotpwn In Linux files starting with a dot are “hidden”. So you need to use the
-a
option withls
to actually see it.ls -al /opt/fog/
should show the file!In case you want to edit it using a GUI editor you probably need to fiddle with the file explorer options to make it show hidden files.
-
Okay I was able to use CHOWN to take control and edit the file. Rerunning the installer. Wish me luck.
-
@slashdotpwn On the console run
sudo chmod 666 /opt/fog/.fogsettings && sudo chmod 777 /opt/fog/
(not nice but should fix this for you!) -
Even after changing the fogsettings file it skipped the dhcp setup
-
@slashdotpwn How do you run the installer? Best if you switch to the proper root account for running it. I’d say, remove the config ands start over:
sudo su - rm /opt/fog/.fogsettings cd /dir/where/fog/is cd bin ./installfog.sh
-
Okay retrying the install now. Will let you know the results. Thanks for your patience by the way. I am usually pretty good with this kind of stuff.
-
When setting up the DHCP. It said no router address found. I am setting it up as a stand alone. What should I put in this case.