Manual Installation¶
For distributions not covered by pre-built packages, or for custom setups.
Prerequisites¶
Install required dependencies:
# Debian/Ubuntu
sudo apt install dkms build-essential linux-headers-$(uname -r)
# Fedora/RHEL
sudo dnf install dkms kernel-devel
# Arch Linux
sudo pacman -S dkms linux-headers
# openSUSE
sudo zypper install dkms kernel-devel
For clang-built kernels, also install:
# Debian/Ubuntu
sudo apt install clang lld
# Fedora/RHEL
sudo dnf install clang lld
# Arch Linux
sudo pacman -S clang lld
Installation¶
Clone and Install¶
What the Installer Does¶
- Checks for root privileges
- Verifies kernel version (6.17+ required)
- Detects existing DKMS installation and removes it
- Copies source to
/usr/src/mt76-mt7925-<version>/ - Registers with DKMS
- Builds modules for current kernel
- Installs modules
- Unloads old modules and loads new ones
Installer Options¶
# Enable telemetry (opt-in)
sudo MT7925_TELEMETRY=1 ./install.sh
# Skip telemetry prompt
sudo MT7925_TELEMETRY=0 ./install.sh
Verify Installation¶
# Check DKMS registered the package
dkms status | grep mt76-mt7925
# Check modules are installed
ls /lib/modules/$(uname -r)/updates/dkms/ | grep mt
# Check modules are loaded
lsmod | grep mt7925
# Check WiFi interface
ip link show | grep wl
Troubleshooting¶
Build Failures¶
Check the DKMS build log:
Common issues:
| Error | Solution |
|---|---|
CONFIG_CC_IS_CLANG |
Install clang and lld |
| Missing headers | Install linux-headers-$(uname -r) |
| Kernel too old | Upgrade to 6.17+ |
Manual DKMS Commands¶
# View status
dkms status
# Rebuild for current kernel
sudo dkms build mt76-mt7925/1.5.0
sudo dkms install mt76-mt7925/1.5.0
# Remove and reinstall
sudo dkms remove mt76-mt7925/1.5.0 --all
sudo dkms add mt76-mt7925/1.5.0
sudo dkms build mt76-mt7925/1.5.0
sudo dkms install mt76-mt7925/1.5.0