• Remote office imaging with FOG

    8
    0 Votes
    8 Posts
    2k Views
    Boyan BiandovB

    @mpatel as others have mentioned here - speed is the key; we’re in an identical situation, all sites connect to HQ via VPN but then all sites have Gig Internet so imaging machines at the remote sites has never been an issue, you just talk the end user over the phone to his F12 and that’s that (FOG job must be submitted ahead of time of course).

  • Add Preseed options with FOG

    2
    0 Votes
    2 Posts
    586 Views
    george1421G

    Well you have a few things in you need to think about.

    Moving netboot services to the FOG server. This is pretty easy enough to do. You change the dhcp options 66 and 67 to point to your FOG server from your current netboot server. I do have a tutorial on how to setup FOG as a netboot server here: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images This system uses FOG to create the custom iPXE menu entries to boot into your linix distro’s live installer environment. You may have to tweak the kernel parameters to load your installer seed file. The nfs disk structure and preseed file organization is up to you since netbooting is not a supported feature of FOG, but a hack using the FOG infrastructure for netbooting.

    Once you have your netboot installer for linux configured then you can focus on the windows bits.

  • Enabling DHCP after install

    4
    0 Votes
    4 Posts
    1k Views
    A

    @Sebastian-Roth Sorted. Many thanks for your help!!

  • FOG Login with spaces in username

    Moved
    24
    0 Votes
    24 Posts
    5k Views
    K

    I’m sorry I haven’t answered for so long, but I’ve been busy a lot and haven’t been able to address this issue until now.

    First i only got the login of the FOG local users to work with the solution provided by @Tom-Elliott.
    I could login with usernames the contain spaces with the following changes:

    user.class.php:
    Line 214:
    Change the relevant regex from:

    (?=^.{3,40}$)^[\w][\w0-9]*[._-]?[\w0-9]*[._-]?[\w0-9]+$

    to:

    (?=^.{3,40}$)^[\w][\w0-9]*[ ._-]?[\w0-9]*[ ._-]?[\w0-9]+$

    fog.user.js
    Comment out:

    //regex: /^[\w][\w0-9]*[._-]?[\w0-9]*[.]?[\w0-9]+$/

    When i tried to login with a domain user that contains spaces (users without spaces worked already) i got the same problem, no error but no login.

    Then i figured out that the LDAP plugin uses the same check and regex so i had to edit this too:

    ldap.class.php
    Comment out:

    /** * Test the username for funky characters and return * immediately if found. */ // $test = preg_match( // '/(?=^.{3,40}$)^[\w][\w0-9]*[._-]?[\w0-9]*[.]?[\w0-9]+$/i', // $user // ); // if (!$test) { // return false; // }

    Now it works like a charm. 😃

    Thanks to all people that were involved in this.

    This can be marked as solved.

  • Transferring frog to a new server.

    10
    0 Votes
    10 Posts
    2k Views
    george1421G

    @cammykool I would search for bonding and your linux distro. Bonding or teaming (depends on which method you use) is setup at the OS level. You will also need to get with your infrastructure folks to setup the switch the fog server’s plugged into for bonding. I would suggest LACP also called 802.1ad. Both the switch and the server needs to be configured for the same bonding type. When you setup bonding on the linux side, it will create a new network adapter typically called bond0. That virtual network adapter will then talk to its slave interfaces (the real physical nics). You will apply the IP address to the bonding nic and not the physical nics. The bonding driver will manage the physical interfaces once its setup. When you configure FOG you will tell it to use bond0 (or what ever the bonding interface name that is created). Once you have bonding setup and WORKING at the linux level then you can forget about it and install FOG. Don’t install FOG without or before bonding setup.

  • What is the PROPER Process for this?

    6
    0 Votes
    6 Posts
    1k Views
    george1421G

    @tneuber The unattend.xml thing, is a windows thing and not a fog thing.

    For example I don’t use the FOG client in my environment but I use the unattend.xml file to configure the target computer and connect it to AD. Here is an example of a sanitized version of my unattend.xml file: https://forums.fogproject.org/topic/11920/windows-10-1803-sysprep-problem/7

  • Remove press F12 for network boot (PXE)

    4
    0 Votes
    4 Posts
    1k Views
    george1421G

    @marted said in Remove press F12 for network boot (PXE):

    No need to press F12 if I stop all computers and send a signal with the image wake-up on lan

    Just be mindful that windows 10 doesn’t play nice all of the time with WOL. Many have reported that wol doesn’t work if the computer was in windows and is either put to sleep or shutdown from inside windows. WOL does work if the computer is unplugged and then pugged in, where windows wouldn’t leave its bits hanging around and breaking the wol process.

  • Image not joining the domain

    7
    0 Votes
    7 Posts
    1k Views
    S

    @jack_chapman2020 Error is: Logon failure: unknown username or bad password, code = 1326

    Try DOMAIN\username and simply username - we have seen one or the other working. Though we have not found the time to figure out in which situation one works or the other.

  • Unable to Load Fog PXE Menu

    10
    0 Votes
    10 Posts
    2k Views
    S

    @lordbob75 Good to hear you got this fixed! Though the error message for me didn’t point to be the IPs to be the issue. But well.

    Would you be interested to get in touch with the person who created the Docker image to see if he/she’d be keen to update the FOG version?

  • Build a new ipxe.efi file

    3
    0 Votes
    3 Posts
    706 Views
    F

    Thanks!! I will take a look

  • FOG on LXC

    18
    0 Votes
    18 Posts
    5k Views
    G

    @Sebastian-Roth
    Yes on proxmox

  • IP address assignment

    11
    0 Votes
    11 Posts
    3k Views
    george1421G

    @wreckignize The rest of the setup should be the same, just how it gets installed is different.

  • 0 Votes
    3 Posts
    986 Views
    S

    @execcr said in Fog and pxe boot Esxi 6.7u3 installer on HPE Server can't pass k.b00 module:

    i just spin up a VM with UEFI bios and E1000E adapater and tried to deploy esxi 6.7u3 to that vm and get past the loading modules stage and i can actually install esxi here.

    From what you have told us so far I think this might be some problem with iPXE booting in the other VM. Can you please give us more details on what setting(s) is/are different between the one that works and the one that doesn’t properly load.

  • Update SSL certficate to old computer

    6
    0 Votes
    6 Posts
    1k Views
    S

    @vic60400 Would be interesting to hear if (and how) you were able to exchange the certificates. Other users might find it very helpful.

  • How to boot on fog with bios legacy and uefi on a computer park ???

    9
    0 Votes
    9 Posts
    3k Views
    F

    @george1421
    Thank you so much !
    It works well !
    Have a good day.

  • LDAP 1.6 plugin password

    14
    0 Votes
    14 Posts
    3k Views
    T

    Thanks all. You are right. LDAP uses plain text password. I had ‘&’ symbol in the password and that breaks it. I set up a test RHEL server and was able to make it work by removing ‘&’ symbol. My “controlled” server however is till not working. No error in /var/log/php-fpm/www-error.log. Apache detected when I tried to login. Re-installing -php-ldap but no go. Does anyone know how to debug it? Thanks!

  • Where are the general iPXE settings?

    9
    0 Votes
    9 Posts
    4k Views
    JunkhackerJ

    @george1421 said in Where are the general iPXE settings?:

    and that should pull the file from the tftpboot directory. But then you will need to have a mac address file for each system. But then what happens if you don’t have a mac address file the boot fails.

    in this case, you could just end the chain command with || and it would try the next available command, which can be booting to the fog server

  • Need advice for network configuration

    2
    0 Votes
    2 Posts
    592 Views
    S

    @lebrun78 said in Need advice for network configuration:

    Which architecture do you recommend?

    That depends on the network components you have. What kind of router do you have? If possible I’d put the 500 educational hosts and the FOG server on the same switch/branch of your network. Don’t run it through your backbone if you can avoid it. Leaning towards setup one (above picture).

    On the other hand I am not sure I understand why you’d make things more complicated by running the FOG server dual homed. Why not just have the FOG server in the educational hosts network segment and allow HTTP/HTTPS web access from the admin PCs to the FOG server across your router.

  • WOL on Ubuntu 18.04 with 2 nics

    11
    0 Votes
    11 Posts
    2k Views
  • FOG client with dual boot image

    12
    0 Votes
    12 Posts
    3k Views
    EduardoTSeoaneE

    @Sebastian-Roth said in FOG client with dual boot image:

    @EduardoTSeoane Ok, seems like I got a bit confused about the custom install path. Now I got it. Opened an issue on github for this so we won’t loose it: https://github.com/FOGProject/fog-client/issues/117

    Hehe, that has name, is too much work…, I was thinking that it was a problem with our Windows Customizations, I had no time to investigate it.

93

Online

12.6k

Users

17.5k

Topics

156.3k

Posts