• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Accessing FOG Menu over SOL connections

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    215
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      londonfog
      last edited by

      Hi There,

      We have an interesting case where we almost entirely use ipmitool and sol activate to boot servers and pxe boot them, we currently use a pxe server contained in a docker container, but I’ve used fog previously and would like to try using it again, I think it might best fit our needs. But would need to make sure this fog menu would display on serial over lan (SOL) connections.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @londonfog
        last edited by

        @londonfog I can most assuredly tell you that no one using FOG has done this before.

        The challenge is getting both iPXE and the FOS Linux kernel to use the serial console port (even at that I don’t know if the SOL redirect will work correctly).

        The first step is that you will need to rebuild iPXE using the built in tools in the fog server. https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe I would run through this process the first time as is just to get a base line compile setup.

        Then you will want to hack a config file to enable the serial console in iPXE as outlined here: https://ipxe.org/console

        As an example here is the fog supplied console.h file https://github.com/FOGProject/fogproject/blob/171d63724131c396029992730660497d48410842/src/ipxe/src/config/console.h#L37 note that you will need to turn on the serial console in the console.h in the build path for iPXE. You will need to do it for both the bios and uefi config files.

        You will probably want to add the following lines right under enabling the serial console.

          #define COMCONSOLE COM2
          #define COMSPEED 9600
          #define COMDATA 8
          #define COMPARITY 0
          #define COMSTOP 1
        

        You will need to make the changes correctly for your SOL configuration.

        Then rebuild iPXE a second time. This time move the built files to the /tftpboot directory.

        Now for bzImage (fos linux kernel), it looks like you just need to add this to the global kernel args settings console=ttyS2,9600

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        154

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project