Fresh Install of Fog - Setup PXE Boot
-
@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?
-
@george1421 Ethernet is literally just plugged into a switch that goes to nothing. My intent was to use that to connect a test device to for PXE boot. (This is all running on a Dell optiplex desktop) Anytime I “connect” to one, the other disconnects.
-
This is really frustrating. Once I get wifi back up, FOG wants to bind to that NIC as it’s main. I don’t know the terminology it’s looking for when it asks if I want to change the default network adapter. If I say yes and enter the NIC’s name, it throws syntax error.
-
Got it!
Kinda dumb, change to adapter number “2”. -
Got to the end of the installation where it updates the database schema. Site won’t open in Firefox. Just times out.
192.168.100.100/fog/management -
@dpotesta50 Did you remember to disable the ubuntu firewall and set the selinux permissions to permissive as recommended in the prerequisites?
-
@dpotesta50 said in Fresh Install of Fog - Setup PXE Boot:
192.168.100.100/fog/management
This will only work if you are on the imaging network, to access the managment interface from the business side you will need to find the IP address of the wifi adapter.
-
@george1421 I’m running on Ubuntu desktop, is this still required? (selinux permissions)
-
@dpotesta50 (sorry I’m a rhel guy) I’m not sure if ubuntu has selinux enabled or not by default. If its on, then its mandatory that you set it to permissive. If from the linux command prompt you key in
cat /etc/selinux/config
look for a line that saysSELINUX=permissive
orSELINUX=disabled
If that is set then selinux will not cause you pain. If its set to enforcing then you need to change it as root and reboot.