@arkhad said in Failed to get an IP via DHCP!:
Then I used the script from the wiki to manually update the kernel
https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update
There we go, good guess I had. It’s not much of trouble and we should get that fixed soon enough.
What do you mean by “missing the http:// schema” ? Missing as in I didn’t see it or that it’s an error in the conf files ?
It’s nothing something you can change easily. It’s in the FOG source code and I am sure you don’t want to dig into that just yet. So follow the instructions below.
I am still wondering if you also have an issue with changing the IP address. Are you aware of all the places you need to change the IP when doing this? Read through the following post and make use of Wayne’s script: https://forums.fogproject.org/topic/10315/changing-my-fog-server-to-an-isolated-network
Please let us know which IP is which in the isolated network setup. I see 10.0.0.2 in one picture and 10.0.0.1 in the other one.
It’s a bit of a hassle to move between isolated and internet if you are still new to FOG and don’t know all the details. To get things going now so you get to know FOG and it’s culprits I’d suggest “moving back” to the original 1.4.4 version of FOG for now. For that you just need to reverse the manual kernel upgrade. If you followed the steps outlined in the wiki you should still have the old binaries around. If not you can still download the official 1.4.4 binaires archive on your work PC and transfer to your isolated machine e.g. using a USB key.
Now either
- move the 1.4.4 stuff from
/var/www/html/fog/service/ipxe/old
back to /var/www/html/fog/service/ipxe/
or
- extract the archive and move
inits/init.xz
, inits/init_32.xz
, kernels/bzImage
and kernels/bzImage32
to target directory /var/www/html/fog/service/ipxe/
… (overwriting the manually downloaded stuff!)
Now try again, take a picture of the error if you see one and post here again. It’s way easier if we can guide you.