• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Sebastian Roth
    3. Best
    S
    • Profile
    • Following 0
    • Followers 28
    • Topics 48
    • Posts 12,331
    • Best 1,698
    • Controversial 0
    • Groups 3

    Best posts made by Sebastian Roth

    • RE: Boot PXE Macbook - Imac

      Which iPXE binaries do you use? Those provided by FOG or different ones (maybe older versions)?

      I am still not exactly sure about the ethernet cards as it is almost impossible to find the PCI IDs of things assembled into Macs on the internet… So I just hope that there are “normal” BCM57765 chips in both of your Macs.

      Anyhow. Lets give it a try. Please add this line to your subnet section:

      subnet ... {
          authoritative;
          ....
      }
      

      and add this class definition anywhere in your DHCP config:

      class "Apple-Intel-Netboot" {
          # Limit this class to only Intel Apple machines
          match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
          option dhcp-parameter-request-list 1,3,17,43,60;
          if (option dhcp-message-type = 1) {
              option vendor-class-identifier "AAPLBSDPC/i386";
              option vendor-encapsulated-options 08:04:81:00:00:67;
          }
          filename "ipxe.efi";
          next-server x.x.x.x;
      }
      

      Restart the DHCP service, power up your Mac - pressing ‘n’ on the keyboard till you see a globe spinning.
      This is the most simple configuration I could find to talk BSDP. It works with MacBook1,1 and MacBook6,1 which I happend to have here for testing. It might not work for newer Macs. I’ll be updating the before mentioned wiki page to explain different settings.
      I think you can remove ‘filename’ and ‘option bootfile-name’ from your host section. It is set via the new class definition.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Could Not Mount Image folder

      @fl0pp Re-exporting an NFS share is not going to work. Please follow this: https://forums.fogproject.org/topic/6808/adding-nas-nfs-storage-to-fog (it’s about QNAP but there are helpful links you should read as well).

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: PXE-E78 Cannot locate boot server

      @mkstreet The PCAP info is very helpful. I see two DHCP servers answering the inital DHCP discovery packet sent by the client. One server (10.0.253.1) hands out an IP (10.0.253.29) and next-server info (172.16.1.1) while the other one (10.0.253.24) hands out the filename info (undionly.kpxe) but no next-server info. After that I see that second DHCP server sending a DHCP request to 172.16.1.1. I guess we need to see the DHCP configuration of both your servers to be able to help you.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Sending Discover - Loop & Unable to locate MBR

      There is definitely d1.mbr missing. Tom has fixed the inits lately. Can you please upgrade to the very latest trunk version and upload the image again? Then try deploying it…

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Centos 7.2 UUID for swap wrong

      This is fixed in working branch.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: captured images uploading to /images/dev/<mac addy>

      @apollyonus Usually the failed move is cause by screwed FTP settings: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

      But I have seen issues with moving the images on EXT3 formated partitions as this filesystem is doing some kind of defragmentation magic when huge files are being deleted. I doubt you have used ext3 when installing your CentOS server (see with mount).

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: CPU Usage high

      @Taspharel This is even after rebooting the FOG server? Still FOGTaskSchedule with high CPU? Do you see anything useful in the apache logs (see my signature on where to find those)? As well, post the contents of your /var/log/fog/fogscheduler.log here.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Problem with Fog version 6667

      While you are in debug mode, please run the command sfdisk -d /dev/sda. What Tom was asking is that you create a deloy task but tick the checkbox “Schedule as debug task”. As soon as you see the shell you can run that task with the command fog

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: CPU Usage high

      @Wayne-Workman This is a link… /opt/fog/log is actually the place of the logs. As most people are used to /var/log I mostly use this.

      posted in Linux Problems
      S
      Sebastian Roth
    • RE: Fogftp login failed

      @kortnor The image currently uploaded is put in /images/dev/<mac-address> and will be moved to /images/<img-name> at the end of the upload process (probably where you see the FTP login error). You can move the directory by hand if you like (mv /images/dev/<mac-address> /images/<img-name>) but you’d still want to find out what’s wrong with the FTP settings! Please check that username and password of the FTP user (you were able to successfully login via FTP as we see) match the storage management password and username fog and the tftp password under the web ui in fog settings! As you see in the old post there where whitespaces cause trouble. Please double check all the settings!

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: installing package : php-mysqlnd failed

      @infotc While a clean migration would surely get you to a nice clean system you can first try to get this fixed manually.

      There is some logic in the FOG installer that should take care of the different package names that have changed over the years (php-mysql vs. php-mysqlnd).

      Please run the following command to see what PHP packages exactly are installed at the moment:

      dpkg -l | grep php
      

      Post the output here.

      Edit /opt/fog/.fogsettings and make sure only php-mysql (but not php-mysqlnd) is in the packages line.

      As well you might want to manually install the package needed - see if that gives you an error as well:

      apt install php-mysql
      
      posted in Linux Problems
      S
      Sebastian Roth
    • RE: client computer reboots in pxe while adding nic

      @scott45426 Ahhh, now I see… this is version 1.2.0 and the embedded iPXE script we used back then just rebooted when it could not get an IP via DHCP.

      PXE ROM is able to get an IP but not iPXE…?! Possbily a spanning tree issue?

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Windows 8.1 + FOG Server 1.2 revision 7001

      @GreenItSolutions Usually this is due to an issue in your network setup. Your description is very brief but from what I read between the lines you get the FOG menu but when selecting options like “Quick image” or “… registration” the host hangs when trying to get an IP. For this you need to understand that for the client to show the menu it needs to request an IP via DHCP twice already (PXE boot ROM and iPXE)! So this is not a general DHCP/network issue but usually caused by:

      • Faulty patch cables (don’t laugh, we have seen this)
      • spanning tree (configure your client port to ‘port fast’!)
      • ethernet energy saving (disable EEE/802.3az on your switch if it has those!)
      • auto negotiation problems (configure to 100MiB or 1GiB fixed speed for this client port)

      If non of the methods help please give detailed description of what you tried and what happened. Otherwise we need to guess and go mostly wrong. As well tell us more about your client (model, NIC (PCI IDs!), …).

      Please report back if you could make it work. What exactly did you do? This will be useful for other users in the future.

      posted in Windows Problems
      S
      Sebastian Roth
    • RE: No lease after trying to perform host inventory

      @middendorf Please get a small stupid office switch and connect between the client and the main switch. Does the problem go away? Does your switch have energy saving capabilities (called EEE or 802.3az)? Could be spanning tree as well but I kind of doubt as iPXE seams to work fine. Or possibly it’s just a damaged LAN cable?!

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: Invalid GPT table

      @DarkEnergy Definitely valuable information you gave us but we still need a straw to cling to - the exact error message! I am sorry but I am not willing to further look into this issue unless I know the error you are seeing when things go wrong. 🙂 No offence!

      posted in Windows Problems
      S
      Sebastian Roth
    • RE: Migrate Hosts from 1.2 to dev-trunk

      @jayphizzle said:

      Damn. I entered the product keys for most of our clients manually yesterday.
      I have to be more patient next time

      Is a response time of 24 hours for a complete solution not fast enough?!? Just kidding! 🙂

      The proposed fix is only able to jump in and recognize/modify the values being imported on the fly. I don’t think we want to have some foo magic that tries to make assumptions on the product key filed every time it’s loaded/saved from/to the database. So your tests (import base64 via db dump and update the value via web gui) just won’t work - as you already saw!

      If I’d be you, I’d go for this: Do a complete mysql-CSV-dump from your 1.2.0 DB as described earlier. Make a copy of that full CSV file and delete most lines to only keep a few (maybe 3-5) for testing. Choose whichever you like (maybe hosts that you haven’t modified the product key value by hand yet so you won’t ruin those precious entries you spend hours on I suppose). Then delete exactly those 3-5 hosts from your FOG trunk DB using the web gui and import the CSV. Check if everything is fine - especially AD passwords as I don’t think we have that correctly yet - and let us know!

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: FOG menu: Boot from hard disk - ignores BIOS settings

      @TRex In our list of known working devices the OptiPlex 390 is listed as working fine. So I am wondering if this is a BIOS setting issue?!?

      it will boot to a bootable USB drive (or fail to boot if non-bootable USB drive is in slot).

      Seriously? If there is a non-bootable (or no) USB stick then it fails to boot? Is your BIOS configured to boot from USB first?

      Anyone with Optiplex 390 able to confirm this??

      posted in Windows Problems
      S
      Sebastian Roth
    • RE: Kernel update

      @Pascal-Gazaille Good to know that we have another one of these Realtek NICs (10ec:8168) here. My guess is that the newer kernel driver either has big trouble doing auto negotiation (as we saw in a different topic) or it does ethernet energy saving (called EEE or 802.3az). Please try to connect your client to a dumb mini switch instead connecting it straight to your big switch or disable auto negotiation on that client port for testing if you can. See if that helps.

      posted in FOG Problems
      S
      Sebastian Roth
    • RE: DHCP Proxy for FOG

      @TheOverseer Sorry, took me a while to get things sorted. Here you can find the current version on github now (still alpha): https://github.com/FOGProject/node-dhcproxy

      Should run on linux and windows after installing node.js. Extract the archive and take a look at README file for some more details. Run as root on linux (needed to listen on port 67).

      Would be great if you can give some feedback on how this is working for you.

      posted in Feature Request
      S
      Sebastian Roth
    • RE: Kernel update

      @Pascal-Gazaille As well keep an eye on the NIC LED !!! Turns on/off on boot, when iPXE loads, when kernel loads?!? Please let us know what exactly you see.

      posted in FOG Problems
      S
      Sebastian Roth
    • 1 / 1