FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. rodluz
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 57
    • Best 7
    • Controversial 0
    • Groups 0

    rodluz

    @rodluz

    8
    Reputation
    12
    Profile views
    57
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website github.com/rluzuriaga Location USA

    rodluz Unfollow Follow

    Best posts made by rodluz

    • RE: Host registration error.

      I know this thread is old, but I am adding onto it with my research and findings.

      My experience with this issue is only with HP computers, so no idea how other manufacturers do this.
      HP’s firmware is written in a way that MAC address passthrough only works using HP thunderbolt docks, on Windows, using the correct dock drivers. MAC address passthrough also does not work with USB-C to Ethernet adapters because the adapters are not thunderbolt. Given this information, FOS out of the box would not be able to access the MAC address passthrough.
      Judging by the Linux kernel patches I have seen online, adding this support to FOS would be pretty difficult since it seems like it depends on the network controller of each dock. This means that each dock needs to be programmed into the kernel and changes to that network controller driver need to be made as well.

      The other part of the issue is that iPXE gets the MAC address of the device in a different way than FOS. In my experience, iPXE gets the system MAC address (the same address that should get passthrough), while FOS gets the address that Linux gives through the ip addr command.
      I have read other threads where iPXE gives a different MAC address, but it wasn’t HP so I can’t check on that.

      I have a workaround that I did for HP computers which I have been testing for a couple weeks. The workaround is working for me, but I would rather do some more testing before putting out a tutorial.

      posted in FOG Problems
      R
      rodluz
    • RE: Passing variable from ipxe menu to FOS

      @george1421 Thanks so much! So what fixed it for me was just removing all the other iPXE commands. So now my parameters are:

      login
      kernel bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10..../fog/ consoleblank=0 nvme_core.default_ps_max_latency_us=0 rootfstype=ext4 mac=${net0/mac} ftp=10.... storage=10....:/images/ storageip=10.... irqpoll chkdsk=0 capone=1 type=down img=1909GoldenImage imgType=n imgPartitionType=all imgid=43 osid=9 imgFormat=0 auditMode=1
      imgfetch init.xz
      boot || menu
      

      This works perfectly for what I need.

      posted in General
      R
      rodluz
    • RE: FUJITSU ESPRIMO G6012 : no network interfaces found , your kernel is most proba

      @DARUN974 I’m not sure what you are referring to by “reconfigure”.

      How did you update the kernel?
      I would recommend you update the kernel using this guide.

      posted in Hardware Compatibility
      R
      rodluz
    • RE: Fog Client Software

      @chasteencs That’s strange, not sure why they wouldn’t be there. You could get them from https://github.com/FOGProject/fog-client/releases/tag/0.12.2 and place the files in the /var/www/fog/client directory.

      posted in FOG Problems
      R
      rodluz
    • RE: Modify FOS with new package

      @george1421 Okay so I found it in /proc/devices and I was able to get the HP program working!!
      I had to add the program files to the init.xz filesystem and modify parts of the program to not use the modprobe & rmmod commands.
      I also had to create the directories needed for dynamically loaded modules and add the compiled module into it so that the program can look for it there.

      I now have to do the third part which is custom postinit scripts to use the system MAC address instead of the dongle address. This should be pretty easy.

      Once I have that working, I am going to do a full write-up of it for reference for myself in the future and anyone else that comes across this.

      posted in General
      R
      rodluz
    • RE: Modify FOS with new package

      @sebastian-roth I figured out how to simplify it using patch yesterday. I will look into the link that you posted.

      As you said, probably not something to be merged into the official FOS kernel. I’m guessing that I would not be the only one using FOG that would find this helpful so (unless there is a better way) I’m going to fork the FOS repo and make my changes there. Like I said before, I will write up what I did and try to streamline it as much as possible for anyone to reproduce.

      posted in General
      R
      rodluz
    • RE: Plugin Persistent Group add new snapin

      @yannickF I may be wrong, but the Persistent Group plugin runs the SQL trigger only when a host gets added to the group. That means that the behavior you are seeing is normal.

      posted in General
      R
      rodluz

    Latest posts made by rodluz

    • RE: FUJITSU ESPRIMO G6012 : no network interfaces found , your kernel is most proba

      @DARUN974 I’m not sure what you are referring to by “reconfigure”.

      How did you update the kernel?
      I would recommend you update the kernel using this guide.

      posted in Hardware Compatibility
      R
      rodluz
    • RE: FUJITSU ESPRIMO G6012 : no network interfaces found , your kernel is most proba

      @DARUN974 Hi, I may be understanding this wrong but the output of the commands that you posted are from the FOG server or the host computer in debug mode?

      If the output is on the host computer, then the Linux kernel is old (4.19.145) and you should update it to the newest one available (5.15.68).

      posted in Hardware Compatibility
      R
      rodluz
    • RE: failed to create image capture path fog project

      @ericl Hi, are you able to give us a picture of the screen at the moment you get the error message?
      There may be some more context in that image.

      posted in FOG Problems
      R
      rodluz
    • RE: Plugin Persistent Group add new snapin

      @yannickF I may be wrong, but the Persistent Group plugin runs the SQL trigger only when a host gets added to the group. That means that the behavior you are seeing is normal.

      posted in General
      R
      rodluz
    • RE: Persistent Groups Not Working - FOG 1.5.9.235

      @Sebastian-Roth Thanks for the reply. I think you are right that it is an issue with PHP 8.

      Yes please check the apache error log when this happens. See my signature on where to find the log.

      I checked the apache error logs and there are no errors from trying to add the host to that group.

      Is that one on PHP 8 as well? Please run dpkg -l | grep php-fpm on both servers and post the output here.

      I ran the command on both systems and the server using FOG 1.5.94 is using PHP 7.2.24 while the new server with FOG 1.5.9.235 is using 8.1.

      posted in FOG Problems
      R
      rodluz
    • Persistent Groups Not Working - FOG 1.5.9.235

      Hi all. I installed FOG 1.5.9.235 on an Ubuntu 22.04 server.
      I activated the persistent groups plugin and created the host/group.
      The issue is presented when trying to add a host to that group, the page just refreshes and goes back to show that the host isn’t a member of any group. It looks to me like FOG tried to add the host to the group, but the system just failed silently.
      The same thing happens when I try to add the host through the group’s membership tab. I am able to add the hosts to a normal group without an issue.

      I currently have the persistent groups plugin working on my 1.5.9 server (not the same host names or mac addresses).

      I know that the plugin is really just a wrapper for the SQL trigger, so did anything change on the SQL side?
      I also don’t know if there are any logs that I could look at, or produce through MySQL, to see what happened.

      Thanks in advance!

      Edit: Just tested it on another of our servers using FOG 1.5.9.94 and it DOES work on that version.

      posted in FOG Problems
      R
      rodluz
    • RE: procsfdisk.awk "original_variable" calulation?

      @h3krn & @Sebastian-Roth I may be completely wrong about this one (I haven’t really taken a deep dive into this file) but looking at the code, is the issue in the if statement in line 457? I only say this because the comment contradicts the statement. Should the ! be removed from the if statement?

      456        # If fixed, add the partition size.
      457        if (!match(fixedList, regex)) {
      458            # Increment the variable value.
      459            original_variable += p_size;
      460            continue;
      461        }
      
      posted in Bug Reports
      R
      rodluz
    • RE: Fog Client Software

      @chasteencs That’s strange, not sure why they wouldn’t be there. You could get them from https://github.com/FOGProject/fog-client/releases/tag/0.12.2 and place the files in the /var/www/fog/client directory.

      posted in FOG Problems
      R
      rodluz
    • RE: Fog Client Software

      @chasteencs Do you see the SmartInstaller.exe & FOGService.msi files in /var/www/fog/client?

      posted in FOG Problems
      R
      rodluz
    • RE: Cannot install a CA Certificate

      @fabiano-matos said in Cannot install a CA Certificate:

      I did like you said. In the box fogserver I’ve tried my DNS and my IPV4 address. But still getting the same error.

      Few questions:
      Just making sure, when you say “my IPV4 address” you mean the FOG Server’s IP address right?

      Was this a clean install of the FOG client on the computer or did you have an older version already installed?

      Is your FOG server set up with HTTPS? If so, are you checking the Use HTTPS to connect to FOG server box?

      posted in FOG Problems
      R
      rodluz