D-Link DWA-171.. how to get it working? (And why does everything have to be so difficult)

Hey everyone,

New to Manjaro (was on Fedora first, but made some errors and a lot of applications I frequented randomly started crashing and got fed-up using it anyways, so decided to make the switch).

I’m having a lot of trouble with my initial set-up here. First the pacman package manager was not working in any proper way. Then I had troubles installing Git. Now next issue is getting the DWA-171 drivers. I just simply cannot get them to run.

I got the package from aur : rtl8814au-aircrack-dkms-git.git

But when trying to use makepkg I get the following error:
==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping


You need first to run
sudo pacman -S --needed base-devel

Also, since you try to install

You will have to install the linux-headers for your running kernel. The following command will install the linux-headers automatically for all installed kernels but you are better using a LTS kernel:

sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

Reboot and then run:
pamac build rtl8814au-aircrack-dkms-git

We do not know what ISO you installed from/what version, but usually a good practice is to refresh mirrors and make sure the system is fully updated.
sudo pacman-mirrors -f5 && sudo pacman -Syyu

If in trouble, we have a decent Manjaro wiki.

1 Like

I get:

Error! Bad return status for module build on kernel: 5.15.2-2-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8814au/r94.bdf80b5/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8814au/r94.bdf80b5 -k 5.15.2-2-MANJARO’ exited 10

pamac build rtl8814au-aircrack-dkms-git

Have you read in the package page http://aur.archlinux.org/packages/rtl8814au-aircrack-dkms-git ?
Maybe best then to build/install/use the AUR (en) - rtl8814au-dkms-git
pamac build rtl8814au-dkms-git

This install worked, but the perifiral still isn’t active.

After reboot, can you share the inxi -Fazy ?

  Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
  root=UUID=20c2f523-3c8d-49f5-a12c-55cc946e3c4a rw quiet splash apparmor=1
  security=apparmor udev.log_priority=3
  Desktop: GNOME 41.1 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 41.0
  Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: HP product: HP Laptop 15-db0xxx v: Type1ProductConfigId
  serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 84AC v: 85.21 serial: <superuser required> UEFI: Insyde
  v: F.17 date: 01/16/2019
  ID-1: BAT1 charge: 15.4 Wh (40.0%) condition: 38.5/41.0 Wh (93.8%)
  volts: 12.3 min: 11.4 model: Hewlett-Packard PABAS0241231 type: Li-ion
  serial: <filter> status: Charging
  Info: Dual Core model: AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G bits: 64
  type: MCP arch: Excavator family: 15 (21) model-id: 70 (112) stepping: 0
  microcode: 6006705 cache: L1: 256 KiB L2: 2 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  bogomips: 12380
  Speed: 1396 MHz min/max: 1400/3100 MHz boost: enabled Core speeds (MHz):
  1: 1397 2: 1397
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
  disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Hewlett-Packard
  driver: amdgpu v: kernel bus-ID: 00:01.0 chip-ID: 1002:98e4 class-ID: 0300
  Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
  bus-ID: 2-1:2 chip-ID: 04f2:b65d class-ID: 0e02 serial: <filter>
  Display: wayland server: X(dot)org compositor: gnome-shell driver:
  loaded: amdgpu note: n/a (using device driver) - try sudo/root display-ID: 0
  resolution: <missing: xdpyinfo>
  OpenGL: renderer: AMD STONEY (DRM 3.42.0 5.15.2-2-MANJARO LLVM 13.0.0)
  v: 4.5 Mesa 21.2.5 direct render: Yes
  Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
  bus-ID: 00:01.1 chip-ID: 1002:15b3 class-ID: 0403
  Device-2: AMD Family 15h Audio vendor: Hewlett-Packard driver: snd_hda_intel
  v: kernel bus-ID: 00:09.2 chip-ID: 1022:157a class-ID: 0403
  Sound Server-1: ALSA v: k5.15.2-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: no
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 02:00.0
  chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard
  driver: rtw_8723de v: N/A modules: rtw88_8723de port: 2000 bus-ID: 03:00.0
  chip-ID: 10ec:d723 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb
  v: 0.8 bus-ID: 1-1.4:3 chip-ID: 0bda:b009 class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
  Local Storage: total: 238.47 GiB used: 8.58 GiB (3.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNLN256HAJQ-000H1
  size: 238.47 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
  type: SSD serial: <filter> rev: 4H3Q scheme: GPT
  ID-1: / raw-size: 180.66 GiB size: 176.77 GiB (97.84%) used: 8.54 GiB (4.8%)
  fs: ext4 dev: /dev/sda5 maj-min: 8:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
  used: 38.2 MiB (39.8%) fs: vfat dev: /dev/sda2 maj-min: 8:2
  Alert: No swap data was found.
  System Temperatures: cpu: 33.6 C mobo: 20.0 C gpu: amdgpu temp: 33.0 C
  Fan Speeds (RPM): N/A
  Processes: 189 Uptime: 1m wakeups: 1 Memory: 7.24 GiB used: 1.75 GiB (24.2%)
  Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 Packages:
  pacman: 1137 lib: 298 flatpak: 0 Shell: Zsh v: 5.8
  running-in: gnome-terminal inxi: 3.3.09

but that is not rtl8814au
you need AUR (en) - rtl8723de-dkms-git
pamac build rtl8723de-dkms-git

1 Like