Every time i installed an ubuntu distro , wifi dont appear to me and i need to install drivers via a github repo.

I remember people advice to me to do this - https://forums.linuxmint.com/viewtopic.php?t=435576

and that really solve my problem. However, more im getting into linux, people says to me to be carefully about what i put on terminal.

Being said that, anyone know if this is bad, to do this? Since is the only way i get to putting my wifi working, i would like if this can be danger, since i really dont understand nothing about linux and i am new in this journey.

  • SteveTech
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    When people say be careful, they mean try to understand what the commands do, don’t just blindly copy and paste.

    For example, from the link you posted:

    # This installs some packages
    sudo apt install git dkms
    
    # This downloads the source code for the driver from its git repo
    git clone https://github.com/aircrack-ng/rtl8812au.git
    
    # Change directory to downloaded repo
    cd rtl8812au 
    
    # This uses the driver's makefile to install the driver using dkms
    sudo make dkms_install
    

    DKMS is a system to dynamic build and install kernel modules for each kernel version, you will occasionally see it compiling when you run apt upgrade (but usually only when there’s a kernel update).

    Kernel drivers have the highest privileges on your system, so you would definitely want to make sure that driver is trustworthy.

    Also it seems that rtw88 would be a better driver to use, since it’s a back port of the newer mainlined driver, instead of an external deprecated out of tree driver.