HP Elitebook 840 G7
-
WOW that made progress. Ok with those steps I can get to debug capture. Did you want me to run the command lspci -nn | grep -i net from below?
I did try to do a regular capture and it gave me a legit error. Could not mount because the disk contains a unclean file system. I assume just because of all the bios changes, power on and off I have just corrupted win 10 so badly it just needs to have a fresh copy of windows installed.
-
@joyboy11111 said in HP Elitebook 840 G7:
I did try to do a regular capture and it gave me a legit error. Could not mount because the disk contains a unclean file system. I assume just because of all the bios changes, power on and off I have just corrupted win 10 so badly it just needs to have a fresh copy of windows installed.
This is something you can fix. What happens with windows is shutdown is not actually a power off shutdown. In windows 10 term its actually an enhanced sleep mode which leave files open and the dirty bit set. So before a capture we recommend you do one of these things.
- Let sysprep power off the computer after its done. sysprep will properly close open files for cloning.
- Use
shutdown -s -t 0
to power off the computer. - Disable fast startup, reboot then shutdown via the start menu.
NOW back to the issue at hand.
lets start with
ip a s
and post a screen shot of the error hereThen the lspci and lsusb output.
What we need to find is where is the mac address coming from that iPXE is reporting? Is there multiple network adapters? Is there some other kinds of monkey business going on?
-
-
@joyboy11111 what about the
ip a s
command. That is kind of what I want to focus on immediately. -
Sorry I did not realize the information was not captured.
-
@joyboy11111 so does the mac address for enp55xxx match what inventory says or what iPXE is seeing (what you entered for the test system in fog?
Secondly if you take that usb nic to a windows computer and insert it, what MAC address does windows see? We need to figure out which kernel is giving us false information.
-
That is the address of the network adapter. The actual mac address I added as a host manually was 6c:02:e0:05:2a:5d
-
@joyboy11111 Sorry I just added this to a previous post:
Secondly if you take that usb nic to a windows computer and insert it, what MAC address does windows see? We need to figure out which kernel is giving us false information.
-
@joyboy11111 said in HP Elitebook 840 G7:
6c:02:e0 mac company codes comes back to HP
60:64:3c comes back as invalid
Edit bifocals and sideways reading doesn’t give good answers.
60:6d:3c mac company code is Luxshare Precision Industry Company LimitedFYI the first 6 characters of the MAC identifies the nic manufacturer.
-
When I do ipconfig /all the physical address is 60 6d 3c 79 b0 f4
-
@joyboy11111 said in HP Elitebook 840 G7:
60 6d 3c 79 b0 f4
OK we have correlation between linux and Windows. So the kernel at fault here is iPXE. Since you have and older install of FOG you probably have older versions of iPXE. Let me get the link so you can download 1.5.9’s version. Lets see if we replace iPXE we get the right mac address.
Edit OK lets grab ipxe.efi and undionly.kpxe from here: https://github.com/FOGProject/fogproject/tree/master/packages/tftp those files should replace the files by the same name in /tftpboot directory on the FOG server. Swap out the files, go in and tweak the mac address on the test host you created so it doesn’t match, then pxe boot into the fog ipxe menu see if its registered or not, we need to get iPXE mac address to match what windows and linux say.
I know there are hardware specific ipxe drivers too you might try. Also there is a generic driver for uefi (akin to undionly.kpxe) called snponly.efi. You might try that one too to see if we can get it to match the inventoried mac addresses.
I do have to say I have not seen this issue before. So this is unique.
-
This post is deleted! -
@joyboy11111 I personnally think it would be quicker to just update the pxe boot file to see if that addresses the issue.
But it you want to update fog, it looks like you might have the git install files in that screen shot. So change into the fogproject directory then issue the following command
git pull
that should update the installer files. Then change into the bin directory and run./installfog.sh
script. It should remember the settings you made the last time you installed fog. The installer will stop half way through asking you to go to the website and update the database. Then don’t forget to go back to the linux console to finish the install. -
So I use wget github.com… and download both files to var/www/html/fog/service/ipxe? Will that unzip and copy and replace the files in that directory?
-
@joyboy11111 The files are not zipped, you can directly download them using your computer and then transfer to the FOG server if you want to go that way too.
Or from the linux console
wget https://github.com/FOGProject/fogproject/raw/master/packages/tftp/undionly.kpxe
and
wget https://github.com/FOGProject/fogproject/raw/master/packages/tftp/ipxe.efi
-
@george1421
Those files are in the snap shot below. I tested, made sure both MAC’s were deleted from hosts. Did a quick registration and it did the same thing. Pulled the MAC of the adapter. Still shows has host not registered.Did I do something wrong?
-
@joyboy11111 I don’t think you did anything wrong, just updating ipxe didn’t solve the problem.
So what device is your dhcp server?
-
@george1421
Does this give you the info you need? I use multiple adapters, eht0 is assigned to FOG. ETH1 is how I let FOG get out to the internet. -
@joyboy11111 OK so to answer my question, you use the FOG server as the dhcp server for your FOG imaging network. So you need to edit your dhcp server configuration file.
Replace these parameters
filename "ipxe.efi"
withfilename "snponly.efi"
then restart your dhcp server. Lets try the snponly.efi boot loader. Lets see if it finds the right mac address. -
@george1421
I renamed the ipxe, and downloaded snponly. Tested with the same issue. I feel i am doing something wrong.