• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. chaonatic
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 22
    • Best 0
    • Controversial 0
    • Groups 1

    chaonatic

    @chaonatic

    FOG Hangouts

    0
    Reputation
    417
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    chaonatic Unfollow Follow
    FOG Hangouts

    Latest posts made by chaonatic

    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @george1421 said in Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues:

      What I’m going to recommend is that you go into FOG Configuration -> FOG Settings, then hit the expand all button. Search that page for bzImage update that field to match the new kernel name.

      Ahhh, perfect! Thanks (and duh!) that’s a far better option way to do it.

      This one is a bit more complicated to answer. I know there are a set if iPXE bootloaders that contain a 10 second timeout for the network to settle before it tries to init the network. If you loog on the fog server in /tftpboot. There should be a directory something about 10secdelay or like that. In there, there is similar files to the main directory. So to use them in your dhcp server, in the configuraiton for uefi booting change the field from ipxe.efi to 10secdelay/ipxe.efi or what ever the parent directory is called for those delay ipxe boot loaders.

      Okay, I changed the boot file name and it did do the 10 second delay, but it’s still not PXE booting off of a USB-C NIC or the dock. Any other ideas I could try?

      Thanks @george1421!

      posted in FOG Problems
      C
      chaonatic
    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @george1421, @Sebastian-Roth, do either of you have an idea on how I can implement the first bullet point (I assume I just rename the kernel, but want to make sure,) and how I can test/fix the second bullet point? tia

      posted in FOG Problems
      C
      chaonatic
    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @sebastian-roth said in Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues:

      @chaonatic The error seen in the picture points to a spelling issue in the filename I am pretty sure. Linux is case sensitive! Make sure it’s named exactly as seen in the picture.

      So sorry for the late reply, it’s been a… month. So the reason this was “spelled wrong” wasn’t that it was actually spelled wrong, it was that I had transferred the kernel over prior to compiling the iPXE client. I used the “poor man’s” method for getting the package in the right location by reinstalling FOG after compile, thereby overwriting the directory housing the kernels… d’oh! Thanks for bringing this to my attention, @Sebastian-Roth, after putting the modified kernel back it worked a charm!

      So this is all good. The modified kernel is working on the gen 6, 7 & 8 Lenovo x1 Carbon with the Lenovo ThinkPad Ethernet Adapter. However… when I attempt to PXE boot off of the ThinkPad USB-C Dock or a USB-C NIC with MAC passthrough enabled, iPXE bombs out with the following:

      09ba1abf-e42e-4e1f-ac80-6b93544a724d-image.png
      Error: https://ipxe.org/err/380861

      If I disable MAC passthrough it boots just fine. I can only surmise, based on logic and my oh-so-limited knowledge of coding, that this is actually a timeout issue rather than a driver issue (since I had updated to the latest iPXE code as of two weeks ago).

      So, how do I:

      • Make modified kernel the FOG default?
        And
      • Test the iPXE timeout or fix this issue when we attempt to image laptops on the dock…?

      Thanks again, y’all are my heroes!

      posted in FOG Problems
      C
      chaonatic
    • Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      So I thought the kernal that @Sebastian-Roth had created for @michaeloberg (here) had remedied our inability to use USB NICs and enable MAC passthrough on these x1 Carbon laptops. While it’s closer than it had been, it’s not quite working as we’re now getting a “Chainloading” error:

      8eafa933-c462-4f68-aa27-23236ee79958-image.png

      As you can see, I’ve updated/recompiled my iPXE build to the latest available. I’m kinda at a loss as to what’s wrong here, so if anyone has an idea of where to go from here or something to try, please let me know. I would be happy to recreate the steps I’ve taken to get to this spot, so lemme know if that’s necessary, too.

      Thanks!

      posted in FOG Problems
      C
      chaonatic
    • RE: HP Probook 430 G8 System MAC not passing through USB Type-C Dongle

      @sebastian-roth said in HP Probook 430 G8 System MAC not passing through USB Type-C Dongle:

      @michaeloberg Ok, I just build a new kernel without the cdc_ether driver included (latest 5.10.83): https://fogproject.org/kernels/bzImage-no-cdc_ether

      Give that a try and let us know.

      I’m sorry, I don’t mean to threadjack, but I have been strugglebussing for years (literally) trying to get these Lenovo ThinkPad x1 Carbon Gens 7, 8 and 9 to image with a dongle but have had no luck. Using this kernal has solved the USB adapter problems. How do I go about making it the main kernal so I don’t have to pre-create a machine and specify the kernal?

      Please feel free to break this off into another thread (I just wanted it to have some context,) as there are a few other things that I have questions about.

      Thank you so much for the amazing things y’all do!

      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth Well we’re definitely closer. The installer doesn’t fail when installing the databases but when you get to updating the database I’m still getting the Database connection unavailable error. Is this something to do with the blank vs not blank password (I mean, I’ve not yet set a DB pass)?

      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      What happens if you run sudo apt-get install mariadb-client-10.1??

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libevent-core-2.1-6 mysql-server-core-5.7
      Use 'apt autoremove' to remove them.
      The following additional packages will be installed:
        libconfig-inifiles-perl libjemalloc1 mariadb-client-core-10.1 mariadb-common
      The following packages will be REMOVED:
        mysql-client mysql-client-5.7 mysql-client-core-5.7 mysql-server mysql-server-5.7
      The following NEW packages will be installed:
        libconfig-inifiles-perl libjemalloc1 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common
      0 upgraded, 5 newly installed, 5 to remove and 120 not upgraded.
      Need to get 10.5 MB of archives.
      After this operation, 44.0 MB disk space will be freed.
      Do you want to continue? [Y/n] y
      Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libconfig-inifiles-perl all 2.94-1 [40.4 kB]
      Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-common all 1:10.1.40-0ubuntu0.18.04.1 [16.2 kB]
      Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-client-core-10.1 amd64 1:10.1.40-0ubuntu0.18.04.1 [4,745 kB]
      Get:4 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libjemalloc1 amd64 3.6.0-11 [82.4 kB]
      Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-client-10.1 amd64 1:10.1.40-0ubuntu0.18.04.1 [5,646 kB]
      Fetched 10.5 MB in 3s (4,077 kB/s)
      (Reading database ... 114360 files and directories currently installed.)
      Removing mysql-client (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-server (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-server-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-client-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-client-core-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Selecting previously unselected package libconfig-inifiles-perl.
      (Reading database ... 114235 files and directories currently installed.)
      Preparing to unpack .../libconfig-inifiles-perl_2.94-1_all.deb ...
      Unpacking libconfig-inifiles-perl (2.94-1) ...
      Selecting previously unselected package mariadb-common.
      Preparing to unpack .../mariadb-common_1%3a10.1.40-0ubuntu0.18.04.1_all.deb ...
      Unpacking mariadb-common (1:10.1.40-0ubuntu0.18.04.1) ...
      Selecting previously unselected package mariadb-client-core-10.1.
      Preparing to unpack .../mariadb-client-core-10.1_1%3a10.1.40-0ubuntu0.18.04.1_amd64.deb ...
      Unpacking mariadb-client-core-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Selecting previously unselected package libjemalloc1.
      Preparing to unpack .../libjemalloc1_3.6.0-11_amd64.deb ...
      Unpacking libjemalloc1 (3.6.0-11) ...
      Selecting previously unselected package mariadb-client-10.1.
      Preparing to unpack .../mariadb-client-10.1_1%3a10.1.40-0ubuntu0.18.04.1_amd64.deb ...
      Unpacking mariadb-client-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Setting up mariadb-common (1:10.1.40-0ubuntu0.18.04.1) ...
      Setting up libconfig-inifiles-perl (2.94-1) ...
      Setting up libjemalloc1 (3.6.0-11) ...
      Setting up mariadb-client-core-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Processing triggers for libc-bin (2.27-3ubuntu1) ...
      Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
      Setting up mariadb-client-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      As well try sudo apt-get -f install - post output here.

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libevent-core-2.1-6 mysql-server-core-5.7
      Use 'apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
      
      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      @chaonatic Manually edit /opt/fog/.fogproject and change the line starting with packages=.... Make the parts with “mariadb…” to read like this: MariaDB-client MariaDB-server (yeah, upper case M …)

      I don’t see the .fogproject file, only .fogsettings. I did attempt to change the two database entries in the settings file from mysql-client and mysql-server (note that they were generically named) to MariaDB-client and MariaDB-server but I got the same installation results. To be clear, I need to modify these entries prior to installing the update, right?

      @george1421 said in FOG 1.5.7 Update Database Issue:

      From the fog server linux command prompt what do you get when you key in sudo apt-get install mariadb-client?

      I get the following:

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       mariadb-client : Depends: mariadb-client-10.1 (>= 1:10.1.40-0ubuntu0.18.04.1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      

      If I try sudo apt-get install MariaDB-client I get:

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package MariaDB-client
      
      posted in FOG Problems
      C
      chaonatic
    • FOG 1.5.7 Update Database Issue

      On Ubuntu 18.04.2, when upgrading FOG from 1.5.6 to 1.5.7, I get the following error:

       * Installing package: mariadb-client..........................Failed! (Will try later)
      

      Then the install hangs for quite some time here:

       * Setting up and starting MySQL........................
      

      When the installer asks to hit the web interface to setup the database schema we are just left with the “Database connection unavailable” dialogue.

      I’m not sure what’s amiss here so any direction would be totally welcome. Thanks!

      posted in FOG Problems
      C
      chaonatic
    • RE: Snapin Update Fail

      Thanks for the prompt response Sebastian, you guys rock!

      I was able to resolve this by installing FOG 1.5.5 again after I fixed the TFTPD-HPA issue. You woulda thought I’d tried that already, but you’d be wrong, ugh. Anyway, please mark this as solved and thanks again, Sebastian.

      posted in FOG Problems
      C
      chaonatic