Fresh Install of Fog - Setup PXE Boot
-
@george1421 I wasn’t getting passed the “create repository” part of the installation so I’m just reinstalling Ubuntu then FOG.
Your last part about using two interfaces. I’d like to be able to setup wifi for internet access, and ethernet for the imaging but I need to make sure the DHCP services on FOG don’t wreak having on our Microsoft network.
-
@dpotesta50 OK once you get unbuntu reinstalled. Setup eth0 (or what ever your ethernet adapter is) on your imaging network. Do not give it a gateway address since its on an isolated network. Give it an IP address unique to your imaging network.
Then connect your second network adapter (wifi in this case) to your business network and give it a default gateway so the fog installer has internet access. Its only needed during installation to download the latest kernels. Post install you will use it for FOG administration if needed.
Now when you install FOG only bind it to your ethernet interface on your dedicated imaging network. FOG will not connect to wifi unless you tell it. Once FOG is installed if you want to double check to make sure it didn’t bind to the wireless interface we can look at the isc-dhcp config file.
But in general, if you don’t tell fog about your wifi interface it will not use it.
FWIW, FOG works perfectly well using a ms windows dhcp server too.
-
@george1421 on the part of the installation that asks if I want to change the default network interface. How do I know which it’s default to?
-
@george1421 or to change gears, can I just set it up to where I don’t need Fog to act as a DHCP server, keeping it nice and simple? Will the PXE client’s get their IP addresses from Microsoft via the FOG server that way?
-
@dpotesta50 There is no real simple. For the clients to get their dhcp addresses from your business network you will need to have a router setup to pass the dhcp requests to your dhcp server.
Lets take a step back, why do you feel you need a dedicated imaging network?
-
@george1421 The main concern was keeping the FOG DHCP from interfering with the corporate MS DHCP.
-
@dpotesta50 So if your clients use MS dhcp server then there is no reason to have a dedicated imaging network (understand there ARE reasons to have a dedicated imaging network, I just want to see if your use case fits).
You do not need to use fog dhcp server at all. It is provided when your needs are specific. As long as you can configure dhcp options 66 and 67 in your MS dhcp server then you are good to go. If you have a mix of uefi and bios (legacy mode) computers you will need a windows 2012 or newer dhcp server to create the filters to dynamically switch between the boot files. This isn’t a requirement, but it makes life easier for you.
-
@george1421 well since I’m not over the main network and those who are, are busy with other projects lets keep FOG handling the DHCP for the PXE clients.
-
@dpotesta50 said in Fresh Install of Fog - Setup PXE Boot:
on the part of the installation that asks if I want to change the default network interface. How do I know which it’s default to?
OK then back to where you were.
The default network adapter will be your imaging network adapter. You can view this by the following command on the fog server linux command prompt
ip addr show
That will show you all network interfaces. The one with teh IP address that matches your imaging network is the one you want to set as your default. It may be named eth0 or something else based on your linux distro. -
-
@dpotesta50 enp2s0 is your wired ethernet adapter and should be your FOG default adapter. But your don’t have an IP address range assigned just yet. Don’t install FOG.
It looks like your wireless interface is connected to 192.168.50.x network. Is that right?
-
@george1421 Wiresless is getting DHCP from MS. Based on what you instruction I need to bind Fog to the ethernet which I gave a static 192.168.100.100.
-
@dpotesta50 Then
ip addr show
now shows the proper IP address for interface enp2s0 ?? I don’t need to see it, just want to confirm that you see it. -
@dpotesta50 No that line (2) for the enp2s0 adapter does NOT show my static IP address of 192.168.100.100
-
@george1421 Okay never mind now it does. Ubuntu is using ethernet as it’s standard adapter, Wireless is available. I took the check off to auto-connect to wireless when it’s available.
-
@dpotesta50 OK once your wired ethernet has a real IP address AND you have access to the internet using the wireless interface you can go ahead and install FOG. Just be sure to select your wired connection during setup and you should be good to go.
-
@george1421 Do I need to add anything to “setup a router address for the DHCP server”?
-
@dpotesta50 No since you have an isolated network
-
@george1421 Install failed. Not connected to wireless so the repository couldn’t be setup.
-
@dpotesta50 OK so why can’t you connect to both wifi and ethernet? Is this a laptop where you have the bios (firmware) setup to disconnect wifi if the ethernet cable is connected?