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

Can't find network interface - kernel

Scheduled Pinned Locked Moved Solved
FOG Problems
4
5
1.4k
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.
  • I
    Interrupt
    last edited by Nov 8, 2019, 2:07 PM

    Hello

    We are trying to pxe boot a Lenovo Thinkpad L390 yoga with the Lenovo Thinkpad USB-C Dock Gen 2 .
    PXE Boot works fine and i am able to select ‘Deploy Image’ from the fog menu.
    After that i’m getting an error =>

    Starting enp0s31f6 interface and waiting for the link to come up
    No link detected on enp0s31f16 for 35 sec
    faild to get an ip via DHCP tried on interfaces enp0s31f16

    I can’t seem to find any debug data or change the network interface of the kernel …

    I am running FOG 1.5.7.49 with kernel 4.19.64 .

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 8, 2019, 3:20 PM

      @Interrupt Can you please take a picture of the error on screen and post here? Quite often there a important hints on screen that we’d need to see.

      Other than that - do you see the link LED on the dock or on the switch coming up at some point or is it dead all the way through after the initial PXE booting?

      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 0
      • D
        Daniel Miller
        last edited by Nov 8, 2019, 3:59 PM

        sounds suspiciously like the same hardware at issue in https://forums.fogproject.org/topic/13905/issue-with-netcard-of-dock-gen2-of-lenovo-l390

        1 Reply Last reply Reply Quote 0
        • J
          JJ Fullmer Testers
          last edited by Nov 12, 2019, 2:40 PM

          @Daniel-Miller I’m pretty sure also that this is the same issue, which is the same issue I’m having with the usb-c to ethernet adapter for the same model. My experience was slightly different than here and in the other post cause my l390 got into the image process but then it hangs at a different spot. I’m able to image with a different method utilizing a different adapter. I think that this lenovo usb-c ethernet is missing a kernel driver in FOS. It’s based on realtek, the other post has the windows hardware id of the device.

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          1 Reply Last reply Reply Quote 0
          • J
            JJ Fullmer Testers
            last edited by Nov 13, 2019, 3:05 PM

            @george1421 said in issue with netcard of dock gen2 of lenovo l390:

            @JJ-Fullmer The r8152.c from the torvalds github site failed to compile on 4.19.65, I’m suspecting its for a later release of linux. The version from the torvalds site was 1.10.10. The version in 4.19.65 was 1.9.9 of the realtek driver.

            I was able to compile the realtek driver from the wget github site. This version is 2.12. Here is a link to that kernel with the 2.12 driver built in. I also enabled the usb-c code in the kernel that appears to have not been set. I don’t know if its relevant, but it should be on for other applications. https://drive.google.com/open?id=1wZwwOwbEr0nR3mnPLKg7AsulwJaGhO0A

            Download this as bzImageRT (watch your case) and copy it to the ipxe directory with the other kernel images. Manually register the host and then in the host definition add in bzImageRT as the kernel for that host. Then pxe boot into FOS Linux debug mode to see if the network adapter inits correctly with this updated driver.

            @Interrupt Give this solution a try, download the kernel @george1421 made and set it on that host. It worked for me with the lenovo usb-c ethernet adapter, it stands to reason it will work for the dock too.

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

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

            273

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project