FOG Setup with 2 NIC's
-
Did you chose to have FOG do the DHCP?
If so make sure your DHCP server is running(Varies depending on your distro).
-
[quote=“BPSTravis, post: 24611, member: 22444”]Did you chose to have FOG do the DHCP?
If so make sure your DHCP server is running(Varies depending on your distro).[/quote]
That seems to be the problem, the dhcp server isn’t starting. This is how I installed FOG:
Here are the settings FOG will use:
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: 91.0.160.140
DHCP router Address:
DHCP DNS Address:
Interface: eth1
Using FOG DHCP: 1
Internationalization: 0Note: the Server IP is the eth0 address. Do I need to set the eth1 address as DHCP router ?
-
We need to verify something first.
Are you using eth1 as a local network separate from the eth0 network?
If so then when you set up the server you need to use the IP 192.168.1.1 So it creates it’s own network.
-
Yes, eth0 is using DHCP and connected to the network. eth1 is set to static with the IP 10.0.0.100 and connected to an office switch where I’m connecting the clients for imaging/deploying.
-
Then you will want to install fog with the ip 10.0.0.100
-
[quote=“BPSTravis, post: 24615, member: 22444”]Then you will want to install fog with the ip 10.0.0.100[/quote]
But then I won’t be able to access the Web GUI or am I wrong ?
-
You should be able to.
-
But then I’m accessing the Web GUI via eth1 and not eth0 which won’t work because eth1 is not connected to the network.
-
you will be accessing the web gui via eth0.
Try it before you assume it won’t work.
-
Sorry, I thought the Server IP was the listening IP of FOG. However, it’s still not working. I’ll probably start from scratch tomorrow or the day after. I think I messed up my system somehow with dnsmasq and dhcp.
-
The server IP is the listening server of FOG, but when it comes to the GUI, apache naturally listen’s on all available network interfaces unless you specify otherwise.
It seems likely that you setup the TFTP and DHCP server to listen on the wrong interface. You shouldn’t have to reinstall the whole thing, but this will likely correct the problems.
-
Thanks for the Help so far. After reinstallinge everything dhcp and pxe is working fine.
But I have an other problem now. When I try to image a Client it says "Unable to locate image file for Windows 7! (sys.img.000).
Here is what I did, I created an Image and then did a full inventory on the client linking it to the image and appropriate OS and set it to “image this client on reboot”. After that I get an endless boot loop. -
What kind of image did you tell it to upload?
If you check the “/images” directory what files do you see inside the folder with your images name on it?
If you only have /dev inside /images then your image was never moved and is likely under /dev in a folder with the mac address of the client as the name.
If it’s not shown in either of those locations then it didn’t upload the image.
-
/images and /images/dev are both empty.
-
Then your server did not upload any image which is why you are getting the error that it cannot find the files.
Try the upload again and watch it for errors at the beginning.
-
I just wanted to say thank you for the post. Have been all over looking for this answer, as I am new to both setting up a Ubuntu desktop as a Linux server and FOG. Really excited to start using FOG, great piece of software by the way, and give this school district an answer to cloning that doesn’t involve using deploy studio to clone a PC. Thank you again.