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

    Suggestion please

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    4
    66
    14.9k
    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.
    • Q
      Quazz Moderator @ziolucione
      last edited by Quazz

      @ziolucione If there is no task planned for that MAC, it should boot to the FOG menu, no? You’d choose the image to deploy on the tablets themselves if that makes sense.

      But if you prefer to handle it from WebUI then the wifi route is the way to go.

      Z 1 Reply Last reply Reply Quote 0
      • Z
        ziolucione @Quazz
        last edited by

        @Quazz Hi Quazz,
        where is this FOG menu entry in the FOS USB linux sub-system?
        If I select the first option it is going to capture or deploy, depending on what I have selected form the FOG server UI on that terminal (registered).

        There is no item listed where I can select the image ID.

        Thank you.
        L.

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

          @ziolucione OK here we go with this session…

          It appears that the wifi solution is not totally complete. We got it functional but not nice. The OP I was working with at the time had linux skills so I worked on the hard bits and he got it working.

          So lets do the hard bits first.
          Here is a wifi kernel. I have about a 70% confidence in this kernel build. It seems like each wifi adapter needs its own firmware. Once we identify the firmware I can build it into the kernel. I’ve included the firmware I “think” it needs based on the device number.

          We will use the FOS Linux boot drive you created previously for this. Here is the kernel https://drive.google.com/open?id=1aQcwnDOSeX14Lz4vDU4eXBGQlzs8UZ18 download that as bzImage and copy that to the usb flash drive replacing bzImage on that drive. Be mindful of the case because it IS important.

          As for the virtual hard drive lets start with this one. https://drive.google.com/open?id=13NYcilNuw0bBRpV7OL7nBZZLcrcThUDq download this and save it at init.xz onto the fog server (not in the ipxe path, but some other location. You will need to work on it.)

          We are going to use this process: https://wiki.fogproject.org/wiki/index.php/Modifying_the_Init_Image

          xz -d init.xz
          mkdir initdir
          mount -o loop init initdir
          

          Now from here you need to change to ./initdir/etc directory and edit the wpa_supplicant file. In that file edit ssid=“ssid_name” change the ssid_name to match your wifi ssid. Edit #psk=“password” remove the preceding # and replace password with your wifi password. Save and exit the file.

          Now repack the inits. Change back to the base directory where you unpacked the inits.

          umount initdir
          rmdir initdir
          xz -C crc32 -9 init
          

          That should recreate init.xz file. Move that file to the usb flash drive replacing the existing init.xz on the flash drive.

          Now usb boot FOS linux. At the Grub boot menu select option 6 to Debug. After a few screens of text where you need to clear with an enter key, you will be dropped to a linux command prompt. At this prompt key in ip addr show to see if you picked up an IP address from your network. If you get to this point good or bad, post your results.

          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!

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

            @ziolucione said in Suggestion please:

            There is no item listed where I can select the image ID.

            This menu item is not present with booting FOS Linux from a flash drive. This is a function of the iPXE menu that we don’t have. Don’t worry, I have a trick for this too, but lets get wifi working first.

            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
            • Z
              ziolucione @george1421
              last edited by

              @george1421 Hi, tried option 6 and I have gotUnable to mount root fs on unknow block
              Kernel offset: disabled
              Not syncing: VFS: unable to mount root fs on unknow block.

              No CLI after this, it’s just frozen at this point.
              Any thoughts?

              Regards.
              L.

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

                @ziolucione Please wait for a bit. I’m working out the solution. It appears that I did not save the previous work I did on this so I have to start over again with the virtual hard drive. No worries I should have it done in the next few hours.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @ziolucione Which version of FOG do you have installed?

                  @george1421 Just wondering if this is a RAMDISk size issue as well?

                  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

                  Z george1421G 2 Replies Last reply Reply Quote 0
                  • Z
                    ziolucione @Sebastian Roth
                    last edited by

                    @Sebastian-Roth Hi Sebastian,
                    I have pulled the master branch from Git.

                    Thank you @george1421

                    Thanks guys.
                    Lucio

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

                      @Sebastian-Roth said in Suggestion please:

                      Just wondering if this is a RAMDISk size issue as well?

                      Possible depending on the config file settings. Once I have it perfected I’ll create a FOS boot image of it so the settings are right.

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

                        @ziolucione Well lets start with this image: https://drive.google.com/open?id=1trOHt0B3X1SUYTVczYxs1TI3qQWC06Sy

                        This is a usb boot image that has been adjusted for wifi. Download the image and then “burn” to a usb flash drive using RUFUS like the previous one you did. Edit the /boot/grub/grub.cnf file as before setting your fog server’s ip address as well as ssid (wireless name) and ssidpw (wifi password) values. Save the grub config file then usb boot into the grub menu. Select option 6 (debug) and then boot to the fos linux comand prompt. If you see it mentioning the wireless lan adapter name (in my test case it was wlp2s0) during the startup process then we have some luck.

                        When you get to the command prompt key in ip addr show. Hopefully you will have an ip address for your wireless adapter. If not, then we need to debug a bit more.

                        For debugging we need to review the file /var/log/messages, near the middle of the file should be the code where it loads the wifi driver (in the case of the intel adapters the drivers should start with il). If you look just past that section you may see something about firmware for the wireless adapter and it needed a specific version of firmware, I need to know that specific version of firmware. I should have it loaded in the kernel already but your network adapter is an intel 3165 and I only found the firmware for the 3160 model so I loaded that hoping the base model is 3160. The messages file will tell us what the network adapter needs.

                        I’ve tested this image on a Dell 7240 and a e6230 and it works correctly on my home wifi that uses wpa2 for security. The boot image is not complete, but if this part doesn’t work then the rest is of no value.

                        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!

                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          ziolucione @george1421
                          last edited by

                          @george1421 Hi guys,
                          I have tried this new image and I have no more errors, I have reached the CLI, but no network device is found. 😞

                          Regards.
                          L.

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

                            @ziolucione As I mentioned in the debugging steps, you need to review the /var/log/messages file. You should see where it loads the network drivers after it loads the intel network drivers there probably will be a mention of needing specific firmware. When I get to work, I’ll boot the image on a different dell computer that’s missing the firmware to show you exactly what I’m looking for, but we are pretty close to a solution now.

                            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!

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

                              @ziolucione While you are on the CLI please run the following commands, take pictures (!) and post her:

                              lspci -nn
                              dmesg | grep -i -e eth -e wifi -e 80211
                              

                              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

                              Z 1 Reply Last reply Reply Quote 0
                              • Z
                                ziolucione @george1421
                                last edited by

                                @george1421 Hi, I was looking into it.

                                IMG_20191203_101519.jpg image url)

                                IMG_20191203_101623.jpg

                                Thanks guys.
                                L.

                                george1421G 2 Replies Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @ziolucione
                                  last edited by

                                  @ziolucione In the section picture, The lines we need to investigate in the log file have minimum version required iwlwifif-7 (can’t see the rest). This should be the area in the log file that describes what went wrong.

                                  Also post what sebastian posted with a twist.

                                  lspci -nn |grep -i net
                                  and
                                  lsusb

                                  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!

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    ziolucione @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth 1ok.jpg
                                    2ok.jpg

                                    guys sorry for the quality 😄

                                    george1421G 2 Replies Last reply Reply Quote 0
                                    • Z
                                      ziolucione @george1421
                                      last edited by

                                      @george1421 3ok.jpg

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

                                        @ziolucione In case you don’t know how to use vi (very basic and cryptic text editor to look at messages file)

                                        vi /var/log/messages

                                        the key sequence is very cryptic but key in the following

                                        / no suitable firmware found and press enter. It should jump you down to the line where the firmware isn’t found. If it doesn’t get the line with iwlwifi in it (the name of the intel driver) hit / and press enter again it will jump to the next occurrence. Take a screen shot of where its says the proper firmware needed. Then to exit the vi editor hit ESC key then :q!

                                        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 @ziolucione
                                          last edited by

                                          @ziolucione OK great that is what I needed iwlwifi-7265D

                                          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 @ziolucione
                                            last edited by

                                            @ziolucione https://drive.google.com/open?id=1OnLxsKRboYoxv3LMcupyZAMDgvkTp-qa

                                            Download this to the usb stick replacing bzImageWiFi on the flash drive.

                                            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!

                                            Z 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post

                                            206

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project