another troubleshooting to do none of it are working =========================================================== The AX88179_178a driver is typically included in modern Linux kernels, including those used by Ubuntu 24.04.5, as the ax88179_178a kernel module. If the driver still cannot be loaded, the issue may stem from missing firmware, Secure Boot interference, kernel module dependency problems, or a missing linux-modules-extra package. First, verify the module is present and compatible with your device using modinfo, then ensure it's not blocked by system settings.
Prerequisites A working internet connection (via Wi-Fi or another method) Terminal access Administrator (sudo) privileges USB Ethernet adapter plugged in Step-by-step instructions Confirm your device is detected with: lsusb | grep -i ax88179 You should see a line with 0b95:1790 or 0b95:178a. Check if the kernel module is available: modinfo ax88179_178a If not found, install the extra modules package: sudo apt update && sudo apt install linux-modules-extra-$(uname -r) Ensure the module isn't blocked: ls /etc/modprobe.d/ | grep -i blacklist Check any blacklist files for ax88179_178a and comment out or remove the line if found. Load the module manually: sudo modprobe ax88179_178a Check for errors with: dmesg | tail -20 Disable Secure Boot in your BIOS/UEFI settings, as it may prevent unsigned or DKMS modules from loading. Rebuild module dependencies: sudo depmod -a Reboot and test again with the adapter plugged in. o load modules listed in /etc/modules on Ubuntu 24.04.5, ensure the systemd-modules-load.service is active, as it automatically reads /etc/modules at boot. No additional configuration is needed for the file itself—just list one module per line. Key Points: The /etc/modules file should contain only module names (e.g., ax88179_178a), one per line. Comments start with #. The service systemd-modules-load.service handles loading and is enabled by default. Alternatively, use /etc/modules-load.d/ax88179.conf (preferred method) with: ax88179_178a After editing, verify with: sudo systemd-modules-load --verify The systemd-modules-load --verify command does not exist. This was a misunderstanding—there is no --verify flag for systemd-modules-load. Instead, verify module loading configuration through: Check if the service is active: systemctl status systemd-modules-load.service List modules to be loaded: Ensure your module is in /etc/modules or a .conf file in /etc/modules-load.d/. Test module loading manually: sudo modprobe ax88179_178a Check for errors in boot logs: journalctl -u systemd-modules-load.service --since "1 hour ago" If the module fails to load, ensure linux-modules-extra-$(uname -r) is installed and run sudo depmod -a. The /boot/config-$(uname -r) file (e.g., /boot/config-6.8.0-35-generic) is a read-only configuration snapshot of how the kernel was compiled—it does not control module loading at runtime. It only indicates whether the ax88179_178a driver was built into the kernel (=y) or as a loadable module (=m). To verify: grep CONFIG_AX88179 /boot/config-$(uname -r) You should see: CONFIG_AX88179_178A=m This means the driver is available as a module and can be loaded via modprobe, not that it will be auto-loaded from this file. Correct Ways to Load the Module Automatic loading: Add ax88179_178a to /etc/modules or create /etc/modules-load.d/ax88179.conf with the module name. Manual loading: Use sudo modprobe ax88179_178a. Dependency handling: Ensure linux-modules-extra-$(uname -r) is installed. The /boot/config-* file itself does not trigger loading—it's informational only. To fix the AX88179_178a driver not loading on Ubuntu 24.04.5: Install required modules: sudo apt install linux-modules-extra-$(uname -r) Check Secure Boot: Disable it in BIOS/UEFI, as it can block module loading. Reload the module: sudo modprobe -r ax88179_178a sudo modprobe ax88179_178a Workaround for detection issues: Unplug the adapter, remove the Ethernet cable, then replug the adapter before reconnecting the cable. Ensure firmware is present: Install linux-firmware: sudo apt install linux-firmware The CONFIG_AX88179_178A=m option being missing indicates the AX88179_178a driver is not included in the Raspberry Pi Ubuntu kernel builds for those versions. This is common for specialized kernels where certain USB Ethernet drivers are omitted. To resolve: Use a mainline Ubuntu kernel: Switch from the raspi kernel to the generic generic kernel which includes broader driver support: sudo apt install linux-image-generic sudo reboot Verify after reboot: uname -r # Should show generic kernel zcat /proc/config.gz | grep CONFIG_AX88179_178A # Should return '=m' Install extra modules: sudo apt install linux-modules-extra-$(uname -r) The generic kernel includes the necessary driver, resolving the missing config issue. No, you cannot modify the /boot/config-5.15.0-1061-raspi file to enable the AX88179_178a driver. This file is a read-only configuration used to document how the kernel was compiled—it does not control driver loading. Even if edited, the change would have no effect because the driver (ax88179_178a) is not built into the raspi kernel. Instead: Switch to the generic Ubuntu kernel: sudo apt install linux-image-generic sudo reboot Install extra modules: sudo apt install linux-modules-extra-$(uname -r) The generic kernel includes CONFIG_AX88179_178A=m, enabling driver support. Still cannot work? Try this final fix: Unload the driver first: sudo modprobe -r ax88179_178a Unplug the adapter, remove the Ethernet cable, then replug the adapter (without the cable). Reload the driver: sudo modprobe ax88179_178a Now plug in the Ethernet cable. This sequence resolves "no link detected" issues common with AX88179 on Ubuntu, especially on Raspberry Pi systems. Ensure Secure Boot is disabled and linux-modules-extra-$(uname -r) is installed. Still cannot work? Try this final fix: Unplug the adapter and disconnect the Ethernet cable. Remove the module: sudo modprobe -r ax88179_178a Replug the adapter (without the Ethernet cable). Reload the module: sudo modprobe ax88179_178a Now plug in the Ethernet cable. This sequence resolves "no link" issues on Raspberry Pi Ubuntu systems. Ensure linux-modules-extra-$(uname -r) is installed and Secure Boot is disabled. Still not working? The issue may be a known kernel bug affecting AX88179 detection and link establishment. Final Fix: Use a Third-Party Driver The built-in ax88179_178a module in Ubuntu 24.04.5 (especially on Raspberry Pi kernels) may have bugs. Use the updated driver from ASIX or a community-maintained version: Install dependencies: sudo apt update sudo apt install build-essential git dkms Clone and install the updated driver: git clone https://github.com/nothingstopsme/AX88179_178A_Linux_Driver.git cd AX88179_178A_Linux_Driver make sudo make install Blacklist the old module: echo "blacklist ax88179_178a" | sudo tee /etc/modprobe.d/blacklist-ax88179.conf Load the new driver: sudo modprobe ax88179_178a Reboot. This replaces the problematic kernel module with a working version. To fix sudo apt update errors on Ubuntu 24.04.5: Clear corrupted package lists: sudo rm -rf /var/lib/apt/lists/* sudo apt-get clean sudo apt-get update Fix broken repositories: If you see E: The repository 'file:/cdrom noble Release' does not have a Release file, edit: sudo nano /etc/apt/sources.list Comment out or remove the line containing cdrom. Fix 404 or GPG errors from PPAs: Remove or correct PPAs not supporting noble (24.04) in /etc/apt/sources.list.d/. Use HTTPS or switch mirror: Run "Software & Updates" → "Download from" → select "Main server" or "Select Best Server". Fix network issues: If behind a firewall, ensure HTTPS traffic is allowed. IPv6 issues can also block updates. On Wed, 6 May 2026 at 23:05, M Rusli <[email protected]> wrote: The AX88179_178a driver is typically included in modern Linux kernels, including those used by Ubuntu 24.04.5, as the ax88179_178a kernel module. If the driver still cannot be loaded, the issue may stem from missing firmware, Secure Boot interference, kernel module dependency problems, or a missing linux-modules-extra package. First, verify the module is present and compatible with your device using modinfo, then ensure it's not blocked by system settings. Prerequisites A working internet connection (via Wi-Fi or another method) Terminal access Administrator (sudo) privileges USB Ethernet adapter plugged in Step-by-step instructions Confirm your device is detected with: lsusb | grep -i ax88179 You should see a line with 0b95:1790 or 0b95:178a. Check if the kernel module is available: modinfo ax88179_178a If not found, install the extra modules package: sudo apt update && sudo apt install linux-modules-extra-$(uname -r) Ensure the module isn't blocked: ls /etc/modprobe.d/ | grep -i blacklist Check any blacklist files for ax88179_178a and comment out or remove the line if found. Load the module manually: sudo modprobe ax88179_178a Check for errors with: dmesg | tail -20 Disable Secure Boot in your BIOS/UEFI settings, as it may prevent unsigned or DKMS modules from loading. Rebuild module dependencies: sudo depmod -a Reboot and test again with the adapter plugged in. To load modules listed in /etc/modules on Ubuntu 24.04.5, ensure the systemd-modules-load.service is active, as it automatically reads /etc/modules at boot. No additional configuration is needed for the file itself—just list one module per line. Key Points: The /etc/modules file should contain only module names (e.g., ax88179_178a), one per line. Comments start with #. The service systemd-modules-load.service handles loading and is enabled by default. Alternatively, use /etc/modules-load.d/ax88179.conf (preferred method) with: ax88179_178a After editing, verify with: sudo systemd-modules-load --verify The systemd-modules-load --verify command does not exist. This was a misunderstanding—there is no --verify flag for systemd-modules-load. Instead, verify module loading configuration through: Check if the service is active: systemctl status systemd-modules-load.service List modules to be loaded: Ensure your module is in /etc/modules or a .conf file in /etc/modules-load.d/. Test module loading manually: sudo modprobe ax88179_178a Check for errors in boot logs: journalctl -u systemd-modules-load.service --since "1 hour ago" If the module fails to load, ensure linux-modules-extra-$(uname -r) is installed and run sudo depmod -a. The /boot/config-$(uname -r) file (e.g., /boot/config-6.8.0-35-generic) is a read-only configuration snapshot of how the kernel was compiled—it does not control module loading at runtime. It only indicates whether the ax88179_178a driver was built into the kernel (=y) or as a loadable module (=m). To verify: grep CONFIG_AX88179 /boot/config-$(uname -r) You should see: CONFIG_AX88179_178A=m This means the driver is available as a module and can be loaded via modprobe, not that it will be auto-loaded from this file. Correct Ways to Load the Module Automatic loading: Add ax88179_178a to /etc/modules or create /etc/modules-load.d/ax88179.conf with the module name. Manual loading: Use sudo modprobe ax88179_178a. Dependency handling: Ensure linux-modules-extra-$(uname -r) is installed. The /boot/config-* file itself does not trigger loading—it's informational only. To fix the AX88179_178a driver not loading on Ubuntu 24.04.5: Install required modules: sudo apt install linux-modules-extra-$(uname -r) Check Secure Boot: Disable it in BIOS/UEFI, as it can block module loading. Reload the module: sudo modprobe -r ax88179_178a sudo modprobe ax88179_178a Workaround for detection issues: Unplug the adapter, remove the Ethernet cable, then replug the adapter before reconnecting the cable. Ensure firmware is present: Install linux-firmware: sudo apt install linux-firmware The error Err:2 http://archive.raspberrypi.org/debian jammy Release 404 Not Found occurs because Ubuntu 22.04 (jammy) is not supported by the Raspberry Pi OS repositories. The archive.raspberrypi.org repository only supports Raspberry Pi OS (formerly Raspbian), not Ubuntu. Fix: Remove the incorrect repository: sudo rm /etc/apt/sources.list.d/raspi.list Or comment out any line containing archive.raspberrypi.org in /etc/apt/sources.list and /etc/apt/sources.list.d/*.list. Use only Ubuntu repositories: Ensure your sources point to valid Ubuntu 24.04 (noble) or 22.04 (jammy) mirrors: sudo sed -i 's/archive.raspberrypi.org\/debian/ubuntu.archive.ubuntu.com/g' /etc/apt/sources.list Update: sudo apt update You cannot use Raspberry Pi OS package sources on Ubuntu. On Wed, 6 May 2026 at 22:14, M Rusli <[email protected]> wrote: The AX88179_178a driver is typically included in modern Linux kernels, including those used by Ubuntu 24.04.5, as the ax88179_178a kernel module. If the driver still cannot be loaded, the issue may stem from missing firmware, Secure Boot interference, kernel module dependency problems, or a missing linux-modules-extra package. First, verify the module is present and compatible with your device using modinfo, then ensure it's not blocked by system settings. Prerequisites A working internet connection (via Wi-Fi or another method) Terminal access Administrator (sudo) privileges USB Ethernet adapter plugged in Step-by-step instructions Confirm your device is detected with: lsusb | grep -i ax88179 You should see a line with 0b95:1790 or 0b95:178a. Check if the kernel module is available: modinfo ax88179_178a If not found, install the extra modules package: sudo apt update && sudo apt install linux-modules-extra-$(uname -r) Ensure the module isn't blocked: ls /etc/modprobe.d/ | grep -i blacklist Check any blacklist files for ax88179_178a and comment out or remove the line if found. Load the module manually: sudo modprobe ax88179_178a Check for errors with: dmesg | tail -20 Disable Secure Boot in your BIOS/UEFI settings, as it may prevent unsigned or DKMS modules from loading. Rebuild module dependencies: sudo depmod -a Reboot and test again with the adapter plugged in. To load modules listed in /etc/modules on Ubuntu 24.04.5, ensure the systemd-modules-load.service is active, as it automatically reads /etc/modules at boot. No additional configuration is needed for the file itself—just list one module per line. Key Points: The /etc/modules file should contain only module names (e.g., ax88179_178a), one per line. Comments start with #. The service systemd-modules-load.service handles loading and is enabled by default. Alternatively, use /etc/modules-load.d/ax88179.conf (preferred method) with: ax88179_178a After editing, verify with: sudo systemd-modules-load --verify The systemd-modules-load --verify command does not exist. This was a misunderstanding—there is no --verify flag for systemd-modules-load. Instead, verify module loading configuration through: Check if the service is active: systemctl status systemd-modules-load.service List modules to be loaded: Ensure your module is in /etc/modules or a .conf file in /etc/modules-load.d/. Test module loading manually: sudo modprobe ax88179_178a Check for errors in boot logs: journalctl -u systemd-modules-load.service --since "1 hour ago" If the module fails to load, ensure linux-modules-extra-$(uname -r) is installed and run sudo depmod -a. On Wed, 6 May 2026 at 21:57, M Rusli <[email protected]> wrote: The ax88179_178a driver is included in the Linux kernel, but its functionality on Ubuntu 24.04.5 can fail for several reasons, even if the module is present. First, verify the driver is installed and loaded: Run modinfo ax88179_178a. If this returns information, the driver is installed. Run lsmod | grep ax88. If you see ax88179_178a, the module is loaded. Common causes for failure and solutions: Missing Module Dependencies: The driver may require the cdc_mbim module to be loaded first. To fix this, create a configuration file: sudo nano /etc/modprobe.d/ax88179.conf and add the line softdep ax88179_178a pre: cdc_mbim. Save, reboot, and test. Kernel Module Not in linux-modules-extra: While rare for 24.04.5, ensure the package is installed: sudo apt update && sudo apt install linux-modules-extra-$(uname -r). Hardware/USB Bus Issues: Errors like Failed to read reg index 0x0000: -32 in dmesg often point to USB power or hardware problems, not the driver itself. Try a different USB port, a powered USB hub, or test the adapter on another computer. On Wed, 6 May 2026 at 21:43, M Rusli <[email protected]> wrote: The lsmod command itself does not produce colored output. If you're seeing red text, it is likely due to a shell alias, custom script, or terminal colorizer (e.g., dmesg --color=always, systemctl, or a third-party tool) misinterpreting or highlighting the output. However, if the ax88179_178a module appears in red, it may indicate: The module failed to load properly A kernel mismatch or module signing issue A warning or error associated with the module in dmesg Steps to diagnose Check for module-related errors: dmesg | grep ax88179_178a Verify the module is signed and valid: modinfo ax88179_178a Reinstall the module if needed: sudo apt install --reinstall linux-modules-extra-raspi Reload the module: sudo rmmod ax88179_178a && sudo modprobe ax88179_178a If the red persists, disable shell colorization temporarily: \lsmod | grep ax88179_178a On Wed, 6 May 2026 at 21:37, M Rusli <[email protected]> wrote: Ubuntu 24.04 on Raspberry Pi uses a different packaging system than Raspberry Pi OS, and the raspberrypi-kernel, raspberrypi-bootloader, and raspberrypi-kernel-headers packages are not available because Ubuntu maintains its own kernel builds. Instead, Ubuntu provides kernel and module support through the linux- modules-extra-raspi and linux-headers-raspi packages. Fix missing kernel modules and headers Install the correct Ubuntu-specific packages: sudo apt update sudo apt install linux-modules-extra-raspi linux-headers-raspi This will install: Extra kernel modules (including ax88179_178a) Kernel headers required for building modules Proper module dependencies Reload the driver After installation: sudo modprobe ax88179_178a Verify it's loaded: lsmod | grep ax88179_178a Key Notes Ubuntu 24.04 for Raspberry Pi uses the aarch64 kernel, e.g., 6.8.0-1001-raspi The raspberrypi-* packages are exclusive to Raspberry Pi OS (Debian) Always match headers and modules to the running kernel (uname -r) On Wed, 6 May 2026 at 21:33, M Rusli <[email protected]> wrote: The raspberrypi-kernel-headers package may not be available due to a repository misconfiguration, kernel version mismatch, or use of a non-standard OS source. The most common cause is an incorrect or missing entry in the APT sources list. Fix the APT sources Ensure the official Raspberry Pi repository is enabled: echo "deb http://archive.raspberrypi.org/debian/ $(grep VERSION_CODENAME /etc/os-release | cut -d= -f2) main" | sudo tee /etc/apt/sources.list.d/raspi.list sudo apt update Reinstall kernel and headers If the headers still don’t install, align the running kernel with the repository version: sudo apt install --reinstall raspberrypi-bootloader raspberrypi-kernel sudo reboot After reboot: sudo apt install raspberrypi-kernel-headers Handle 64-bit kernel on 32-bit OS If you're on a 32-bit OS but running a 64-bit kernel (e.g., uname -r shows v8+), force 32-bit mode by adding arm_64bit=0 to /boot/config.txt, then reboot and retry. On Wed, 6 May 2026 at 21:30, M Rusli <[email protected]> wrote: The ax88179_178a driver is required for certain USB-to-Ethernet adapters on Raspberry Pi OS, and failure to load it typically stems from missing or corrupted kernel modules, especially after system updates. The error suggests the driver file exists but cannot be loaded, which may be due to a mismatch between the running kernel and installed modules, or a missing dependency. Ensuring the correct kernel headers and modules are installed is critical. Prerequisites Raspberry Pi running Ubuntu or Debian-based OS (e.g., Raspberry Pi OS) Internet access via Wi-Fi or alternative network connection Terminal access (local or SSH) Step-by-step instructions Update the package list: sudo apt update Install or reinstall the required kernel modules package: sudo apt install --reinstall linux-modules-extra-$(uname -r) If the above fails, install kernel headers to support module compilation: sudo apt install raspberrypi-kernel-headers Manually reload the ax88179_178a module: sudo modprobe ax88179_178a Check if the module loaded successfully: lsmod | grep ax88179_178a If using a custom or third-party driver, remove it and fall back to the in-tree version: sudo rm /lib/modules/$(uname -r)/kernel/drivers/net/usb/ax88179_178a.ko Then rerun: sudo apt install --reinstall linux-modules-extra-$(uname -r) Rebuild module dependencies: sudo depmod -a Reboot the system to apply changes: sudo reboot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2151736 Title: asix 88179_178a driver not detected with ubuntu 24.04.5 for both ubuntu server and ubuntu desktop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/2151736/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
