WLAN USB Adapter Comfast CF-916AC yang saya gunakan terdeteksi di Linux sebagai

Bus 001 Device 002: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter

1. Update Kernel

Update kernel ke versi terbaru

dnf install kernel-devel-$(uname -r) kernel-headers -y

bila ada update kernel terbaru restart komputer anda, baru lanjutkan ke tahap berikutnya. Dengan cara yang akan kita lakukan, setiap anda mengupdate kernel, wajib untuk mengulangi proses di tahap 4.

Catatan
Bila tidak mau repot bisa melewatkan update kernel dengan menambahkan baris exclude=kernel-* di /etc/dnf/dnf.conf walaupun cara ini tidak dianjurkan

2. Install DKMS

dnf install dkms -y

3. Download Driver RTL8811AU

Cloning

mkdir ~/src
cd ~/src
git clone https://github.com/zebulon2/rtl8812au.git

atau download langsung

mkdir ~/src
cd ~/src
wget https://github.com/zebulon2/rtl8812au/archive/v5.1.5.zip

4. Install Driver RTL8811AU

Dibawan ini ada dua cara singkat untuk menginstall driver RTL8811AU

4.1 via git clone

cd ~/src/rtl8812au
su -c "./dkms-install.sh"

4.1 via wget

cd ~/src
unzip rtl8812au-5.1.5.zip
cd rtl8812au-5.1.5
su -c "./dkms-install.sh"

5. Restart Network Manager

Restart Network Manager agar driver tersebut dikenali

systemctl restart NetworkManager
atau
service NetworkManager restart

Cek dengan perintah `dmesg` apakah ada error, bila muncul
“`
[ 1100.448351] 8812au: version magic ‘4.17.5-200.fc28.x86_64 SMP mod_unload ‘ should be ‘4.17.6-200.fc28.x86_64 SMP mod_unload ‘
[ 1100.449064] 8812au: version magic ‘4.17.5-200.fc28.x86_64 SMP mod_unload ‘ should be ‘4.17.6-200.fc28.x86_64 SMP mod_unload ‘
“`
uninstall terlebih dahulu driver sebelumnya
“`
su -c “./dkms-remove.sh”
“`
lalu install kembali seperti cara 4 atau 4.1

Setelah semua langkah diatas dijalankan, sekarang verifikasi apakah driver tersebut terinstall
1. iwconfig atau ifconfig

$ iwconfig
enp2s0    no wireless extensions.
 
wlp0s20f0u1  IEEE 802.11  ESSID:"SAPO2"  
          Mode:Managed  Frequency:2.427 GHz  Access Point: C8:3A:25:28:3A:D0   
          Bit Rate=150 Mb/s   Tx-Power=12 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=47/70  Signal level=-63 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
wlp3s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=14 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
 
lo        no wireless extensions.

disini Wifi Card laptop saya terbaca sebagai wlp3s0 sedangkan RTL8811AU sebagai wlp0s20f0u1.

2. nmcli dev wifi

*  SSID           MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
*  SAPO2          Infra  4     54 Mbit/s  59      ▂▄▆_  WPA2      
   HUAWEI-62tN    Infra  1     54 Mbit/s  57      ▂▄▆_  WPA1 WPA2 
   Prasiwi        Infra  6     54 Mbit/s  50      ▂▄__  WPA1 WPA2 
   falisha        Infra  7     54 Mbit/s  45      ▂▄__  WPA2      
   ANDROMEDA      Infra  8     54 Mbit/s  27      ▂___  WPA1 WPA2 
   Samsung Note3  Infra  11    54 Mbit/s  24      ▂___  WPA1 WPA2 
 
*  SSID         MODE   CHAN  RATE       SIGNAL  BARS  SECURITY  
   HUAWEI-62tN  Infra  1     54 Mbit/s  62      ▂▄▆_  WPA1 WPA2 
   SAPO2        Infra  4     54 Mbit/s  62      ▂▄▆_  WPA2      
   Prasiwi      Infra  6     54 Mbit/s  62      ▂▄▆_  WPA1 WPA2 
   falisha      Infra  7     54 Mbit/s  55      ▂▄__  WPA2

Penutup

Walaupun ditulisan ini menggunakan Fedora 27, cara ini tetap bisa digunakan di Ubuntu, Debian, OpenSuse, ArchLinux atau distro lainnya.

Join the Conversation

1 Comment

Your email address will not be published. Required fields are marked *

  1. Hi Tommy,
    I could compile and install the 8812au module.
    But the wifi interface (something like: wlp6s0f4u1) did not get an IP address from the accesspoint.
    The restart of the NetworkManager reported errors: the interface was not accessible.
    But your rtl8811au code is still one of the best :).