@greg-plamondon Yes, I never enable that nonsense
Posts made by MarkG
-
RE: Disable USB support in iPXE?
-
RE: Disable USB support in iPXE?
@george1421 Thank you, thatās a very helpful explanation. I think I will start experimenting with using snp.efi as my default and create specific rules for machines where it does not work.
-
RE: Disable USB support in iPXE?
@sebastian-roth Thanks. In the end I found that even realtek.efi didnāt entirely work. The PC is connected to a KVM and using realtek.efi it will only boot if the active KVM port is the one the PC is connected to. Otherwise it gets stuck in and endless loop of retrieving the file, crashing, and rebooting. āsnp.efiā does seem to work but Iād really like to know what the difference is. Do you know if itās documented anywhere or shall I have to rely on the mailing list? I havenāt found anything on the iPXE website.
This is what I came up with in dhcpd.conf
class "Realtek-64Bit-UEFI" { match if binary-to-ascii(16,8,":",substring(hardware, 1, 3)) = "1c:69:7a"; filename "snp.efi"; }
-
RE: Disable USB support in iPXE?
I found another possible solution though Iāve no idea why it works. I switched every instance of āipxe.efiā in my dhcpd.conf to ārealtek.efiā. This was a complete guess, but now the USB-C ports work.
How can I work our what to use as the string match so that I can ensure that only this Lenovo PC uses realtek.efi?
Also can anybody explain why this made a difference? The main USB controller is an AMD controller. There is a Realtek USB SD Card Reader and a Realtek NIC but I was never having any issues with those.
-
Disable USB support in iPXE?
Running FOG 1.5.9. I have a specific problem with an AMD-based Lenovo. When booting normally itās fine but when booting via iPXE all the USB-C ports are disabled. This happens the moment that it downloads the NBP file from FOG.
From searching forums it seems this is a known iPXE problem and the only solution Iāve found is that you need to completely disable usb support in iPXE by rebuilding iPXE with some special options, but I donāt know how to do this using FOGās buildipxe.sh. Iāve tried just running that to get the latest version of iPXE but that hasnāt helped.
-
RE: SSH login while imaging
@Sebastian-Roth thanks! I did not know about the postinit scripts. Iāve no problem with them all having the same password so that was really easy.
-
SSH login while imaging
Iāve noticed that there is an SSH server running on the client machine while it is imaging. Iām wondering what the login details are, or how they can be set?
To explain why, Iāve been running a lot of unattended installs remotely (covid etc) and just occasionally a machine will get stuck, where it sits at the Partclone screen waiting to start but never does. Itās related to using Multicast, but not being able to get to the machines easily itās been very hard to figure out whatās causing it. If I could SSH in I could at least reboot the machine, instead of having to badger somebody to go and do it for me (or driving for an hour to push a button). Itās only a workaround but it would be a big help.
-
RE: Secure Boot Support for Windows 11
Iāve just tried an Insider build from the Dev channel, Secure Boot was not required - though is supported by this hardware (Intel NUC). MS are saying that the requirement is actually a TPM - theyāre saying āSecure Boot Capableā because thatās more consumer-friendly than talking about TPMs.
The image type in FOG can be set to Windows 10, and I was able to capture and deploy
-
RE: Using a separate NIC for multicast
@pep said in Using a separate NIC for multicast:
web = http: //192.168.1.100/fog/ ftp = 192.168.1.100 storage = 192.168.1.100: / images / dev / storageip = 192.168.1.100
Thanks! That works. I can leave my storage settings as default and Multticast will use eno2, then for anything not multicast I can set the correct parameters for eno3.
Just a note that for deployment the storage variable needs to be ip.address:/images/ (without the dev/)
-
RE: Using a separate NIC for multicast
@Sebastian-Roth OK thanks for the reply. Itās no biggie but Iāve got all these NICs and nothing to use them for
As an idea, could I create another storage group for the images I might want to multicast, where all the settings except the interface and IP address are the same as the default group? If I set that to use eno3, and multicast to use eno3, that might achieve what I want?
-
Using a separate NIC for multicast
Iāve a FOG server on Ubuntu 20.04, latest version of FOG. My server has 3 NICs all connected to the same subnet. I want to use eno2 for imaging and eno3 for Multicast, but I canāt get the multicast bit to work.
Iāve configured my storage node to use eno2 and set the IP address to the IP of eno2 and normal imaging works.
I then went fo FOG Settings->Multicast and set the interface to eno3. But when I start a multicast task the hosts all get stuck at the Partclone screen. I can see from the server logs that FOG is starting the multicast task using eno2.
If I change the config to use eno2 for multicast then my multicast tasks work, but I was hoping to utilise the extra bandwidth of the 3rd ethernet port I feel sure Iāve missed something obviousā¦ but what?
-
RE: Hard Disk not recognised on 2018 Macbook Pro
@george1421 Thanks for the help ā¦ ohh Appleā¦ on booting to the debug kernel Iām asked to āpress Enter to continueā. However, it appears that as well no driver for the nvme, thereās also no driver for the keyboard. So, locating a USB keyboard I was able to determine the following:
[Wed Apr 03 root@fogclient ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 1.9G 0 disk `-sda1 8:1 1 121M 0 part [Wed Apr 03 root@fogclient ~]# lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec4] (rev 07) 00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07) 00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 07) 00:01.2 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x4) [8086:1909] (rev 07) 00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:a379] (rev 10) 00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a36d] (rev 10) 00:14.2 RAM memory [0500]: Intel Corporation Device [8086:a36f] (rev 10) 00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a360] (rev 10) 00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:a340] (rev f0) 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a338] (rev f0) 00:1e.0 Communication controller [0780]: Intel Corporation Device [8086:a328] (rev 10) 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a313] (rev 10) 00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a323] (rev 10) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:a324] (rev 10) 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] [1002:67ef] (rev e3) 01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:aae0] 02:00.0 Mass storage controller [0180]: Apple Inc. Device [106b:2005] (rev 01) 02:00.1 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1801] (rev 01) 02:00.2 Non-VGA unclassified device [0000]: Apple Inc. Device [106b:1802] (rev 01) 02:00.3 Multimedia audio controller [0401]: Apple Inc. Device [106b:1803] (rev 01) 03:00.0 Network controller [0280]: Broadcom Limited Device [14e4:4464] (rev 03) 04:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06) 05:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 05:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 05:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 05:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 06:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06) 07:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06) 7a:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578] (rev 06) 7b:00.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 7b:01.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 7b:02.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 7b:04.0 PCI bridge [0604]: Intel Corporation Device [8086:15ea] (rev 06) 7c:00.0 System peripheral [0880]: Intel Corporation Device [8086:15eb] (rev 06) 7d:00.0 USB controller [0c03]: Intel Corporation Device [8086:15ec] (rev 06)
-
RE: Hard Disk not recognised on 2018 Macbook Pro
@Tom-Elliott Thatās just command-line system_profiler, which is used by the GUI version and only gives me the exact same info I posted in the images earlier. No hardware IDs at all.
-
RE: Hard Disk not recognised on 2018 Macbook Pro
@george1421 Thanks, but no chance. I donāt have a license to install Windows, Linux wonāt boot, and MacOS system profiler no longer displays hardware IDs.
Itās really like Apple donāt want people to mess with their hardware
-
RE: Hard Disk not recognised on 2018 Macbook Pro
@Sebastian-Roth I think this is the answer. No drivers for Appleās nvme controller in the kernel yet
https://askubuntu.com/questions/1052373/install-ubuntu-bionic-18-04-on-macbook-pro-2018
-
RE: FOG API
@Tom-Elliott unfortunately this is in a production environment and we canāt currently afford the down time, but I appreciate your efforts and thanks for the reply - at least it has given me confidence that Iām not doing it āwrongā.
As it happens Iām currently automating the entire FOG process by writing entries directly into the database and that is working fine for now, but I was looking at moving to the API as Iām sure it will be better for forwards compatibility - so when time allows Iāl update my test server for 1.6 and work with that until we can update the production server.
Thanks for the advice.
-
RE: Hard Disk not recognised on 2018 Macbook Pro
@Sebastian-Roth Hmmm. Good call. Ubuntu 18.10 wonāt even boot let alone recognise a disk. I get the initial GRUB menu but then very little after that. Black screen now for ~ 5 minutes.
-
RE: FOG API
@Tom-Elliott By āI canāt clear themā I mean that Iād expect sending an empty array would clear all snapin associations from that host, but it doesnāt, as evidenced by me looking in the FOG GUI and seeing the snapin association still there.
Hereās your GET command after my PUT with an empty array.
{ "id": "52", "name": "HPProDesk", "description": "Created by FOG Reg on April 1, 2019, 2:19 pm", "ip": "", "imageID": "85", "building": "0", "createdTime": "2019-04-01 14:19:01", "deployed": "0000-00-00 00:00:00", "createdBy": "fog", "useAD": "", "ADDomain": "", "ADOU": "", "ADUser": "", "ADPass": "", "ADPassLegacy": "", "productKey": "", "printerLevel": "", "kernelArgs": "", "kernel": "", "kernelDevice": "", "init": "", "pending": "", "pub_key": "72c8515c7251f909e54b10ccfa26776a118fba25c333f7f9c3c3021c6d53e8f6", "sec_tok": "c3cd9236c7c2f3ea4d8f90e93b4b910179759f30af2cf47b4a3b3b2b24ea2afc6419d0ede3a0b465f354299c7a027999defd59bd11f93902382f3e827c8a3aa4", "sec_time": "2019-04-01 15:25:55", "pingstatus": "<i class=\"icon-ping-down fa fa-exclamation-circle red\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Connection timed out\"><\/i>", "biosexit": "grub", "efiexit": "refind_efi", "enforce": "", "primac": "a0:d3:c1:4e:49:45", "imagename": "HPProDesk_Win8_64_Pro_Prepped", "hostscreen": { "id": "", "hostID": "", "width": "", "height": "", "refresh": "", "orientation": "", "other1": "", "other2": "" }, "hostalo": { "id": "", "hostID": "", "time": "" }, "inventory": { "id": "50", "hostID": "52", "primaryUser": "fog", "other1": "", "other2": "", "createdTime": "2019-04-01 14:19:01", "deleteDate": "0000-00-00 00:00:00", "sysman": "Hewlett-Packard", "sysproduct": "HP ProDesk 405 G2 MT", "sysversion": "", "sysserial": "CZC43626MJ", "sysuuid": "8d1f307a-6b12-7ee0-d0c5-d2601e0e7c03", "systype": "Type: Desktop", "biosversion": "02.28", "biosvendor": "AMI", "biosdate": "09\/05\/2018", "mbman": "Hewlett-Packard", "mbproductname": "2240", "mbversion": "1.0", "mbserial": "CZC43626MJ", "mbasset": "CZC43626MJ", "cpuman": "AuthenticAMD", "cpuversion": "AMD A4-6250J APU with AMD Radeon R3 Graphics", "cpucurrent": "Current Speed: 2000 MHz", "cpumax": "Max Speed: 2000 MHz", "mem": "MemTotal: 3440588 kB", "hdmodel": "Hitachi HDS721616PLA380", "hdserial": "PVE331Z9RYDSZU", "hdfirmware": "P22OAB3A", "caseman": "Hewlett-Packard", "casever": "", "caseserial": "CZC43626MJ", "caseasset": "CZC43626MJ", "memory": "3.28 GiB" }, "image": { "imageTypeID": "1", "imagePartitionTypeID": "1", "id": "85", "name": "HPProDesk_Win8_64_Pro_Prepped", "description": "", "path": "HPProDesk_Win8_64_Pro_Prepped", "createdTime": "2018-11-21 09:49:17", "createdBy": "fog", "building": "0", "size": "366997504.000000:19634143232.000000:", "osID": "7", "deployed": "2018-11-21 12:15:29", "format": "0", "magnet": "", "protected": "0", "compress": "6", "isEnabled": "1", "toReplicate": "1", "srvsize": "4096", "os": {}, "imagepartitiontype": {}, "imagetype": {} }, "macs": [ "a0:d3:c1:4e:49:45" ]
-
RE: FOG API
Iām struggling somewhat with the format of the API requests
I know I can list all snapin associations with (assume Iām sending correct token headers, just for clarity)
curl http://localhost/fog/snapinassociation
and this returns
{ "count": 1, "snapinassociations": [ { "id": "6135", "hostID": "52", "snapinID": "2484" } ]
Now, what I want to do is to remove ALL snapins from hostID 52, but I canāt find a way to do this
The closest Iāve come is to do the above query, then parse the output and do
curl -X DELETE http://localhost/fog/snapinassociation/6135/delete
But this feels clunky and Iām sure Iām missing something fundamental. The URIs arenāt quite making sense in my head, because I know I can create a snapin association with
curl -X PUT -d '{"snapins":[2484]}' http://localhost/fog/host/52/edit
but I canāt clear them with
curl -X PUT -d '{"snapins":[]}' http://localhost/fog/host/52/edit
What am I missing?