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

Compatibility with ole PXE

Scheduled Pinned Locked Moved
Feature Request
7
10
3.4k
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.
  • P
    pmonstad
    last edited by May 8, 2014, 6:16 AM

    I have central DHCP server in my organization which I do not manage. It is set up to work with the old PXE boot system in FOG, i.e. it asks for the file pxelinux.0.

    Fog 1.0.0 uses iPXE and the file name is now named undionly.kpxe

    In this forum I am told all I have to do is to rename undionly.kpxe to pxelinux.0. This works but I have to do this each time I upgrade FOG. Could there be a setting to turn on/off some dhcp-compatibility-mode?

    Could be solved in the install script by checking if the file pxelinux.0 exists. If it exists installer could ask if user want to keep compatibility with old dhcp settings. if YES rename the file. Thoughts?

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by May 8, 2014, 11:34 AM

      [quote=“pmonstad, post: 26761, member: 17422”]I have central DHCP server in my organization which I do not manage. It is set up to work with the old PXE boot system in FOG, i.e. it asks for the file pxelinux.0.

      Fog 1.0.0 uses iPXE and the file name is now named undionly.kpxe

      In this forum I am told all I have to do is to rename undionly.kpxe to pxelinux.0. This works but I have to do this each time I upgrade FOG. Could there be a setting to turn on/off some dhcp-compatibility-mode?

      Could be solved in the install script by checking if the file pxelinux.0 exists. If it exists installer could ask if user want to keep compatibility with old dhcp settings. if YES rename the file. Thoughts?[/quote]

      This is a personal setting, I do not see many benefiting from. You may not know this but FOG gains flak for it’s install script. At a certain point we need to stop accommodating every user and they need to learn some linux.

      You could make a script that every time you upgrade fog it checks to see if your pxelinux.0 file exists and if not it will copy and rename it. I would recommend something else, please keep reading.

      While I know this isn’t the answer you want to hear, You can simply symlink the file, or you can rename it. I recommend a symlink, you can do so like this:
      [code]
      sudo ln -s undionly.kpxe pxelinux.0[/code]

      Now if you check the folder you will find that both the files exist. This is particularly useful when you need to reference the same file in multiple folders but you don’t want to have to edit ALL of them!

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • P
        pmonstad
        last edited by May 8, 2014, 12:52 PM

        Hi! I agree this is not a problem for those of us who understand Linux. I just thought this could be a good idea for all those less Linux experienced out there starting to upgrade from 0.32 to 1.0.0. If they dont run their own dhcp server the central dhcp server needs to be updated to reflect the new PXE filename, which is often a job for some external IT department. I also know that involving IT departments around in large organisations is a pain. The less we have to involve them the better is my experience.

        If there was an option as suggested I think we could avoid some questions in the forum. I have not said this necessarily is a good idea, I just want to start a discussion about it 🙂 If no one else think this could be a good idea I can of cource live with my cp command in Linux.

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by May 8, 2014, 1:12 PM

          It’s nice to always leave a note of your findings. We will see if others feel it is necessary to include this as part of the installer script. It will depend on the amount of confusion with reading the installer script when it tells you to insert information into the dhcp server.

          There’s also a service recommended for those that have trouble with inserting or editing the dhcp server, but it’s not part of the installer script. While I recommend it every chance I can when I think it will resolve the issues a particular user has, I feel that the forums are suffice enough to get information to those that needed it. 90% of the people coming to the forums have questions about FOG during installation or after, some prepare before but that is few and far between.

          Only time will tell, but I am hoping that FOG is stirring a caliber of individual that will be able to solve their own linux woes instead of being hand fed scripts.

          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

          1 Reply Last reply Reply Quote 0
          • J
            Junkhacker Developer
            last edited by May 8, 2014, 1:38 PM

            There is a reason we do not name the undionly.kpxe file pxelinux.0 and it is because they have nothing to do with each other.
            If a user sees that the file is named pxelinux.0, then they can assume, or a quick google search will tell them, that it is based on pxelinux of the syslinux project. At that point, they will have a lot of information at their disposal on how it works and how to configure it’s boot menu. All of that information will be wrong for their actual situation.
            Keeping the file named undionly.kpxe prevents that confusion and only requires a minor DHCP reconfiguration for people who already have their server set up with pxelinux.0.

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • B
              BPSTravis Developer
              last edited by May 8, 2014, 2:30 PM

              IF you were able to have the server configured for pxelinux.0 in what situation would a user not be able to get it updated to undionly.kpxe?? I don’t know of any organization that locks out their DHCP server, and if they did I doubt they would have the ability to use FOG as a PXE server to begin with.

              There is always SOMEONE who can access and change the DHCP server, if not, you have bigger problems to worry about than the FOG install script.

              [SIZE=12px]signature:[/SIZE]
              [QUOTE]I think I know things, but I really don't. You shouldn't follow any advice I give. - BPSTravis[/QUOTE]

              1 Reply Last reply Reply Quote 0
              • P
                pac1085
                last edited by May 14, 2014, 6:26 PM

                [quote=“BPSTravis, post: 26772, member: 22444”]IF you were able to have the server configured for pxelinux.0 in what situation would a user not be able to get it updated to undionly.kpxe?? I don’t know of any organization that locks out their DHCP server, and if they did I doubt they would have the ability to use FOG as a PXE server to begin with.

                There is always SOMEONE who can access and change the DHCP server, if not, you have bigger problems to worry about than the FOG install script.[/quote]
                Organizations that have strict change management protocols make this difficult… In our case the actual FOG servers are managed by the local operations teams - so upgrading to 1.0 is easy, but any changes to server infrastructure including DHCP have to go through a drawn out change management process 😞

                1 Reply Last reply Reply Quote 0
                • W
                  Wolfbane8653 Developer
                  last edited by May 14, 2014, 6:35 PM

                  So you don’t have any rights to login to the DHCP server? …opps someone left the door open or the old credit card tricks are no good? No way you can remote desktop in or ssh?

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jaymes Driver Developer
                    last edited by May 15, 2014, 11:31 AM

                    [quote=“pac1085, post: 27126, member: 144”]Organizations that have strict change management protocols make this difficult… In our case the actual FOG servers are managed by the local operations teams - so upgrading to 1.0 is easy, but any changes to server infrastructure including DHCP have to go through a drawn out change management process :([/quote]

                    There is a way to get around your problem, there is a service call DNSMASQ that allows you to proxy serve information while pxe booting so that machines can resolve to the tftpboot server and the file name. This service is recommended to anyone with an UNMODIFIABLE DHCP SERVER, please look here
                    [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server[/url]

                    This will allow your techs the ability to edit or change the dhcp boot information at a building level and they will be able to update methods in the future as everything will be local to the server, or able to be edited simply by remote desktop/vnc or ssh into the server to make changes. YOU could also be the one to make these changes for them remotely if you didn’t want to drop that in their laps.

                    WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jun 4, 2014, 11:57 AM

                      As all the others state,

                      The filename doesn’t matter from a system perspective, but when it comes to tracking bugs or finding potential issues, searching on google deter’s to the “assumed” default of the files. Meaning, if we relabel undionly.kpxe during install to pxelinux.0, and you were having problems, people would likely search for pxelinux.0 which would not return the information you need properly. It would become extremely difficult to track down issues.

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                      231

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project