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

    Issue with PXE and DHCP

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    15
    4.9k
    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.
    • ?
      A Former User
      last edited by

      Alright, situation has changed, just realized that PXE has no interest in obtaining an IP, and in a blink of an eye it flashes pxe-e53 no boot filename

      1 Reply Last reply Reply Quote 0
      • Roger SaffleR
        Roger Saffle
        last edited by

        [COLOR=#666666][SIZE=12px][FONT=Arial]from google…Make sure that the “boot filename” option is present on your DHCP or BOOTP server, and that its value is set to the filename of the boot loader.[/FONT][/SIZE][/COLOR]
        [COLOR=#666666][SIZE=12px][FONT=Arial]When using Microsoft DHCP server, add option 067 (Bootfile Name) to your scope. When using a Unix/Linux based (ISC) DHCP server, use the “filename” parameter for this purpose[/FONT][/SIZE][/COLOR]
        [COLOR=#666666][SIZE=12px][FONT=Arial] [/FONT][/SIZE][/COLOR]
        [COLOR=#666666][SIZE=12px][FONT=Arial]from me…[/FONT][/SIZE][/COLOR]
        [COLOR=#666666][SIZE=12px][FONT=Arial]there are two options that need set. Option 66 and 67 ( I think its 66) Those are microsoft numbers. In linux is something like this[/FONT][/SIZE][/COLOR]
        [SIZE=14px][COLOR=black][FONT=monospace]# The boot filename.
        dhcp-boot=pxelinux.0[/FONT][/COLOR][/SIZE]
        [SIZE=14px][COLOR=black][FONT=monospace] [/FONT][/COLOR][/SIZE]

        1 Reply Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          except that should be [SIZE=14px][FONT=monospace][COLOR=#000000]dhcp-boot=undionly.kpxe[/COLOR][/FONT][/SIZE] instead

          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
          • ?
            A Former User
            last edited by

            So this isn’t done upon installing fog? I just got home now so I’m firing up the VM server now, will get back to ya in a sec. Thanks for the replies everyone :-D.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Alright I added that to dhcpd.conf (I didnt see the commented out section of anything like it so I added it manually) and nothing changed. Is dhcpd.conf where it is supposed to go?

              EDIT…

              Checked the status and It’s failing to start because of that line of code
              “[SIZE=14px][FONT=monospace][COLOR=#000000]dhcp-boot=undionly.kpxe[/COLOR][/FONT][/SIZE]”

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                Well I made a whole new VM and installed fog again, instead letting the script configure the DHCP server instead and it does some new stuff now, now it says could not configure console, no such file or directory and could not boot: no such file or directory.

                but it is connecting to the fog VM now, just not loading the menu

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  Because this is at your house and you’re just experimenting, I’d really recommend getting away from Ubuntu.

                  Maybe try Red Hat or Fedora or CentOS ?

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    How different are the commands? All I’ve been messing with for the past few years is Debian and Ubuntu. Also, which would you recommend most?

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      Tom would say Red Hat Server (and he knows a WHOLE lot more about it than me).

                      I’d say Fedora 21 Server.

                      The differences between Red Hat based and Debian based aren’t so bad, really.

                      You use YUM instead of Apt-Get, the web directory is /var/www/html instead of /var/www, the config files are basically the same but in different spots.

                      Fedora has some nice systemctl commands to get status of services and such, and makes enabling services on boot pretty simple.

                      And, for what it’s worth, I believe the very first version of FOG was developed on Fedora.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • Roger SaffleR
                        Roger Saffle
                        last edited by

                        I installed fog on my Ubuntu machine at home and it worked just fine. It was a real machine and not a VM. I also had the same machine running DHCP as well as fog. I just answered yes to the question about is the dhcp on the same server.

                        Here at work it is on Fedora like 12 (dont laugh) I use a generic txt only dhcp server called dhcpdns ( [url]http://dhcp-dns-server.sourceforge.net/[/url]) for reasons not related to fog. It runs in widows with no install, in its config I had to put this…
                        BOOTFILE=undionly.kpxe
                        NEXTSERVER=10.95.95.100

                        maybe try and run it on a the above little dhcp server which runs on windows with out an install and see if its a fog or dhcp issue.

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

                        165

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project