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

    FOG install on Raspbian

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    3
    10
    3.8k
    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.
    • B
      BedCruncher
      last edited by

      Server
      • FOG Version: 1.3.2
      • OS: Raspian
      • Hardware: Raspberry Pi 2
      Description

      I know it’s not technically supported, but I was trying to install FOG on raspbian to see if I could get a portable FOG solution built with hardware I had laying around. I can’t get past the initial setup script execution.

      First thing was that it was missing add-apt-repository and that was solved by installing python-software-properties and software-properties-common and was able to continue further. It now fails at the same point, but the message is now

      Traceback (most recent call last):
        File "/usr/bin/add-apt-repository", line 167, in <module>
          sp = SoftwareProperties(options=options)
        File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
          self.reload_sourceslist()
        File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
          self.distro.get_sources(self.sourceslist)
        File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
          (self.id, self.codename))
      aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
      

      Probably not anything that can be done about this as it isn’t officially supported, but I figured I would ask for help if there is any to be had.

      Thanks

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

        I have a tutorial on how to do this (understand its not supported).
        https://forums.fogproject.org/topic/8642/installing-a-bit-of-fog-pi-the-hackish-way

        There was only 2 changes that need to be made. I haven’t updated the line numbers for 1.3.2 just yet. But they should be pretty close to the 1.3.0 references.

        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!

        B 1 Reply Last reply Reply Quote 0
        • B
          BedCruncher @george1421
          last edited by

          @george1421
          Thanks for that link. Looking over it seems it should be still applicable with 1.3.2. I will try to get it working this evening or tomorrow. Hopefully it still works, but if not, then I will try to play with it as an intellectual exercise.

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

            @BedCruncher i just did it again on my fog-pi. it worked as outlined

            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

              @george1421 For portability you will need Wayne’s script to update the fog settings based on the IP address of your FOG-Pi server. https://github.com/FOGProject/fog-community-scripts

              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!

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

                @george1421 FYI about that, I’m going to do major work on it once the needed dnsmasq version is mainstream in Ubuntu & Debian & Fedora & CentOS. Should be less than a year.

                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/

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

                  @Wayne-Workman Actually the OP may need/want to compile dnsmasq 2.76 [ https://forums.fogproject.org/topic/8725/compiling-dnsmasq-2-76-if-you-need-uefi-support ] on the FOG-Pi server so that he will have a dnsmasq server (dhcpProxy) server running on his mobile deployment server. That way no one will need to mess with the remote location’s dhcp server setting (options 66 and 67) when the mobile fog server comes to visit.

                  Point being, the OP could probably benefit from the dnsmasq fixup code once the script has been updated.

                  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!

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

                    @george1421 I can probably write some logic to detect if dnsmasq is greater than or equal to 2.76, and base the config it writes on that. That should be easy.

                    I don’t really want to script compiling 2.76 because I know it’ll be a lot of work lol.

                    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/

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

                      @Wayne-Workman No not compiling 2.76 only updating dnsmasq config file with current IP address of FOG server when the script is run. Then of course rebooting the dnsmasq service to take advantage of the updated settings. That is all that needs to be done.

                      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
                      • B
                        BedCruncher
                        last edited by

                        @george1421 @Wayne-Workman
                        Hey everyone, sorry about not getting back till now. been a hectic few days. I will be glad to help test this as I am always glad to help this project. It’s been good to me over the years. Always useful, helpful, and just simply powerful. Will report back my success/failures.

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

                        261

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project