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

No network interfaces found when deploying Image

Scheduled Pinned Locked Moved
Windows Problems
2
15
3.1k
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
    sysadmin
    last edited by Jul 21, 2020, 9:25 PM

    Hello everyone,

    I am having an issue that when I want to deploy an image to a Lenovo X1 Carbon 7th Gen (20R1) an error comes up telling me No network interfaces found, your kernel is most probably missing the correct driver!

    However, I just imaged a Lenovo P43s (20RH) and another Lenovo X1 Carbon 7th Gen (20QD) and both were imaged just fine. Same cable, same Lenovo adapter, same port, same switch and same VLAN. Same steps for prepping bios before the image as well, which are disabling Kernel DMA Protection, Disabling Secure Boot, Startup I choos Both and Legacy First and on the Boot order I put PXE first. I am running FOG 1.5.5.

    I did try another X1 (20R1) and I get the same error. I updated the bios and the network drivers and ran all the Lenovo Vantage updates after getting the error the first time. I also removed Bitlocker encryption, turned off fast boot and nothing has fixed the issue. So I imagine the problem it’s with this specific model of X1s (20R1).

    Has anyone encountered this? Any suggestions?

    Thank you in advance.

    G 1 Reply Last reply Jul 21, 2020, 10:25 PM Reply Quote 0
    • G
      george1421 Moderator @sysadmin
      last edited by Jul 21, 2020, 10:25 PM

      @sysadmin Ok here is specifically what I want you to do.

      On the FOG server web ui go to FOG Configuration-> Kernel update. First note your current version of the FOS Linux kernel, then update to the version 5.x release of the kernel. Once you have updated to version 5.6.x go ahead and pxe boot the target computer and see if it picks up an IP address then.

      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!

      S 1 Reply Last reply Jul 21, 2020, 10:43 PM Reply Quote 0
      • S
        sysadmin @george1421
        last edited by Jul 21, 2020, 10:43 PM

        Hi @george1421, I guess I was doing this while you were typing your response. I updated the Kernel using the manual method with the script from this part of the wiki https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update. I updated sucessfully.

        RAMDISK: incomplete write (-28 !=4096) - After the update I got this error, but I modified the KERNEL RAMDISK SIZE to 275000 and now I am back at No network interfaces found… but this time there’s less error messages on my screen now.

        Starting syslogd: OK
        Starting klogd: OK
        Running sysctl: OK
        Populating /dev using udev: done
        Saving random seed: OK
        Starting haveged: haveged: listeningsocket at 3 OK
        No network interfaces found, your kernel is most probably missing the correct driver!
        Please check your network setup and try again!

        After I press Enter

        Init Version: 20200517

        G 1 Reply Last reply Jul 21, 2020, 11:02 PM Reply Quote 0
        • G
          george1421 Moderator @sysadmin
          last edited by george1421 Jul 21, 2020, 5:03 PM Jul 21, 2020, 11:02 PM

          @sysadmin OK then step 2.

          If you have a running windows computer on this hardware, go into the device manager and get the hardware ID of this NIC. It will be in the form of VEND and DEV.

          AND

          Reschedule a capture/deploy to this computer (doesn’t matter which) but before you hit the submit task button, tick the debug checkbox then submit the task. Note: If you did not get to registering this computer go ahead and manually register it with the mac address of the nic interface on this computer

          PXE boot the target computer, after a few screens of text that you will need to clear by pressing the enter key you will be dropped to the FOS Linux command prompt. At that command prompt key in and post the results of the following.

          ip addr show

          lspci -nn | grep -i net

          So this network adapter works on other models just not this specific model [Lenovo X1 Carbon 7th Gen (20R1) ]? I’m assuming its either USB or USB-C attached?

          Keep the debug console up because there may be other commands you will need to type in.

          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!

          S 2 Replies Last reply Jul 21, 2020, 11:06 PM Reply Quote 0
          • S
            sysadmin @george1421
            last edited by Jul 21, 2020, 11:06 PM

            @george1421 I will try this in a moment. Before I do, here’s the adapter. Thank you.

            https://www.amazon.com/Lenovo-ThinkPad-Ethernet-Extension-Adapter/dp/B079R19KVN/ref=sr_1_2?dchild=1&keywords=x1+carbon+pxe+adapter&qid=1595372714&sr=8-2

            G 1 Reply Last reply Jul 21, 2020, 11:27 PM Reply Quote 0
            • G
              george1421 Moderator @sysadmin
              last edited by Jul 21, 2020, 11:27 PM

              @sysadmin Boy that amazon picture is so bad I can’t tell (visually) what that connector is. From searching the text it appears to be a lenovo unique cable that just extends the build in network adapter wires to an external rj45 jack.

              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!

              S 1 Reply Last reply Jul 21, 2020, 11:29 PM Reply Quote 0
              • S
                sysadmin @george1421
                last edited by Jul 21, 2020, 11:29 PM

                @george1421 I think this one might be better. 🙂

                https://www.lenovo.com/us/en/accessories-and-monitors/cables-and-adapters/adapters/CABLE-BO-Ethernet-Extension-Adapter-2/p/4X90Q84427

                1 Reply Last reply Reply Quote 0
                • S
                  sysadmin @george1421
                  last edited by Jul 21, 2020, 11:57 PM

                  @george1421

                  So I get this. Hope it helps.

                  ip addr show
                  1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                  inet 127.0.0.1 /8 scope host lo
                  valid_lft forever preferred_lft forever

                  After
                  lspci -nn | grep -i net
                  00:14.3 Network controller [0280]: Interl Corporation Device [8086:02f0]
                  00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (10) I219-v [8086:0d4f]

                  For the hardware ID there were 4 values in there under device manager.
                  PCI\VEN_8086&DEV_0D4F&SUBSYS_229217AA&REV_00
                  PCI\VEN_8086&DEV_0D4F&SUBSYS_229217AA
                  PCI\VEN_8086&DEV_0D4F&CC_020000
                  PCI\VEN_8086&DEV_0D4F&CC_0200

                  G 1 Reply Last reply Jul 22, 2020, 12:28 AM Reply Quote 0
                  • G
                    george1421 Moderator @sysadmin
                    last edited by george1421 Jul 21, 2020, 6:28 PM Jul 22, 2020, 12:28 AM

                    @sysadmin said in No network interfaces found when deploying Image:

                    8086:0d4f

                    Interesting that device comes back to
                    vendor: 8086 (“Intel Corporation”), device: 0d4f (“Ethernet Connection (10) I219-V”)

                    First introduced into the linux kernel 5.5. You should have downloaded and installed 5.6.7 of the FOS Linux kernel, that should have worked.

                    From the FOS Linux console, key in uname -a It should print out a version number. Is that version number 5.5 or later?

                    I can see from the ip a command that the driver for that network adapter isn’t loaded. Lets confirm the version of the kernel that is running. If you still have the 4.19.x series then I understand why its not working.

                    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!

                    S 1 Reply Last reply Jul 22, 2020, 12:45 AM Reply Quote 0
                    • S
                      sysadmin @george1421
                      last edited by Jul 22, 2020, 12:45 AM

                      @george1421 It seems I have 4.19.123 x86_64. However when I ran the script I thought I updated.

                      If I try to update through the FOG GUI I get this error. Not sure what credentials I should be using under TFTP Server.

                      Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 464, Message: ftp_login(): Login incorrect., Host: 10.10.20.20, Username: fog

                      G 1 Reply Last reply Jul 22, 2020, 12:48 AM Reply Quote 0
                      • G
                        george1421 Moderator @sysadmin
                        last edited by Jul 22, 2020, 12:48 AM

                        @sysadmin Ok this is going to be a problem once we get past the kernel issue, but that explains why the network adpater isn’t working, simply because linux 4.19.x doesn’t have a valid driver installed.

                        To address the FTP password problem, follow this tutorial: https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

                        Something seems to have gotten out of place.

                        If this doesn’t work we can always download the kernel manually, but as I said you will run into an issue on the next image capture you do.

                        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!

                        S 3 Replies Last reply Jul 22, 2020, 1:19 AM Reply Quote 0
                        • S
                          sysadmin @george1421
                          last edited by Jul 22, 2020, 1:19 AM

                          @george1421 Thank you for your help. I’ll continue with this tomorrow. I have to run some errands and eat something, I’ve been at it for a couple of hours. 🙂 Thanks again.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sysadmin @george1421
                            last edited by Jul 22, 2020, 3:52 PM

                            @george1421 morning. Yesterday I started on this. When I got to step 8 it seems I installed Fog here /opt/fog_stable/bin/installfog.sh.

                            I get the following error. I don’t recall ever getting this message.

                            root@fog2:~# /opt/fog_stable/bin/installfog.sh
                            
                             * Are you sure you wish to continue (Y/N) Y
                            
                             * Installation Started
                            
                             * Installing required packages, if this fails
                             | make sure you have an active internet connection.
                            
                            /opt/fog_stable/bin/installfog.sh: line 517: installPackages: command not found
                            
                             * Confirming package installation
                            
                            /opt/fog_stable/bin/installfog.sh: line 521: confirmPackageInstallation: command not found
                            
                             * Configuring services
                            
                            1 Reply Last reply Reply Quote 0
                            • S
                              sysadmin @george1421
                              last edited by Jul 23, 2020, 7:37 PM

                              @george1421 I assume that the only way to repair this is to reinstall Fog. I am not sure where to start to do this manually. Any pointers?

                              G 1 Reply Last reply Jul 23, 2020, 7:49 PM Reply Quote 0
                              • G
                                george1421 Moderator @sysadmin
                                last edited by Jul 23, 2020, 7:49 PM

                                @sysadmin How did you create this directory /opt/fog_stable Did you clone it from the git repository? Your error is not a very common one or one I’ve personally seen before.

                                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
                                • 1 / 1
                                1 / 1
                                • First post
                                  7/15
                                  Last post

                                159

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project