Joining hosts to domain?
-
@kureebow said in Joining hosts to domain?:
Although the mac addressed between these two devices are showing differently in WEBUI they are the same device.
This is probably the key two what’s going on here. When I look at the logs I see it tries to register with the following MACs:
hostname=DESKTOP-4Q9J25B&mac=0C:37:96:54:1A:8A|F0:9E:4A:74:D7:AE|F0:9E:4A:74:D7:AF|F2:9E:4A:74:D7:AE|F0:9E:4A:74:D7:B2
but non of those MACs matches the one we see in the picture you posted.Please boot up that machine to the Windows OS and run
getmac /v
in a CMD window. Take a screenshot and post that here.Is this a laptop kind of device? Do you use some sort of USB NIC adapter?
-
@sebastian-roth This is a laptop using a USB NIC adapter.
-
@kureebow said in Joining hosts to domain?:
This is a laptop using a USB NIC adapter.
Search the forums and the web for “MAC address passthrough”. In short: the USB NIC has it’s own MAC address which can either be seen or masked by a system MAC. But there is no general rule. iPXE (boot menu), Linux kernel (FOS imaging environment) and host OS (e.g. Windows) use different drivers and can show different MACs for the same machine.
-
@sebastian-roth I tried following the directions on Dells Website to enable MAC Passthrough in Bios but I do not see an option listed anywhere. We are using Dell 3190’s. When I look in the system information section I do see the MAC Passthrough address listed but I do not see an option to enable it.
-
@Kureebow Try adding the ethernet MAC address
0C:37:96:54:1A:8A
(seen bygetmac
) to this host as a secondary MAC via the FOG web UI.Possibly it will tell you the MAC exists already. Then check the “Pending Hosts” (web UI -> Hosts -> left side menu) if you can find the host there.
-
After adding the mac Address I have been unsucessful in getting this device to reimage. This was not an issue prior. The device gets to a certain percentage then will not move forward. I let the device image overnight and after 15 hours it never moved past 94.39%.
Thank you for your help.
-
@kureebow said in Joining hosts to domain?:
After adding the mac Address I have been unsucessful in getting this device to reimage. This was not an issue prior. The device gets to a certain percentage then will not move forward. I let the device image overnight and after 15 hours it never moved past 94.39%.
I can’t see why adding a secondary MAC could cause what you describe. What do you actually see on the device’s screen? Does it deploy very slow or hang?
To prove me wrong you might remove the secondary MAC address again and see if deploying an image can finish again.
-
@sebastian-roth I believe I have the imaging issue resolved it was unrelated. However, good news! It did work one time. I reimaged the PC after adding the MAC address to the list of additional MACs and then post image after logging into the machine with the local account I got a message at the bottom right of the screen saying FOG had to perform actions and then the device shut down and joined the domain.
After getting excited that we finally had it working I tried on another device with no success. I added the additional MAC and reimaged but after sitting for 15 minutes or so I have had no message appear.
Thank you!
-
@Kureebow Great you got the first one working. I am sure the next one will be easier to solve. Take a look at the fog.log file on that new machine again and post it here.
-
@sebastian-roth Here you go sir
-
@Kureebow In the logs we see “Invalid host” again. So boot up that machine to the Windows OS and run
getmac /v
in a CMD window. Note down the MAC address it shows for the Ethernet and add this MAC to this host as a secondary MAC via the FOG web UI.Basically you need to find out why your systems register with those MACs from the USB NIC adapters.
-
@kureebow in windows, once the fog client is installed AND you have the correct AD settings in fog:
it should work without issues. Correct settings are make sure “join domain after deploy” as well as "name change(ad join forced reboot) are selected,as well as a domain username credentials with privilege to join the domain. You may have to “reset encryption data” for fog to get the correct token, that is if you keep getting the below errors over and over:
9/27/2022 10:48:41 AM Middleware::Authentication ERROR: Could not get security token
9/27/2022 10:48:41 AM Middleware::Authentication ERROR: Could not find file ‘C:\Program Files (x86)\FOG\token.dat’.