• DHCP-PXE booting process problem with BIOS+UEFI computers simultaneously

    2
    0 Votes
    2 Posts
    660 Views
    R

    Looks like you are having issue with TFTP. With recent firewalld, you have to have some mechanism for inter-zone traffic. I’m not sure if the one on CentOS 7 is covered. Also, you missed to show the zones of your interfaces.

    I have these on my setup where the storage server has 3 interfaces serving diskless clients via iscsi:

    For my external zone:

    [root@san ~]# ip -4 addr ls xenbr0 6: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.168.0.33/27 brd 192.168.0.63 scope global dynamic noprefixroute xenbr0 valid_lft 3181sec preferred_lft 3181sec [root@san ~]# [root@san ~]# firewall-cmd --get-zone-of-interface=xenbr0 external [root@san ~]# firewall-cmd --zone=external --list-services dhcp http https iscsi-target samba ssh tftp

    And this is my internal zone

    [root@san ~]# ip -4 addr ls xenbr10 7: xenbr10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 inet 192.168.10.1/24 brd 192.168.10.255 scope global noprefixroute xenbr10 valid_lft forever preferred_lft forever [root@san ~]# [root@san ~]# firewall-cmd --get-zone-of-interface=xenbr10 internal [root@san ~]# firewall-cmd --zone=internal --list-services dhcp http https iscsi-target postgresql samba ssh tftp

    I have these firewalld rule to enable the inter-zone traffic:

    [root@san ~]# cat firewalld.txt firewall-cmd --new-policy NAT_int_to_ext --permanent firewall-cmd --permanent --policy NAT_int_to_ext --add-ingress-zone internal firewall-cmd --permanent --policy NAT_int_to_ext --add-egress-zone external firewall-cmd --permanent --policy NAT_int_to_ext --set-target ACCEPT

    Finally, I test things out from one of my vms and tried to can grab a file over tftp

    user@debian:~$ ip -4 addr ls virbr0 5: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP group default qlen 1000 inet 192.168.10.15/24 brd 192.168.10.255 scope global dynamic virbr0 valid_lft 2111sec preferred_lft 2111sec user@debian:~$ user@debian:~$ tftp 192.168.10.1 -vc get ipxe.d/roms/undionly.kpxe Connected to 192.168.10.1 (192.168.10.1), port 69 getting from 192.168.10.1:ipxe.d/roms/undionly.kpxe to undionly.kpxe [netascii] Received 75436 bytes in 0.6 seconds [928658 bit/s] user@debian:~$ ls -lh undionly.kpxe -rw-r--r-- 1 user user 74K Dec 12 10:25 undionly.kpxe
  • How to present different boot menu for Legacy BIOS clients and UEFI clients

    Unsolved
    3
    0 Votes
    3 Posts
    698 Views
    Y

    @george1421 Thank you for the response and the pointer to previous thread on examples of how to branch the iPXE menu with the platform option. With this info, I am thinking along the lines of customizing the default.ipxe to present different menu based on the platform field. I will explore this method and see how far I can take it on presenting separate menu for legacy vs UEFI clients.

  • Could not mount images folder (/bin/fog.download)

    Solved
    6
    0 Votes
    6 Posts
    986 Views
    S

    @SOSF2 OK I update this exports file with the 2 new location and it’s working ! Thanks. I thinking that this file was not updated with a new ./installfog.sh but it was…

  • Accidently deleted Admin User

    Unsolved
    3
    0 Votes
    3 Posts
    410 Views
    Cire3C

    I believe a reinstall would do the same no ?

  • Unable to create host through API

    Unsolved
    2
    1 Votes
    2 Posts
    408 Views
    JJ FullmerJ

    @cornycopia Hi!
    Are you familiar with powershell at all? If not, it’s too hard to learn,
    I have made a powershell module to help with managing these things (see my signature for more links)

    For example there’s a command to make a new fog host https://fogapi.readthedocs.io/en/latest/commands/New-FogHost/
    I would recommend giving that a go.

    That said, let’s take a look at why this isn’t working

    The first issue I see with your body is the macs need to be an array
    You might also have to have the modules param defined in the body.
    In my PowerShell function I have a function to get all the modules and I filter it to the default ones so that the behavior is the same as when you add a host in the gui instead of creating a host with nothing in it.
    https://fogapi.readthedocs.io/en/latest/commands/Get-FogModules/

    Here’s a simplified table of that output, I think the ids are always the same in all installs, but they could be unique to your install

    id name -- ---- 1 Directory Cleaner 2 User Cleanup 3 Display Manager 4 Auto Log Out 5 Green FOG 6 Snapins 7 Client Updater 8 Host Registration 9 Hostname Changer 10 Printer Manager 11 Task Reboot 12 User Tracker 13 Power Management

    Anyway, here’s an example of a json body for creating a host with the default service modules enabled (these are my defaults, you may have different ones configured)

    { "macs": [ "A4:BF:01:6E:E4:F2" ], "name": "demo", "modules": [ "7", "9", "13", "6", "11", "2", "12" ] }
  • Invalid password

    Unsolved
    2
    0 Votes
    2 Posts
    258 Views
    Tom ElliottT

    @cicero We didn’t change your password, unsure what those credentials would have been, but if you need to reset the password there are instuctions on how to do so. I would highly recommend resetting once you’re in though as it’s just the base default we define:

    username: fog
    password: password

    https://wiki.fogproject.org/wiki/index.php?title=Reset_WebUI_FOG_password

  • Dell optiplex 3080

    3
    0 Votes
    3 Posts
    1k Views
    M

    Hi, we’re running the latest FOG 1.5.10, trying to deploy to a Optiplex 3080.
    FOG boots PXE, and I can deploy a image.

    Yes these PCs come with NVME drives.

    Issue is the deployment speed, it changes from below 1gb to over 8gb, same deployment to same machines, no other changes.

    Done every firmware update / fog update, still various deployment speeds.

    Got similar Dell UEFI only 3000 units on a flat test network & they all behave the same.

  • Two VLANs (Two IP ranges)

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    D

    I understand. I thought that with 2 network cards it would be possible to do this.

    What I tried was to do the following and change the default.ipx file with the following line:

    chain http://192.168.10.1/fog/service/ipxe/boot.php##params || chain http://192.168.0.1/fog/service/ipxe/boot.php##params || goto bootme

    WhatsApp Image 2023-12-06 at 09.34.02.jpeg
    And I managed to boot on the other network. This way, it is possible to boot from the 2 network cards in different VLANs.

    The problem is that, as @george1421 said, Fog doesn’t provide this type of support. (I believe that if the developers created an ID to identify the network and separated the files it would be possible to do this configuration, but I don’t know the feasibility of that.)

    As @baovipboy156 suggested, I’ll try to do a forward port to the fogserver in pfSense, and let you know if it works.

    Thanks for the help guys.

  • i fail to install FOG

    Unsolved
    5
    0 Votes
    5 Posts
    881 Views
    O

    @nrey said in i fail to install FOG Fnaf:

    I fail to install FOG due to this problem. Can someone help!!!
    )

    It looks like you’re losing connection. Please make sure you are using a trusted Proxy ID!

  • Disable Autoregistration via FOG Client

    Unsolved
    5
    0 Votes
    5 Posts
    776 Views
    Tom ElliottT

    @DBCountMan From my memory, yes, that is correct.

  • Boot UEFI mode slow

    9
    0 Votes
    9 Posts
    2k Views
    D

    Another thing to consider which I have observed in my environment is network congestion. If you are imaging on your production network, especially if the subnets aren’t segmented, you may experience slower than normal imaging speed. If your FOG server is connected to the network at 1Gbps, keep in mind that if you are trying to image 10 workstations connected at 1Gbps, the server will only be able to send/receive at 1Gbps. The more imaging that happens at once, the slower they will all be. That is why I have been looking into getting my FOG server connected at 10Gbps so that it can handle at least 10x1Gbps connections without slowing down.

  • PXE-E32: TFTP open timeout

    Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    george1421G

    @mark29 said in PXE-E32: TFTP open timeout:

    it screens PXE-E32: TFTP open timeout.

    This can be (most commonly) caused by either

    DHCP options for that subnet have dhcp options 66 set incorrectly. You have two or more dhcp servers on that subnet and both don’t have all of the setting needed to pxe boot. The tftp service is not running on your fog server.

    I would setup a witness computer on the same subnet as the pxe booting computer that witness computer will run wireshark, with a capture filter of port 67 or port 68 or use a display filter of BOOTP. Start wireshark and then pxe boot the target computer until you get the error, then stop the wireshark capture.

    Now review in wireshark the OFFER packet. This comes from the dhcp server to the client.

    Look to see if you only have one OFFER packet. You should because the pxe error is “Open timeout”. Look at the OFFER packet in the ethernet header verify that both the {next-server} field has the IP address of the FOG server, and the {boot-file} has the proper FOG boot loader. Now look at the DHCP options under option 66 and 67 they should match whats in the ethernet header.

    FWIW: I’ve seen soho routers that eventhough you properly configure them, they set themselves (the routers) as the pxe boot server and not what you put in dhcp option 66.

  • Some machines can PXE boot, some cannot. Identical machines

    Unsolved
    2
    0 Votes
    2 Posts
    372 Views
    george1421G

    @r00s7a This is most likely an issue with your network infrastructure and not fog. The DHCP offers come from your primary dhcp server. If that DHCP server is not FOG Server then its not something you can solve on the fog server.

    Where we have seen sometimes they pxe boot and sometimes not is if you have two dhcp servers on your network. Possibly in a primary / secondary configuration. Confirm that all dhcp servers have dhcp options 66 and 67 set because these settings are not replicated between windows dhcp servers.

  • edit dhcp

    Unsolved
    4
    0 Votes
    4 Posts
    836 Views
    JJ FullmerJ

    @AlleneBrick @alexamore90
    Lets clarify further first.

    What DHCP server are you using and what is its ip?
    What do you want the fog server ip to be?

  • PXE Boot issue on second FOG-Server

    Unsolved
    2
    0 Votes
    2 Posts
    363 Views
    george1421G

    @El-Fogito said in PXE Boot issue on second FOG-Server:

    VLAN 10.20.88.0 and 10.20.82.0 (on which I configured port 66/67 from DHCP to server 10.20.10.38) finds NOTHING.

    The first question is that is 10.20.88.0 fully routable to 10.20.10.38? i.e. can you ping 10.20.10.38 from the 10.20.88.0 subnet?

    Do have any firewalls or screening routers that might stop udp port 67 and 68 from reaching 10.20.10.38? You can test this by using a computer on the remote subnet and trying to tftp one of the boot files from the fog server.

    You are saying that you can change dhcp option 66 from 10.10.10.38 to 10.20.10.38 and the remote system can’t pxe boot. This eliminates dhcp server and possibly any router dhcp helper/relay settings from the problem.

    If you have a witness computer (third computer on the remote subnet running wireshark) on the 10.20.88.0 you might setup a pcap to see what the remote pxe booting computers are being told what to load. This would ensure that the remote pxe booting computer was being told the proper values. If true then you can eliminate dhcp infrastructure issues and then deal with IP routing as the problem.

    Is there any WAN links between 10.20.10.38 and 10.20.88.0/24 subnets? I have see WAN links that have a smaller MTU than the tftp block size cause a problem. I think the default block size for tftp is 1468 so if the link MTU is below that value it will case the tftp packet to fragment and then fail to download. From your error message it doesn’t sound like this is the issue, but its always good to ask.

  • Deploy slowly NVME

    Unsolved
    3
    0 Votes
    3 Posts
    609 Views
    M

    Hello,

    Someone have the problem ??

    I’m lost and i have any solution for this topic …

  • ability to load a menu item on a specific machine as an immediate task

    Unsolved
    12
    0 Votes
    12 Posts
    3k Views
    JJ FullmerJ

    @ksrvpvl Ok, I think I’m getting what you’re saying. I misunderstood earlier.

    Is your custom menu option to boot to winPE working? Or are you asking for help with that part too? There is some very basic guidelines on creating a winpe boot option here https://docs.fogproject.org/en/latest/ipxe

    The plugin system needs to be enabled in the fog settings, then you should see a plugin menu where you can activate and then install the tasktypeedit plugin. Some basic plugin system info is here https://docs.fogproject.org/en/latest/plugins but it looks like you got past that bit now.

    I also found this post https://forums.fogproject.org/topic/10274/creating-task-with-tasktypemanagement?lang=en-US&page=1 where someone was doing the same thing. Perhaps it may offer some help.

  • mounting on images failed permission denied

    Solved
    4
    0 Votes
    4 Posts
    969 Views
    P

    @processor Yes you can !

  • fog configuration problem

    Unsolved
    27
    0 Votes
    27 Posts
    11k Views
    A

    @Tom-Elliott ok how do I set it to 192.168.11.1?

  • Task Log file?

    Solved
    3
    0 Votes
    3 Posts
    442 Views
    R

    @baovipboy156

    Thanks!

135

Online

12.3k

Users

17.4k

Topics

155.8k

Posts