Automatically installs and maintains the YT6801 (Motorcomm) network driver on Linux systems. Handles kernel updates by reinstalling the driver at boot if the module is not loaded, and reboots once if necessary.
- Ubuntu 24.04 (or compatible Debian-based distribution)
- Root/sudo access
dpkgandsystemddkms(the driver package is a DKMS module: it declaresDepends: dkms (>= 2.1.0.0))- Linux kernel headers installed (
linux-headers-$(uname -r))
Note: If you install the
.debmanually, prefersudo apt-get install -y ./deb/tuxedo-yt6801_1.0.28-1_all.deb(or, ifdeb/holds more than one version, the newest one — mirroring thesort -V | tail -n 1selectioninstall_yt6801_if_needed.shuses), which resolves and installsdkmsand other dependencies automatically, over a baresudo dpkg -i ..., which will fail (or leave the package unconfigured) ifdkmsisn't already installed.
The bundled package, deb/tuxedo-yt6801_1.0.28-1_all.deb, is redistributed unmodified from TUXEDO Computers GmbH (tux@tuxedocomputers.com), the upstream maintainer of the tuxedo-yt6801 DKMS driver for the Motorcomm YT6801 controller.
Verify its integrity before installing:
echo "20f3626790956d14806934b10358894d25deeaa8c5cf63b56871c2d38cad3db7 deb/tuxedo-yt6801_1.0.28-1_all.deb" | sha256sum -c -yt6801-auto-installer/
├── .github/workflows/
│ └── shellcheck.yml
├── deb/
│ └── tuxedo-yt6801_1.0.28-1_all.deb
├── install_yt6801_if_needed.sh
├── check_yt6801_and_reboot.sh
├── yt6801-reinstall.service
├── setup.sh
├── uninstall.sh
├── CHANGELOG.md
├── LICENSE
├── VERSION
└── README.md
| File | Description |
|---|---|
deb/ |
Contains the .deb driver package(s). The install script auto-detects the latest one. |
install_yt6801_if_needed.sh |
Installs/reinstalls the driver if the module is not loaded. |
check_yt6801_and_reboot.sh |
Checks module status and triggers a single reboot if needed. |
yt6801-reinstall.service |
systemd oneshot service that runs at boot. |
setup.sh |
Automated installer: copies files and enables the service. |
uninstall.sh |
Automated uninstaller: stops, disables, and removes everything. |
git clone https://github.com/finallyjay/yt6801-auto-installer.git
cd yt6801-auto-installer
sudo bash setup.shThis will:
- Copy all files to
/opt/yt6801-auto-installer/ - Install and enable the systemd service
- The driver will be checked and installed automatically on every boot
If you prefer to install step by step (this mirrors what setup.sh does): the service's ExecStart/ExecStartPost and WorkingDirectory point at /opt/yt6801-auto-installer/, so the scripts and the deb/ directory must be copied there first, not just the unit file.
sudo mkdir -p /opt/yt6801-auto-installer
sudo cp -r deb install_yt6801_if_needed.sh check_yt6801_and_reboot.sh yt6801-reinstall.service /opt/yt6801-auto-installer/
sudo chmod +x /opt/yt6801-auto-installer/install_yt6801_if_needed.sh /opt/yt6801-auto-installer/check_yt6801_and_reboot.sh
sudo cp /opt/yt6801-auto-installer/yt6801-reinstall.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable yt6801-reinstall.serviceTo start the service immediately:
sudo systemctl start yt6801-reinstall.servicesudo bash uninstall.shThis stops the service, removes the service file, and deletes /opt/yt6801-auto-installer/. The kernel module and its /etc/modules entry are preserved. To fully remove:
sudo sed -i '/^yt6801$/d' /etc/modules
sudo modprobe -r yt6801To update to a newer driver version:
- Place the new
.debfile in thedeb/directory - Re-run
sudo bash setup.sh
The install script automatically picks the latest .deb file (sorted by version).
Both scripts run under systemd and write their output to stdout/stderr, which the
yt6801-reinstall.service unit sends to the journal. View the logs with:
sudo journalctl -u yt6801-reinstall.serviceModule not loading after installation:
# Check if the module exists for your kernel
find /lib/modules/$(uname -r) -name 'yt6801*'
# Try loading manually
sudo modprobe yt6801
# Check dmesg for errors
dmesg | grep -i yt6801Service not running:
sudo systemctl status yt6801-reinstall.service
sudo journalctl -u yt6801-reinstall.serviceDriver not surviving kernel updates: Make sure the service is enabled. It will automatically reinstall on the next boot after a kernel update:
sudo systemctl is-enabled yt6801-reinstall.service| Distribution | Version | Status |
|---|---|---|
| Ubuntu | 24.04 LTS | Tested |
| Ubuntu | 22.04 LTS | Should work |
| Debian | 12 (Bookworm) | Should work |
| Other Debian-based | - | Untested |
- On boot, the systemd service runs
install_yt6801_if_needed.sh - If the
yt6801module is already loaded, it exits immediately - If not, it installs the
.debpackage, runsdepmod, and adds the module to/etc/modules - Then
check_yt6801_and_reboot.shverifies the module loaded correctly - If the module still isn't loaded, it reboots the system once (tracked via a flag file)
This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.