• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Feb 20, 2020, 3:00 AM Feb 20, 2020, 9:00 AM

    @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

    G 1 Reply Last reply Feb 20, 2020, 12:29 PM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Feb 20, 2020, 3:08 AM Feb 20, 2020, 9:05 AM

      @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

      M 3 Replies Last reply Feb 20, 2020, 10:45 AM Reply Quote 0
      • M
        Mark Shelton @Sebastian Roth
        last edited by Feb 20, 2020, 10:45 AM

        @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
        • M
          Mark Shelton @Sebastian Roth
          last edited by Feb 20, 2020, 10:48 AM

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

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator @Sebastian Roth
            last edited by george1421 Feb 20, 2020, 6:32 AM Feb 20, 2020, 12:29 PM

            @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
            • M
              Mark Shelton @Sebastian Roth
              last edited by Feb 20, 2020, 10:16 PM

              @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 Feb 20, 2020, 6:12 PM Feb 21, 2020, 12:11 AM

                @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

                M 1 Reply Last reply Feb 25, 2020, 3:59 AM Reply Quote 0
                • M
                  Mark Shelton
                  last edited by Feb 25, 2020, 3:55 AM

                  @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
                  • M
                    Mark Shelton @Sebastian Roth
                    last edited by Feb 25, 2020, 3:59 AM

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

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Feb 25, 2020, 1:05 PM

                      @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

                      M 1 Reply Last reply Feb 26, 2020, 3:12 AM Reply Quote 0
                      • M
                        Mark Shelton @Sebastian Roth
                        last edited by Feb 26, 2020, 3:12 AM

                        @Sebastian-Roth that worked. Thanks very much.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Feb 26, 2020, 11:02 AM

                          @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
                          1 / 1
                          • First post
                            11/13
                            Last post

                          157

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project