查看: 558|回复: 1

[GUIDE-SERVERING] Beelink GTI14 + Ex Pro Docking Station

[复制链接]

1

Threads

1

Posts

21

Credits

Newbie

Rank: 1

Credits
21
发表于 4 day(s) ago | 显示全部楼层 |阅读模式
Edited by fgohan at 2025-04-28 02:13

Hello !



I am a software engineer and I made the acquisition of a mini pc Beelink GTI14 with the Ex Pro Docking Station.
My goals wasn't to be able to use the mini pc only with Windows OS. It has great specs for making a decent homelab.


This guide will help you to fix some issues that I encountered.


Proxmox Virtual Environment version 8.x topics :


1. Loosing network connection after adding or removing the Ex Pro Docking Station. [COMPLETE]
2. GPU Passthrough settings. [INCOMPLETE]


Vmware ESXI version 8.x topics :


1. Loosing network connection after adding or removing the Ex Pro Docking Station. [INCOMPLETE]
2. GPU Passthrough settings. [COMPLETE]
3. PURPLE SCREEN during installation due to CPU "HW feature incompatibility detected; cannot start". [COMPLETE]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


This post will be regularly updated by myself as I am guessing I will encountered new issues or ways to manage this bundle as homelab.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




PROXMOX VIRTUAL ENVIRONMENT VERSION 8.X :



1. Loosing network connection after adding or removing the Ex Pro Docking Station :

Did you wonder why after turning on/off your mini pc with or without the GPU you are loosing sometimes the internet connection to your proxmox server ?
It is a common issue related to the pcie lanes changing. In fact your NICs actually having their names changed that is why you have no longer the connection to the server. Your etc/network/interfaces file is coming obsolete with the new names.

I made this script to be able to fully use the possibility to powering ON/OFF the docking station to save some energy.
Caution to powering ON/OFF the mini pc must be shutdown first.

For a simple interface configuration like this :


This is basically the default interfaces configuration after installing proxmox in /etc/network/interfaces.
  1. auto lo
  2. iface lo inet loopback

  3. iface enp173s0 inet manual

  4. auto vmbr0
  5. iface vmbr0 inet static
  6.         address 10.27.27.30/24
  7.         gateway 10.27.27.1
  8.         bridge-ports enp173s0
  9.         bridge-stp off
  10.         bridge-fd 0

  11. iface enp174s0 inet manual

  12. iface enx6c1ff7047945 inet manual

  13. iface wlp174s0f0 inet manual
复制代码
Remember of your actual private lan. Mine is 10.27.27.0/24. Be aware to adjust all the references inside this section by yours.

You can manage it like this in your proxmox shell as root user :

  1. apt-get install sudo -y
复制代码
you need the sudo command and it is not installed by default.

  1. mkdir scripts
  2. nano /scripts/update_network_interfaces.sh
复制代码
you can choose any directory name you prefer.

Define the script as below :
  1. #!/bin/bash

  2. # Backup the current /etc/network/interfaces file
  3. cp /etc/network/interfaces /etc/network/interfaces.bak

  4. # Get the list of current network interfaces
  5. interfaces=$(ip link show | grep '^[0-9]' | awk -F: '{print $2}' | sed 's/ //g')

  6. # Initialize the configuration template
  7. config_template=""

  8. # Add loopback interface configuration
  9. config_template+="auto lo\niface lo inet loopback\n\n"

  10. # Identify the primary network interface for the bridge
  11. primary_iface=""
  12. for iface in $interfaces;
  13. do
  14.     if [[ $iface == enp* ]]; then
  15.         primary_iface=$iface
  16.         break
  17.     fi
  18. done

  19. # Add configuration for the primary interface and bridge
  20. if [ -n "$primary_iface" ]; then
  21.     config_template+="iface $primary_iface inet manual\n\n"
  22.     config_template+="auto vmbr0\niface vmbr0 inet static\n"
  23.     config_template+="    address 10.27.27.30/24\n"
  24.     config_template+="    gateway 10.27.27.1\n"
  25.     config_template+="    bridge-ports $primary_iface\n"
  26.     config_template+="    bridge-stp off\n"
  27.     config_template+="    bridge-fd 0\n\n"
  28. fi

  29. # Add configuration for other interfaces, excluding the primary interface, loopback, and bridge
  30. for iface in $interfaces;
  31. do
  32.     if [[ $iface != $primary_iface && $iface != "lo" && $iface != "vmbr0" ]]; then
  33.         config_template+="iface $iface inet manual\n\n"
  34.     fi
  35. done

  36. # Write the new configuration to /etc/network/interfaces
  37. echo -e "$config_template" > /etc/network/interfaces

  38. # Restart the networking service to apply changes
  39. systemctl restart networking

  40. echo "Network interfaces configuration updated successfully."
复制代码
this script will be able to manage any NIC names changes if your initial looked like the initial interfaces configuration I displayed previously.
If you have a slightly different one. No problem you can manage to modify this one with the help of AI (ChatGPT, Deepseek, Mistral, etc ...).


Now you have to configure the script to be able to be executable automatically on reboot regardless of whether you are logged in or not.

  1. chmod +x scripts/update_network_interfaces.sh
复制代码

Create the Systemd service file :
  1. sudo nano /etc/systemd/system/update-network-interfaces.service
复制代码


Define the service as below :
  1. [Unit]
  2. Description=Update Network Interfaces
  3. After=network.target

  4. [Service]
  5. Type=oneshot
  6. ExecStart=/scripts/update_network_interfaces.sh
  7. RemainAfterExit=yes

  8. [Install]
  9. WantedBy=multi-user.target
复制代码
In ExecStart put the location of your script.

Then :
  1. sudo systemctl daemon-reload
  2. sudo systemctl enable update-network-interfaces.service
  3. sudo systemctl start update-network-interfaces.service
  4. sudo systemctl status update-network-interfaces.service
复制代码


This is it you have now your script solution to fix the issue I mentionned. Everytime you are deciding to toggle yout docking station everything will be fine !


2. GPU Passthrough settings :


In progress ...



VMWARE ESXI VERSION 8.X :


1. Loosing network connection after adding or removing the Ex Pro Docking Station :


In progress ...





2. GPU Passthrough settings :

In progress ...




3. PURPLE SCREEN during installation due to CPU "HW feature incompatibility detected; cannot start" :


In progress ...

回复

使用道具 举报

6

Threads

2470

Posts

7741

Credits

Super Moderator

Rank: 8Rank: 8

Credits
7741
发表于 3 day(s) ago | 显示全部楼层
Thanks for your sharing
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | Sign up

本版积分规则

快速回复 返回顶部 返回列表