Need help setting up Edimax EW-7811UTC Network adapter

Before I say anything I’m still using Windows since I cant get my wireless adapter running on Linux (I’m dual booting), Anyways I’m fairly new to Linux so I’m still getting around to setting up all my devices, I do need help with setting up my wireless Adapter, is there anything specific things I need to do to set it up? If anyone could give me step by step instructions to set my wireless adapter up would be nice thanks in advance!

P.S: If you need more info on my hardware just ask for it.

    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=4a2ba960-b4d7-4f37-8845-db64081fb469 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: LENOVO product: 7360B33 v: ThinkCentre M58
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO
    v: 5CKT68AUS date: 11/05/2010
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: Discharging
Memory:
  RAM: total: 5.64 GiB used: 2.07 GiB (36.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core2 Quad Q9400 bits: 64 type: MCP arch: Core Yorkfield
    family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 6 MiB desc: 2x3 MiB
  Speed (MHz): avg: 2003 high: 2027 min/max: 2000/2667 scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2027 2: 1995 3: 1995
    4: 1995 bogomips: 21291
  Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
    cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts est flexpriority fpu fxsr ht
    lahf_lm lm mca mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge
    pni pse pse36 pti rep_good sep smx sse sse2 sse4_1 ssse3 syscall tm tm2
    tpr_shadow tsc vme vmx vnmi vpid xsave xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nvidia
    v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 2 speed: 5 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 2-4:3 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.9x11.9")
    s-diag: 610mm (24")
  Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    v: 4.6.0 NVIDIA 510.54 direct render: Yes
Audio:
  Device-1: Intel 82801JD/DO HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3a6e class-ID: 0403
  Device-2: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:0fb9 class-ID: 0403
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 2-4:3 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.25-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.47 running: yes
Network:
  Device-1: Intel 82567LM-3 Gigabit Network vendor: Lenovo driver: e1000e
    v: kernel port: 1820 bus-ID: 00:19.0 chip-ID: 8086:10de class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  IF-ID-1: bnep0 state: unknown speed: N/A duplex: N/A mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Broadcom BCM20702A0 Bluetooth 4.0 type: USB driver: btusb v: 0.8
    bus-ID: 8-1:2 chip-ID: 0a5c:21e8 class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.13 TiB used: 9.75 GiB (0.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: SSD serial: <filter> rev: 0100 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: SBM3 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 931.51 GiB size: 915.81 GiB (98.31%) used: 9.75 GiB (1.1%)
    fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: N/A
    uuid: 4a2ba960-b4d7-4f37-8845-db64081fb469
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 50 MiB fs: ntfs label: System Reserved
    uuid: 96165EA3165E83E1
  ID-2: /dev/sda2 maj-min: 8:2 size: 223.02 GiB fs: ntfs label: N/A
    uuid: EC4667BF46678962
  ID-3: /dev/sda3 maj-min: 8:3 size: 509 MiB fs: ntfs label: N/A
    uuid: D0B4D97DB4D9668E
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Full speed or root hub ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 2-3:2 info: Edimax AC600 USB type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 500mA chip-ID: 7392:a812
    class-ID: 0000 serial: <filter>
  Device-2: 2-4:3 info: Logitech Webcam C270 type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Hub-3: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 3-2:2 info: Pixart Imaging Optical Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 093a:2510 class-ID: 0301
  Hub-4: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-5: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-6: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-7: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-8: 8-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 8-1:2 info: Broadcom BCM20702A0 Bluetooth 4.0 type: Bluetooth
    driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:21e8
    class-ID: fe01 serial: <filter>
  Device-2: 8-2:3 info: Logitech Unifying Receiver type: Keyboard,Mouse
    driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c534 class-ID: 0301
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A gpu: nvidia temp: 37 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:
  Processes: 205 Uptime: 26m wakeups: 2 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1200 lib: 330
  flatpak: 0 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.13```

Please give more information about your hardware.

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    [HowTo] Provide System Information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

Ok done and done.

Looks like it is this driver:
https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git

Make sure that you have the appropriate Linux headers installed for your kernel. Then install via pamac in terminal or pamac GUI. In addition, be certain that in a dual boot situation that Windows is completely shutdown (always) and hibernation and fast boot are disabled. Good Luck.

pamac build rtl88xxau-aircrack-dkms-git

1 Like

Thanks! Im installing them as we speak!

After a few hours of trying im still having this problem

Preparing...
Cloning rtl8821au-dkms-git build files...
Generating rtl8821au-dkms-git information...
Checking rtl8821au-dkms-git dependencies...
Error: Failed to prepare transaction: could not find database



Edit build files : [e] 
Apply transaction ? [e/y/N] y

Transaction cancelled.
    ~                                                                                       1 ✘  18s  ```

having no database cannot be good :wink:
so:

I copy/pasted and searched for that error message
and this came up:

The essence is:
what happens after you have run:
sudo pacman -Syy
or
sudo pacman -Syyu
and then tried again … ?

So now somehow it decides to work but now it throws me another error

Preparing...
Cloning rtl8821au-dkms-git build files...
Generating rtl8821au-dkms-git information...
Checking rtl8821au-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (11):
  m4                  1.4.19-1                                                    core   264.5 kB
  autoconf            2.71-1                                                      core   660.7 kB
  pkgconf             1.8.0-1                                                     core   59.0 kB
  flex                2.6.4-3                                                     core   304.4 kB
  gc                  8.2.0-2                  (Required By: make)                extra  238.6 kB
  guile               2.2.7-2                  (Required By: make)                extra  6.6 MB
  make                4.3-3                                                       core   493.2 kB
  bison               3.8.2-1                                                     core   803.5 kB
  patch               2.7.6-8                                                     core   94.7 kB
  automake            1.16.5-1                                                    core   627.5 kB
  dkms                3.0.3-1                  (Required By: rtl8821au-dkms-git)  extra  37.1 kB
To build (1):
  rtl8821au-dkms-git  5.12.5.2.r95.ge4ad4ba-1                                     AUR

Total download size: 10.2 MB
Total installed size: 57.3 MB

Edit build files : [e] 
Apply transaction ? [e/y/N] y

Error: Failed to prepare transaction: target not found: flex

Like I said im new to linux so im sorry if im missing something that is very obvious!

sudo pacman -Syu base-devel

(install the base-devel package group, all of which is needed at some point when dealing with AUR)

Or see the messages:

flex
is needed, but not installed

Oh ok, Since im using my phones tethering this will take a while to download, Anyways ill report back if it works or not.

If you use tethering and need to keep down the downloaded data volume
just install flex and see if it will suffice (for the time being).

You could also connect your phone to the wlan - and then use usb tethering to get to use that
but I guess that is what you are doing already - so:
no issues with the amount of data …

Ok, from the errors im thinking I need a kernel header

==> ERROR: Missing run kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing opt kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing bin kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing etc kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing rootfs-pkgs.txt kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing lib kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing srv kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing var kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing tmp kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing proc kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing dev kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing sys kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing mnt kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing lib64 kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing home kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing boot kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing usr kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing sbin kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing root kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing desktopfs-pkgs.txt kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
==> ERROR: Missing lost+found kernel headers for module 8821au/5.12.5.2.r125.g377d3ca.
Refreshing PackageKit...                                                                                 [3/3]
Transaction successfully finished.
    ~            ```

update:
I searched up how to install headers but which should I choose

[sudo] password for kevinp: 
:: There are 11 providers available for linux-headers:
:: Repository core
   1) linux414-headers  2) linux419-headers  3) linux44-headers  4) linux49-headers  5) linux510-headers
   6) linux515-headers  7) linux516-headers  8) linux517-headers  9) linux54-headers
:: Repository community
   10) linux515-rt-headers  11) linux516-rt-headers

Enter a number (default=1): 

of course you need the kernel headers
at least the ones for the kernel that you are running (and trying to build a loadable kernel module for) right now.

the versions of kernel that you intend to build it for/run it on
at least the one you are running right now …

It would probably be a good idea to familiarize yourself with what it means to compile stuff
… to be able to use the AUR …

ERROR: Missing 4.14.268-1-MANJARO kernel modules tree for module 8821au/5.12.5.2.r125.g377d3ca. Refreshing PackageKit...

It is some error on your end. I downloaded the snapshot and built it calling makepkg. I did not try to install as I have no need for this:

makepkg -cs                               
==> Making package: rtl88xxau-aircrack-dkms-git r1174.3a6402e-1 (Sat 05 Mar 2022 01:17:01 PM EST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for jrichard: 
resolving dependencies...
looking for conflicting packages...

Packages (1) dkms-3.0.3-1

Total Download Size:   0.04 MiB
Total Installed Size:  0.10 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 dkms-3.0.3-1-any       36.2 KiB  47.3 KiB/s 00:01 [----------------------] 100%
(1/1) checking keys in keyring                     [----------------------] 100%
(1/1) checking package integrity                   [----------------------] 100%
(1/1) loading package files                        [----------------------] 100%
(1/1) checking for file conflicts                  [----------------------] 100%
(1/1) checking available disk space                [----------------------] 100%
:: Processing package changes...
(1/1) installing dkms                              [----------------------] 100%
Optional dependencies for dkms
    linux-headers: build modules against the Arch kernel [installed]
    linux-lts-headers: build modules against the LTS kernel
    linux-zen-headers: build modules against the ZEN kernel
    linux-hardened-headers: build modules against the HARDENED kernel
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning rtl88xxau git repo...
Cloning into bare repository '/home/jrichard/Documents/rtl/rtl88xxau'...
remote: Enumerating objects: 12200, done.
remote: Counting objects: 100% (621/621), done.
remote: Compressing objects: 100% (477/477), done.
remote: Total 12200 (delta 238), reused 480 (delta 131), pack-reused 11579
Receiving objects: 100% (12200/12200), 73.56 MiB | 5.96 MiB/s, done.
Resolving deltas: 100% (8318/8318), done.
  -> Found dkms.conf
==> WARNING: Skipping verification of source file checksums.
==> Extracting sources...
  -> Creating working copy of rtl88xxau git repo...
Cloning into 'rtl88xxau'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Updated version: rtl88xxau-aircrack-dkms-git r1181.37e27f9-1
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "rtl88xxau-aircrack-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rtl88xxau-aircrack-dkms-git r1181.37e27f9-1 (Sat 05 Mar 2022 01:17:29 PM EST)

It’s hard to tell but also it looks quite obvious:
That kernel - is it still available in Manjaro?
If not - no header files of it/for it are either.

Boot and use a current kernel.
and remove those that are no longer used and/or supported.

… (Q) are they supported?
… (A) can you still install it?

if you can’t - it’s no longer supported …

pamac install linux 515-headers or use pamac GUI

It looks like you are running 5.15, but the inxi is incomplete at the top. My original response noted to make sure that you have the appropriate kernel headers installed…