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

    Configuring UDPCast fails on Raspberry Pi 4

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    13
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      @Mark-Shelton Good catch! I think @george1421 has installed FOG on RaspbarryPi but not sure about version 3 or 4. Anyway, should be something we can fix.

      Please edit fogproject/lib/common/functions.sh in the source folder you use to install FOG. Jump to line 356 and add those two lines of code to make it look like this:

          tar xvzf "$udpcasttmp" >>$workingdir/error_logs/fog_error_${version}.log 2>&1
          cd $udpcastout
          wget -qO config.guess "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess"
          wget -qO config.sub "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub"
          errorStat $?
          dots "Configuring UDPCast"
          ./configure >>$workingdir/error_logs/fog_error_${version}.log 2>&1
          errorStat $?
      

      Save and then re-run the installer.

      @Tom-Elliott I would think this change shouldn’t hurt other systems. Though it seems a bit over the top to add this in general if it’s only an issue on Raspberry Pi systems.

      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

      george1421G 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Tom-Elliott I might just add a similar check to what we see here: https://github.com/rec/echomesh/blob/master/code/python/echomesh/base/Platform.py#L19

        @Mark-Shelton Can you please run grep BCM2708 /proc/cpuinfo and post output here?

        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

        Mark SheltonM 3 Replies Last reply Reply Quote 0
        • Mark SheltonM
          Mark Shelton @Sebastian Roth
          last edited by

          @Sebastian-Roth thank you for such a quick answer! It’s 8:44pm where I am in Australia so I’ll make the change tomorrow and see how we go.

          1 Reply Last reply Reply Quote 0
          • Mark SheltonM
            Mark Shelton @Sebastian Roth
            last edited by

            @Sebastian-Roth…and will upload the result from the grep also…

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

              @Sebastian-Roth Both Pi2 and Pi3. But I never used the udpcast from my FOG-Pi servers. I do have a solar powered FOG server though.

              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 1
              • Mark SheltonM
                Mark Shelton @Sebastian Roth
                last edited by

                @Sebastian-Roth Output as requested…

                processor : 0
                BogoMIPS : 108.00
                Features : fp asimd evtstrm crc32 cpuid
                CPU implementer : 0x41
                CPU architecture: 8
                CPU variant : 0x0
                CPU part : 0xd08
                CPU revision : 3

                processor : 1
                BogoMIPS : 108.00
                Features : fp asimd evtstrm crc32 cpuid
                CPU implementer : 0x41
                CPU architecture: 8
                CPU variant : 0x0
                CPU part : 0xd08
                CPU revision : 3

                processor : 2
                BogoMIPS : 108.00
                Features : fp asimd evtstrm crc32 cpuid
                CPU implementer : 0x41
                CPU architecture: 8
                CPU variant : 0x0
                CPU part : 0xd08
                CPU revision : 3

                processor : 3
                BogoMIPS : 108.00
                Features : fp asimd evtstrm crc32 cpuid
                CPU implementer : 0x41
                CPU architecture: 8
                CPU variant : 0x0
                CPU part : 0xd08
                CPU revision : 3

                Hardware : BCM2835
                Revision : c03111
                Serial : 10000000a46e436e
                Model : Raspberry Pi 4 Model B Rev 1.1

                Regards, Mark

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @Mark-Shelton Thanks for the information. Please let us know if compilation works fine adding the wget commands as mentioned below.

                  We shall add this as a bug fix soon.

                  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

                  Mark SheltonM 1 Reply Last reply Reply Quote 0
                  • Mark SheltonM
                    Mark Shelton
                    last edited by

                    @Sebastian-Roth I made the changes and re-ran the install. Same result unfortunately.

                    I have attached the error log and install log[1_1582602880272_fog_error_1.5.7.log](Uploading 100%) [0_1582602880271_foginstall.log](Uploading 100%)

                    1 Reply Last reply Reply Quote 0
                    • Mark SheltonM
                      Mark Shelton @Sebastian Roth
                      last edited by

                      @Sebastian-Roth fog_error_1.5.7.log foginstall.log

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @Mark-Shelton Thanks for testing and letting us know. It’s not quite the same result really. The new timestamp is 2008-01-23 this time.

                        Though it turns out those links have changed as well. Please try changing the wget calls and just to make sure also add the chmod call - then re-run the installer.

                        wget -qO config.guess "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess"
                        wget -qO config.sub "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub"
                        chmod +x config.guess config.sub
                        

                        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

                        Mark SheltonM 1 Reply Last reply Reply Quote 0
                        • Mark SheltonM
                          Mark Shelton @Sebastian Roth
                          last edited by

                          @Sebastian-Roth that worked. Thanks very much.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @Mark-Shelton Great, thanks for the feedback. I just added a fix to the code.

                            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

                            157

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project