Laptops with no integrated NIC any decent solution?
-
We’re using Clonezilla USB Sticks to Image devices without a NIC. The Image is on the stick itself and you only have to boot from it, the rest is automated. After the imageing is done, FOG takes over to rename the Host and Join the domain.
In my opinion this is the bet way.
-
Our new HP Elitebook x360 laptops have a feature in the bios and a Windows driver for HBMA. Host based mac address. This allows the system to override the include Nic Dongle, or the HP thunderbolt docking stations mac address with one that is unique to the machine.
So far I haven’t seen this “supported” in the fog linux kernel so, I’m planning to use quick deploy and have the windows agent phone home for inventory and naming.
-
@grungeman said in Laptops with no integrated NIC any decent solution?:
I found several advice but cant say I found anyone that confirmed its working or any good guide how to make it work.
Maybe I get this wrong?!? Search the forums and wiki and you’ll find a lot of people successfully PXE booting USB NICs! It just depends on the combination of laptop and USB NIC. Quite often you might be lucky and it all works out of the box. If not, get back to us and we try to help.
-
I followed the guide to create a bootable USB stick https://forums.fogproject.org/topic/6532/usb-boot-target-device-into-fog-os-live-fosl-for-debugging
Seems to be a potentially good solution, but i run into another issue.The USB stick boots fine, the NIC is found and IP aquired but after that DHCP request or what else to call it start to loop.
I get an ip from the DHCP 192.168.2.16 , so there is a communication with the DHCP server. But still its ends No with DHCP respons on interface eth0.
See attached photo of the screen
https://drive.google.com/open?id=0B4jg25N5LsOTVEFueUh5cG1WUTQAny ideas what would be wrong?
/Peter
-
@grungeman In the grub config file, make sure you entered the IP address of your FOG server. The FOS engine uses a web call to the fog server to ensure the FOG server is reachable. If its not reachable then it goes through the discovery process again.
-
@george1421 alright, sounds like a good advice. I’m sorry for my bad knowledge about this. But im not really sure how to set the ip in the grub config file. Where should it be.
It currently looks like this, no ip in there at all atm.set timeout=10
set default=0#insmod efi_gop
#insmod efi_uga
insmod all_video
#insmod fontmenuentry “FOG 32-bit Debug Kernel” {
linux /boot/bzImage32 loglevel=7 boot_delay=2000 debug init=/sbin/init root=/dev/ram0 rw ramdisk_size=127000 pcie_aspm=off consoleblank=0 isdebug=yes
initrd /boot/init_32.xz
}menuentry “FOG 64-bit Debug Kernel” {
linux /boot/bzImage loglevel=7 printk.time=1 init=/sbin/init root=/dev/ram0 rw ramdisk_size=127000 pcie_aspm=off consoleblank=0 isdebug=yes
initrd /boot/init.xz
} -
@grungeman OK, I’m not going insane. I looked at the link you provided and the grub file didn’t include the IP address line. Then I realized you referenced an older (dirty) version of the instructions. Here is the proper instructions: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image I’m going to update the article you referenced (or possibly delete it if it adds no value), to avoid confusion in the future.
I’m sorry for the confusion the older document created. The creation of the USB boot drive should be identical between the two instructions, just the grub file was refined in the later instructions.
-
@george1421 Thanks, it works !
But always one more question.
Would it be possible to add the Deploy Image option, where you can quick deploy image from the database without register them?
Now it works fine to deploy an image if i first register it, connect it to an image for deploy and reboot with first Deploy/capture option. Which is a acceptable as a alternativ solution but not optimal if it comes to larger deployments. -
@grungeman I was working on that option, but its a bit complicated to get the answer. I have the solution on a usb drive at my office, but I’m traveling this week. Let me see if I can get the right answer with my dev box.
-
Just stumbled upon this by accident. Any news on this?
-
@Sebastian-Roth I kind of got pulled in a few different directions.
But the concept is to use grub to make an ipxe call. From grub we would use the menu that would look a bit like this
menuentry 'Quick Image' { set root='hd0,msdos1' linux16 /boot/ipxe.krn initrd16 /boot/qimage-initrd }
Then the qimage-initrd would contain something like
#ipxe param mac0 ${net0/mac} param arch ${arch} param username fog param password password param qihost 1 isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :bootme chain -ar http://<fog_server_ip>/fog/service/ipxe/boot.php##params
Understand this is still a concept, but all of the bits look like they fit together nicely. That should provide the quick image menu for unregistered hosts.