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

Standalone fog server on a laptop umbutu 18.04

Scheduled Pinned Locked Moved
Tutorials
5
19
2.6k
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.
  • F
    fredlwal
    last edited by Sep 4, 2018, 7:43 PM

    Has anyone set up a standalone fog server on a separate network, but it will give out DHCP addresses?

    W 1 Reply Last reply Sep 5, 2018, 2:43 AM Reply Quote 0
    • W
      Wayne Workman @fredlwal
      last edited by Sep 5, 2018, 2:43 AM

      @fredlwal This might interest you: https://github.com/FOGProject/fog-community-scripts/tree/master/MakeFogMobile

      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/

      F 3 Replies Last reply Sep 5, 2018, 1:16 PM Reply Quote 0
      • F
        fredlwal @Wayne Workman
        last edited by Sep 5, 2018, 1:16 PM

        @Wayne-Workman So , just copy this on a jump drive and run the install?

        1 Reply Last reply Reply Quote 0
        • F
          fredlwal @Wayne Workman
          last edited by Sep 5, 2018, 1:40 PM

          @Wayne-Workman When I copied it to a jump drive, the install file didn’t run, it says command not found, I’m doing this from a windows computer and then copy & pasting onto unbutu desktop 18.04.

          W 1 Reply Last reply Sep 5, 2018, 5:30 PM Reply Quote 0
          • W
            Wayne Workman @fredlwal
            last edited by Wayne Workman Sep 5, 2018, 11:30 AM Sep 5, 2018, 5:30 PM

            @fredlwal The package assumes an internet connection is available during installation because dnsmasq and other things are required for this to work. If they are not installed, it attempts to install them.

            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/

            F 1 Reply Last reply Sep 5, 2018, 7:31 PM Reply Quote 0
            • F
              fredlwal @Wayne Workman
              last edited by Sep 5, 2018, 7:31 PM

              @Wayne-Workman so once i’m connected to the internet I can then keep it on a separate network.

              1 Reply Last reply Reply Quote 0
              • F
                fredlwal @Wayne Workman
                last edited by Sep 5, 2018, 7:39 PM

                @Wayne-Workman
                https://photos.app.goo.gl/psnhnEwpZHbbVGtM9

                Here is a screenshot of the issue.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 5, 2018, 10:25 PM

                  @fredlwal Copying the script over is not enough. You need to make the file executable to be able to run it. Just guessing that this is missing here.

                  sudo -i
                  cd /home/tech
                  chmod +x install.sh MainScript.sh
                  ./install.sh
                  

                  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

                  F 1 Reply Last reply Sep 6, 2018, 12:40 PM Reply Quote 1
                  • F
                    fredlwal @Sebastian Roth
                    last edited by Sep 6, 2018, 12:40 PM

                    @Sebastian-Roth @Wayne-Workman So do I install the latest fog install and then after that run the install.sh file? I’m getting a Syntax error: newline unexpected.

                    Thanks

                    Q 1 Reply Last reply Sep 6, 2018, 1:22 PM Reply Quote 0
                    • Q
                      Quazz Moderator @fredlwal
                      last edited by Sep 6, 2018, 1:22 PM

                      @fredlwal I’m guessing the problem is that install.sh has no shebang line, so the system messes up.

                      Just a guess, though.

                      sudo bash install.sh
                      

                      might work?

                      T W 2 Replies Last reply Sep 6, 2018, 1:53 PM Reply Quote 0
                      • T
                        Tom Elliott @Quazz
                        last edited by Sep 6, 2018, 1:53 PM

                        @Quazz et al.

                        Where is this install.sh file coming from? We have installfog.sh which has the #! code already.

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        Q 1 Reply Last reply Sep 6, 2018, 2:01 PM Reply Quote 0
                        • Q
                          Quazz Moderator @Tom Elliott
                          last edited by Sep 6, 2018, 2:01 PM

                          @Tom-Elliott https://github.com/FOGProject/fog-community-scripts/tree/master/MakeFogMobile

                          1 Reply Last reply Reply Quote 1
                          • W
                            Wayne Workman @Quazz
                            last edited by Sep 6, 2018, 2:04 PM

                            @Quazz I think when there is not a shebang, the linux terminal interprets it as a bash script. I looked back in the commit history, there has never been a shebang in that script… it’s worked several times. At any rate, I’m going to add 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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            Q T 2 Replies Last reply Sep 6, 2018, 2:06 PM Reply Quote 1
                            • Q
                              Quazz Moderator @Wayne Workman
                              last edited by Quazz Sep 6, 2018, 8:07 AM Sep 6, 2018, 2:06 PM

                              @Wayne-Workman Theoretically it will use the current shell to try and execute it, yes.

                              But unexpected newline is typical of a wrong interpretator in my experience.

                              1 Reply Last reply Reply Quote 1
                              • F
                                fredlwal
                                last edited by Sep 6, 2018, 5:20 PM

                                @Quazz @Wayne-Workman @Sebastian-Roth

                                So I downloaded the updated install.sh and here is what I get.

                                https://photos.app.goo.gl/ZsxvwtsY2AU9AyY67

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sep 6, 2018, 5:23 PM

                                  @fredlwal How did you download that script file? See the error means you downloaded a HTML file. Maybe this link will help you: https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/install.sh and https://github.com/FOGProject/fog-community-scripts/raw/master/MakeFogMobile/MainScript.sh

                                  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

                                  F 1 Reply Last reply Sep 6, 2018, 5:40 PM Reply Quote 1
                                  • T
                                    Tom Elliott @Wayne Workman
                                    last edited by Sep 6, 2018, 5:27 PM

                                    @Wayne-Workman while most distros tend to default the shell to /bin/bash, Ubuntu and Debian default to /bin/ash which is not the same as bash.

                                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    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 1
                                    • F
                                      fredlwal @Sebastian Roth
                                      last edited by Sep 6, 2018, 5:40 PM

                                      @Sebastian-Roth I just right clicked and did a save as link all files with the .sh ext.

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by Sep 6, 2018, 6:47 PM

                                        I put in a shebang. It should work now, please re-download the install 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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

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

                                        169

                                        Online

                                        12.1k

                                        Users

                                        17.3k

                                        Topics

                                        155.3k

                                        Posts
                                        Copyright © 2012-2024 FOG Project