Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
-
willy4711
Beitrag
von willy4711 » 16.01.2021 09:46:00
AxelMD hat geschrieben: 
16.01.2021 09:33:38
Sollte gnab auch mit dem 5.9.0-0.bpo.5-amd64 Kernel funktionieren?
Wirst du wohl selber probieren müssen.
Ich halte das immer so, dass ich erst mal schaue, ob die Debian Firmware (Testing /Sid) für mein Gerät zur Verfügung steht.
Da gibt es i.R. genügend, auch für neue Hardware.
-
AxelMD
- Beiträge: 1457
- Registriert: 15.03.2009 08:02:11
Beitrag
von AxelMD » 16.01.2021 10:36:24
Debian Buster 10 LXQt
der netis WF2190 funktioniert mit
https://github.com/gnab/rtl8812au
Code: Alles auswählen
cat README.md
## Changes
2019-07-11: Updated to compile against kernel 5.2
## Realtek 802.11ac (rtl8812au)
This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 (7502.20130507)
driver altered to build on Linux kernel version >= 3.10.
### Purpose
My D-Link DWA-171 wireless dual-band USB adapter needs the Realtek 8812au
driver to work under Linux.
The current rtl8812au version (per nov. 20th 2013) doesn't compile on Linux
kernels >= 3.10 due to a change in the proc entry API, specifically the
deprecation of the `create_proc_entry()` and `create_proc_read_entry()`
functions in favor of the new `proc_create()` function.
### Building
The Makefile is preconfigured to handle most x86/PC versions. If you are compiling for something other than an intel x86 architecture, you need to first select the platform, e.g. for the Raspberry Pi, you need to set the I386 to n and the ARM_RPI to y:
```sh
...
CONFIG_PLATFORM_I386_PC = n
...
CONFIG_PLATFORM_ARM_RPI = y
```
There are many other platforms supported and some other advanced options, e.g. PCI instead of USB, but most won't be needed.
The driver is built by running `make`, and can be tested by loading the
built module using `insmod`:
```sh
$ make
$ sudo insmod 8812au.ko
```
After loading the module, a wireless network interface named __Realtek 802.11n WLAN Adapter__ should be available.
### Installing
Installing the driver is simply a matter of copying the built module
into the correct location and updating module dependencies using `depmod`:
```sh
$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo depmod
```
The driver module should now be loaded automatically.
### DKMS
Automatically rebuilds and installs on kernel updates. DKMS is in official sources of Ubuntu, for installation do:
```sh
$ sudo apt-get install build-essential dkms
```
The driver source must be copied to /usr/src/8812au-4.2.2
Then add it to DKMS:
```sh
$ sudo dkms add -m 8812au -v 4.2.2
$ sudo dkms build -m 8812au -v 4.2.2
$ sudo dkms install -m 8812au -v 4.2.2
```
Check with:
```sh
$ sudo dkms status
```
Automatically load at boot:
```sh
$ echo 8812au | sudo tee -a /etc/modules
```
Eventually remove from DKMS with:
```sh
$ sudo dkms remove -m 8812au -v 4.2.2 --all
```
### References
- D-Link DWA-171
- [D-Link page](http://www.dlink.com/no/nb/home-solutions/connect/adapters/dwa-171-wireless-ac-dual-band-usb-adapter)
- [wikidevi page](http://wikidevi.com/wiki/D-Link_DWA-171_rev_A1)
-
AxelMD
- Beiträge: 1457
- Registriert: 15.03.2009 08:02:11
Beitrag
von AxelMD » 08.01.2025 00:18:45
https://github.com/morrownr/8812au-2021 ... tion-steps
Code: Alles auswählen
sudo apt update && sudo apt upgrade -y
#### reboot ####
sudo apt install -y linux-headers-$(uname -r) build-essential bc dkms git libelf-dev rfkill iw
git clone https://github.com/morrownr/8812au-20210820.git
cd 8812au-20210820
./install-driver.sh
-
Code: Alles auswählen
apt install -y linux-headers-$(uname -r) build-essential bc dkms git libelf-dev rfkill iw
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden zusätzlichen Pakete werden installiert:
binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 dirmngr dpkg-dev fakeroot
fontconfig-config fonts-dejavu-core g++ g++-12 gcc gcc-12 git-man gnupg gnupg-l10n gnupg-utils gpg
gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libabsl20220623 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libaom3 libasan8 libassuan0 libatomic1 libavif15
libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdav1d6
libde265-0 libdeflate0 libdpkg-perl liberror-perl libfakeroot libfile-fcntllock-perl libfontconfig1
libgav1-1 libgcc-12-dev libgd3 libgomp1 libgprofng0 libheif1 libisl23 libitm1 libjbig0 libjpeg62-turbo
libksba8 liblerc4 liblsan0 libmpc3 libmpfr6 libnl-3-200 libnl-genl-3-200 libnpth0 libnsl-dev libnuma1
libquadmath0 librav1e0 libstdc++-12-dev libsvtav1enc1 libtiff6 libtirpc-dev libtsan2 libubsan1
libwebp7 libx265-199 libxpm4 libyuv0 linux-compiler-gcc-12-x86 linux-headers-6.1.0-28-common
linux-headers-amd64 linux-kbuild-6.1 linux-libc-dev make manpages-dev patch pinentry-curses
rpcsvc-proto wireless-regdb zlib1g-dev
Vorgeschlagene Pakete:
binutils-doc cpp-doc gcc-12-locales cpp-12-doc pinentry-gnome3 tor menu debian-keyring g++-multilib
g++-12-multilib gcc-12-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc
gcc-12-multilib git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs
git-mediawiki git-svn parcimonie xloadimage scdaemon glibc-doc bzr libgd-tools libstdc++-12-doc
make-doc ed diffutils-doc pinentry-doc
Die folgenden NEUEN Pakete werden installiert:
bc binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-12 dirmngr dkms dpkg-dev
fakeroot fontconfig-config fonts-dejavu-core g++ g++-12 gcc gcc-12 git git-man gnupg gnupg-l10n
gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm iw libabsl20220623
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libaom3 libasan8 libassuan0
libatomic1 libavif15 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev
libctf-nobfd0 libctf0 libdav1d6 libde265-0 libdeflate0 libdpkg-perl libelf-dev liberror-perl
libfakeroot libfile-fcntllock-perl libfontconfig1 libgav1-1 libgcc-12-dev libgd3 libgomp1 libgprofng0
libheif1 libisl23 libitm1 libjbig0 libjpeg62-turbo libksba8 liblerc4 liblsan0 libmpc3 libmpfr6
libnl-3-200 libnl-genl-3-200 libnpth0 libnsl-dev libnuma1 libquadmath0 librav1e0 libstdc++-12-dev
libsvtav1enc1 libtiff6 libtirpc-dev libtsan2 libubsan1 libwebp7 libx265-199 libxpm4 libyuv0
linux-compiler-gcc-12-x86 linux-headers-6.1.0-28-amd64 linux-headers-6.1.0-28-common
linux-headers-amd64 linux-kbuild-6.1 linux-libc-dev make manpages-dev patch pinentry-curses rfkill
rpcsvc-proto wireless-regdb zlib1g-dev
0 aktualisiert, 101 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 111 MB an Archiven heruntergeladen werden.
Firmwarepaket nicht vergessen!
Code: Alles auswählen
sudo apt install /home/axel/firmware-realtek_20241210-1_all.deb
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Hinweis: »firmware-realtek« wird an Stelle von »/home/axel/firmware-realtek_20241210-1_all.deb« gewählt.
Die folgenden NEUEN Pakete werden installiert:
firmware-realtek
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 2.648 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 18,1 MB Plattenplatz zusätzlich benutzt.
Holen:1 /home/zxz/firmware-realtek_20241210-1_all.deb firmware-realtek all 20241210-1 [2.648 kB]
Vormals nicht ausgewähltes Paket firmware-realtek wird gewählt.
(Lese Datenbank ... 60682 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../firmware-realtek_20241210-1_all.deb ...
Entpacken von firmware-realtek (20241210-1) ...
firmware-realtek (20241210-1) wird eingerichtet ...
Trigger für initramfs-tools (0.142+deb12u1) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
W: initramfs-tools configuration sets RESUME=UUID=c2193813-488d-47cc-8a9b-4e8a96bba690
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sda11
I: (UUID=945789b9-2f7e-430c-b20c-70d086a59f08)
I: Set the RESUME variable to override this.
N: Der Download wird als root und nicht Sandbox-geschützt durchgeführt, da auf die Datei »/home/zxz/firmware-realtek_20241210-1_all.deb« durch den Benutzer »_apt« nicht zugegriffen werden kann. - pkgAcquire::Run (13: Keine Berechtigung)
Kernel 6.8xxxx funktioniert so auch.