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

Adding computer to FOG

Scheduled Pinned Locked Moved
FOG Problems
3
43
7.7k
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.
  • J
    JimmyJ0516 @george1421
    last edited by Nov 2, 2020, 2:03 PM

    @george1421 ok, I have the file in the directory. but the owner of the file is the Administrator is that going to be a problem.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 2, 2020, 2:29 PM

      @JimmyJ0516 said in Adding computer to FOG:

      ok, I have the file in the directory. but the owner of the file is the Administrator is that going to be a problem.

      Usually not as access right default to readable for everyone on most Linux installs. But it’s still a good idea to run the command chown ... to change ownership. See what user and group name all the other files in that directory belong to and run chown user:group bzImage5817

      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

      J 1 Reply Last reply Nov 2, 2020, 2:44 PM Reply Quote 0
      • J
        JimmyJ0516 @Sebastian Roth
        last edited by JimmyJ0516 Nov 2, 2020, 8:46 AM Nov 2, 2020, 2:44 PM

        @Sebastian-Roth ok sounds good I just did it. Thanks. I scheduled the task and I am currently in the debug state I am not sure what to do next. I am still getting the same error message I was getting before.

        G 1 Reply Last reply Nov 2, 2020, 3:09 PM Reply Quote 0
        • G
          george1421 Moderator @JimmyJ0516
          last edited by Nov 2, 2020, 3:09 PM

          @JimmyJ0516 Well that is disappointing.

          First lets make sure the kernel got loaded correctly. Run the uname -r it should be 5.8.17

          If that is correct then:
          Lets run this command again.
          lspci -nn |grep -i net

          It will return a value that looks like this

          # lspci -nn |grep -i net
          0b:00.0 Ethernet controller [0200]
          

          Remember the address in the far left column.

          Now key in lspci -k | more

          That is going to print a bunch of stuff. Look down the list at the far left column until you find that address. Take a screen shot of that line and the one below it. It should look something like this. (for disclosure I ran this command on my fog server that is running on a VM)

          0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
                  Subsystem: VMware VMXNET3 Ethernet Controller
                  Kernel driver in use: vmxnet3
                  Kernel modules: vmxnet3
          

          This command with the -k will list the kernel drivers used for that network adapter.

          Stay in debug mode because we will need to look at the system log next on the target computer.

          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!

          J 1 Reply Last reply Nov 2, 2020, 3:34 PM Reply Quote 0
          • J
            JimmyJ0516 @george1421
            last edited by Nov 2, 2020, 3:34 PM

            @george1421 Ok I did so. I am still in debug mode as well. here are the screenshots

            G 1 Reply Last reply Nov 2, 2020, 3:50 PM Reply Quote 0
            • G
              george1421 Moderator @JimmyJ0516
              last edited by george1421 Nov 2, 2020, 9:51 AM Nov 2, 2020, 3:50 PM

              @JimmyJ0516 Well on the plus side (not really but is telling) there is no kernel driver loaded for that network adapter. Actually this is better than the kernel driver being loaded and is misbehaving. I see something interesting in the picture could you rerun that last lspci command again lets see if we can get a bit more details.

              lspci -nn -k | more Post a picture of that. I only need the network adapter line.

              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!

              J 1 Reply Last reply Nov 2, 2020, 3:55 PM Reply Quote 0
              • J
                JimmyJ0516 @george1421
                last edited by Nov 2, 2020, 3:55 PM

                @george1421 I ran the command and cropped out every other network adapter but the 3:00.0 which is the one we are working with. Here you go

                G 1 Reply Last reply Nov 2, 2020, 4:14 PM Reply Quote 0
                • G
                  george1421 Moderator @JimmyJ0516
                  last edited by george1421 Nov 2, 2020, 10:17 AM Nov 2, 2020, 4:14 PM

                  @JimmyJ0516 That didn’t give me the output I expected. It should have given the hardware ID in [xxxx:xxxx] notation.

                  Can you take another picture and include the wide shot because it should that 03:00 line plus a few lines below lspci -nn -k

                  My intuition is telling me that we have the correct kernel driver but we may be missing some firmware needed to activate that network adapter. This next part is going to kind of stink but you will need to manually look through the messages file. This contains all of the boot up log messages. What is double bad is that you will need to use vi since there isn’t a nice editor built into the FOS Linux. I’m sure the answer is in that log file.

                  Lets take the easier of the routes and go with the more command to just display a page at a time of the log messages cat /var/log/messages | more

                  If you need to use vi you can key in vi /var/log/messages to give you a scrollable text editor. You may be able to use the cryptic commands like / to search so you can use something like /Real or /8169 to search next just key in / and press enter. To leave vi key in ESC:q that is the escape key the colon and q for quit.

                  Look through that for realtek or 03:00 There will be (I’m guessing) an error message coming from the r8169 driver.

                  If you have a plugin network adapter we can export that log file to a windows computer so you can use better tools to look for the error too.

                  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!

                  J 1 Reply Last reply Nov 2, 2020, 4:23 PM Reply Quote 0
                  • J
                    JimmyJ0516 @george1421
                    last edited by Nov 2, 2020, 4:23 PM

                    @george1421 I am sorry. Looking back I typed nm instead of nn here the correct screenshot output let me know if you still need me to go through the logs messages.

                    G 1 Reply Last reply Nov 2, 2020, 4:28 PM Reply Quote 0
                    • G
                      george1421 Moderator @JimmyJ0516
                      last edited by george1421 Nov 2, 2020, 10:30 AM Nov 2, 2020, 4:28 PM

                      @JimmyJ0516 Interesting the subsystem has a different ID than the device. Subsystem [1462:7e75]. Let me look that one up.

                      Yes please look through that log file. It may have it listed as FIRMWARE_8125A_3 or rtl8125a-3

                      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!

                      J 1 Reply Last reply Nov 2, 2020, 4:34 PM Reply Quote 0
                      • J
                        JimmyJ0516 @george1421
                        last edited by Nov 2, 2020, 4:34 PM

                        @george1421 I looked for 8169 and 8125. This is what I found

                        G 2 Replies Last reply Nov 2, 2020, 4:37 PM Reply Quote 0
                        • G
                          george1421 Moderator @JimmyJ0516
                          last edited by Nov 2, 2020, 4:37 PM

                          @JimmyJ0516 OK good that gives me something to chase down. I have a feeling that network adapter is very new and the linux kernel drivers don’t support it just yet. Let me see what I can find out.

                          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
                          • G
                            george1421 Moderator @JimmyJ0516
                            last edited by Nov 2, 2020, 4:39 PM

                            Just a place holder

                            ref: https://askubuntu.com/questions/1259947/cant-get-rtl8125b-working-on-20-04

                            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!

                            J 1 Reply Last reply Nov 2, 2020, 4:41 PM Reply Quote 0
                            • J
                              JimmyJ0516 @george1421
                              last edited by Nov 2, 2020, 4:41 PM

                              @george1421 so support is out for it correct

                              G 1 Reply Last reply Nov 2, 2020, 5:12 PM Reply Quote 0
                              • G
                                george1421 Moderator @JimmyJ0516
                                last edited by Nov 2, 2020, 5:12 PM

                                @JimmyJ0516 said in Adding computer to FOG:

                                @george1421 so support is out for it correct

                                In kernel 5.6 and later (currently supported by FOG as an add on kernel) it should be in there. I’m currently building a one off kernel of 5.6.18 with the rt8125 firmware included. The FOS Linux has the firmware for the 8169 but not the 8125 (complicated BS, just go with it). So the next step as soon as the compile is done is I will give you a new kernel to test it will be bzImage5618RT You will do the same process as with the bzImage5817 from earlier. I don’t know if it will work or not but we will try. If that doesn’t work I should have my 5.8.x and later build environment done by then and we can try the 5.9.x series of kernels. Without having the hardware in my hands we are going to have to hunt and peck to get this. But once we get it we can get it part of the next release of FOG so we don’t have to mess with it again. I’m sure others will have this network adapter in the future too so we need to get it worked out.

                                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!

                                J 1 Reply Last reply Nov 2, 2020, 5:15 PM Reply Quote 0
                                • J
                                  JimmyJ0516 @george1421
                                  last edited by Nov 2, 2020, 5:15 PM

                                  @george1421 Of course Thanks for the help. If you need any help from me just let me know.

                                  G 1 Reply Last reply Nov 2, 2020, 5:29 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @JimmyJ0516
                                    last edited by george1421 Nov 2, 2020, 11:29 AM Nov 2, 2020, 5:29 PM

                                    @JimmyJ0516 Ok here we go with round 2 5.6.18 with the 8125 firmware: https://drive.google.com/file/d/1zcQvZNkick_Q4DyHKL9_X8dSXHjkN_BD/view?usp=sharing

                                    Download this as bzImage5618RT and place it in /var/www/html/fog/service/ipxe directory Then go into FOG Configuration -> FOG Settings and change the default kernel to this one (same as before). Then pxe boot the target computer into debug mode (task should already be running so just reboot) Then once at the fos linux console prompt key in uname -r to make sure it says 5.6.18 again. Once that is done then ip a s confirm it shows the network adapter.

                                    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!

                                    J 1 Reply Last reply Nov 2, 2020, 5:43 PM Reply Quote 0
                                    • J
                                      JimmyJ0516 @george1421
                                      last edited by Nov 2, 2020, 5:43 PM

                                      @george1421 sounds good I am doing so now. The last time I did this I used WinSCP and threw it onto the home folder and then moved it to the directory you specified. I tried going directly to the directory but I had a permission error. Once I get the file Copied over I changed its permissions to 755 as all the others have that permission. is that ok before I do it again?

                                      G 1 Reply Last reply Nov 2, 2020, 5:58 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @JimmyJ0516
                                        last edited by george1421 Nov 2, 2020, 12:03 PM Nov 2, 2020, 5:58 PM

                                        @JimmyJ0516 Sorry running around a bit.

                                        Yes you can copy to your home directory then use sudo cp bzImage5618RT /var/www/html/fog/service/ipxe that should be good enough, all it needs is world read permissions.

                                        ref: https://bugzilla.redhat.com/show_bug.cgi?id=1854314 Looks like 5.9 will have the fix in it for RTL8125B. Currently building 5.9 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!

                                        J 1 Reply Last reply Nov 2, 2020, 6:16 PM Reply Quote 0
                                        • J
                                          JimmyJ0516 @george1421
                                          last edited by Nov 2, 2020, 6:16 PM

                                          @george1421 I did it again. I see it shows 5.6.18 as version but I only see the loopback address when running IP a s Screenshot

                                          G 1 Reply Last reply Nov 2, 2020, 6:21 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            24/43
                                            Last post

                                          157

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project