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

    Configuration serveur FOG menu pxe redirection vers serveur ubuntu 18.04 LTSP

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    17
    1.2k
    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.
    • george1421G
      george1421 Moderator @franck25
      last edited by

      @franck25 Ah OK, the first one looked promising, but I see from your second test I missed a value.

      set net0/next-server 10.20.14.210
      set filename ltsp/amd64/pxelinux.0
      chain tftp://10.20.14.210/ltsp/amd64/pxelinux.0
      

      Also ensure that pxelinux.0 is located on 10.20.14.210 in /tftpboot/ltsp/amd64 directory.

      Our goal here is to transfer control from FOG’s iPXE to LTSP’s syslinux. The first screen shot does what we want. The second and third test you provided iPXE is still in control. You are very close to having it work.

      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!

      F george1421G 2 Replies Last reply Reply Quote 0
      • F
        franck25 @george1421
        last edited by

        @george1421 J’ai refait le test :

        I redid the test:

        set net0/next-server 10.20.14.210
        set filename ltsp/amd64/pxelinux.0
        chain tftp://10.20.14.210/ltsp/amd64/pxelinux.0

        Erreur :Capture du 2019-05-29 23-48-59.png

        Je vous fait une petite copie du répertoire /var/lib/tftpboot/ltsp/amd64 :
        I give you a little copy of the repertoire /var/lib/tftpboot/ltsp/amd64 :

        srv-ltsp@srvltsp:/var/lib/tftpboot/ltsp/amd64$ ls -lh
        total 71M
        -rw-r–r-- 1 root root 212K févr. 7 12:10 config-4.18.0-15-generic
        -rw-r–r-- 1 root root 104K mai 24 18:07 gpxelinux.0
        drwxr-xr-x 5 root root 4,0K mai 24 17:30 grub
        lrwxrwxrwx 1 root root 28 mai 24 18:12 initrd.img -> initrd.img-4.18.0-15-generic
        -rw-r–r-- 1 root root 58M mai 24 18:08 initrd.img-4.18.0-15-generic
        lrwxrwxrwx 1 root root 28 mai 24 18:13 initrd.img-generic -> initrd.img-4.18.0-15-generic
        -rw-r–r-- 1 root root 114K mai 24 18:07 ldlinux.c32
        -rw-r–r-- 1 root root 2,6K mai 24 18:13 lts.conf
        -rw-r–r-- 1 root root 179K janv. 28 2016 memtest86+.bin
        -rw-r–r-- 1 root root 181K janv. 28 2016 memtest86+.elf
        -rw-r–r-- 1 root root 181K janv. 28 2016 memtest86+_multiboot.bin
        -rw-r–r-- 1 root root 41K mai 24 18:07 pxelinux.0
        drwxr-xr-x 2 root root 4,0K mai 24 18:13 pxelinux.cfg
        -rw-r–r-- 1 root root 4,1M févr. 7 12:10 System.map-4.18.0-15-generic
        lrwxrwxrwx 1 root root 25 mai 24 18:12 vmlinuz -> vmlinuz-4.18.0-15-generic
        -rw-r–r-- 1 root root 8,2M févr. 10 01:25 vmlinuz-4.18.0-15-generic
        lrwxrwxrwx 1 root root 25 mai 24 18:13 vmlinuz-generic -> vmlinuz-4.18.0-15-generic

        Si ça peut vous aidez.
        If it can help you.

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

          @franck25 said in Configuration serveur FOG menu pxe redirection vers serveur ubuntu 18.04 LTSP:

          set net0/next-server 10.20.14.210
          set filename ltsp/amd64/pxelinux.0

          I feel these methods are wrong. I’ve configured something like what you are doing but I’m sure I use different commands. What we have to do is fill the environment like it came from dhcp and then chain to it.

          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
          • george1421G
            george1421 Moderator @george1421
            last edited by

            @george1421 said in Configuration serveur FOG menu pxe redirection vers serveur ubuntu 18.04 LTSP:

            This looks close to what I remember:

            set 209:string ltsp/amd64/pxelinux.0
            set 210:string tftp://10.20.14.210
            chain tftp://10.20.14.210/ltsp/amd64/pxelinux.0
            

            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!

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

              @george1421 This one may have been the solution: https://forums.fogproject.org/post/90507

              set pxeserver:ipv4 10.20.14.210
              set next-server ${pxeserver}
              chain tftp://${pxeserver}/ltsp/amd64/pxelinux.0
              

              One of these solutions has to be the answer. I know its possible we just need to release control from iPXE and take over with syslinux.

              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!

              F 2 Replies Last reply Reply Quote 0
              • F
                franck25 @george1421
                last edited by franck25

                @george1421 Ok je comprend le principe. Merci pour l’explication.
                On avance mais il y a tjs quelque chose qui bloque…

                Ok I understand the principle. Thanks for the explanation.
                In advance but there is something that has chosen to block …

                Pour :
                For :
                set 209:string ltsp/amd64/pxelinux.0
                set 210:string tftp://10.20.14.210
                chain tftp://10.20.14.210/ltsp/amd64/pxelinux.0

                Message erreur : Failed to load ldlinux.c32

                Pour :
                For :

                set pxeserver:ipv4 10.20.14.210
                set next-server ${pxeserver}
                chain tftp://${pxeserver}/ltsp/amd64/pxelinux.0

                La un peut bizarre, quand je valide LTSP dans le menu fog. je vois une fraction de seconde un menu pxe à l’ancienne avec dans le menu un onglet fog (impossible de vous faire un imprime ecran ca va trop vite) et le pc relance un boot en pxe.

                Bien cordialement

                One can be odd, when I validate LTSP in the fog menu. I see a fraction of a second old pxe menu with a fog tab in the menu (you can not print a screen that goes too fast) and the pc restart a boot in pxe.

                Best regards

                F 1 Reply Last reply Reply Quote 0
                • F
                  franck25 @franck25
                  last edited by

                  @franck25 depuis une machine virtuel et physique même résultat.

                  1 Reply Last reply Reply Quote 0
                  • F
                    franck25 @george1421
                    last edited by

                    @george1421 Je précise que quand mon serveur LTSP démarre (sans passer par fog) j’ai ceci qui s’affiche :
                    I specify that when my LTSP server starts (without going through fog) I have this displayed:
                    image30.jpg

                    Si ça peux aider
                    If it helps

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

                      @franck25 Well what I see only gives me a head ache, because I see the iPXE kernel loading (what FOG’s using but not this version) but then its calling pxelinux (syslinux). The confusion is that syslinux and iPXE are competing technologies. You would normally use one or the other but not both.

                      Forget what I just said, I see you are using virtualbox (that software) uses iPXE as its boot ROM.

                      Lets change direction and try something new.

                      In the /var/lib/tftpboot/ltsp/amd64 on your LTSP server there is a file called pxelinux.cfg, please posts it contents here so I can review it. It should be a small text file.

                      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!

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        franck25 @george1421
                        last edited by franck25

                        @george1421 C’est bon j’ai trouvé !!!

                        J’ai remplis ceci dans le menu IPEX de FOG :
                        It’s good I found !!!

                        I filled this out in the FOG IPEX menu:

                        set net0/next-server 10.20.14.210
                        set net0/filename ltsp/amd64/pxelinux.0
                        chain tftp://10.20.14.210/ltsp/amd64/pxelinux.0
                        

                        Et la !! ça marche !!!

                        Merci beaucoup pour votre réactivité et surtout pour le temps passé !!
                        Bonne soirée
                        @@@+++

                        And the !! it works !!!

                        Thank you very much for your responsiveness and especially for the time spent!
                        Good night
                        @@@+++

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

                          @franck25 So we were very close in my early posts. I’m glad you now have a solution!!!

                          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

                          152

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project