Hallo zusammen,
fast genau vor einem Jahr habe ich ein Problem mit meinem WiFi Adapter in diesem Forum gepostet. Dieses Problem hat sich durch eine Neuinstallation in damals zu meinem großen Erstaunen in Luft aufgelöst. Vor ein paar Monaten habe ich meinen Raspi neu installiert und stehe nun vor dem gleichen Problem.
Problembeschreibung:
Ich besitze folgenden W-Lan Adapter:
Dieser wird vom System wie folgt gelistet:
$ iwconfig
...
wlan1 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
...
Alles anzeigen
Den Adapter möchte ich nun gerne in den Monitor Mode schalten. Dies funktioniert jedoch leider nicht:
$ sudo ip link set wlan1 down
$ sudo iw dev wlan1 set type monitor
command failed: No such device (-19)
Bisheriges Vorgehen (Ergebnis immer wie beschrieben):
Versuch 1: Installation wie hier beschrieben
- CONFIG_PLATFORM_I386_PC = n
- CONFIG_PLATFORM_ARM_RPI = y
- make
- sudo insmod 8812au.ko
- sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
- sudo depmod
Versuch 2: Installation wie hier beschrieben via dkms.
Dies hat offenbar auch funktioniert:
$ sudo make dkms_install
mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025
Error! DKMS tree already contains: 8812au-5.6.4.2_35491.20191025
You cannot add the same module/version combo more than once.
make: *** [Makefile:2303: dkms_install] Error 3
Wenn ich die Ausgabe von lsmod richtig interpretiere, werden die Treiber schlicht nicht verwendet:
$ lsmod
Module Size Used by
cmac 16384 1
rfcomm 49152 4
bnep 20480 2
hci_uart 40960 1
btbcm 16384 1 hci_uart
bluetooth 393216 29 hci_uart,bnep,btbcm,rfcomm
ecdh_generic 16384 2 bluetooth
ecc 40960 1 ecdh_generic
fuse 126976 3
8021q 32768 0
garp 16384 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
88XXau 2027520 0
8812au 933888 0
v3d 73728 3
gpu_sched 45056 1 v3d
brcmfmac 327680 0
brcmutil 20480 1 brcmfmac
sg 28672 0
sha256_generic 16384 0
raspberrypi_hwmon 16384 0
cfg80211 761856 2 88XXau,brcmfmac
rfkill 32768 6 bluetooth,cfg80211
bcm2835_v4l2 40960 0
snd_bcm2835 24576 4
videobuf2_vmalloc 16384 1 bcm2835_v4l2
bcm2835_codec 40960 0
bcm2835_isp 32768 0
bcm2835_mmal_vchiq 32768 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
v4l2_mem2mem 36864 1 bcm2835_codec
videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2 32768 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 61440 5 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
videodev 249856 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
mc 45056 6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
vc_sm_cma 32768 2 bcm2835_isp,bcm2835_mmal_vchiq
vc4 270336 3
cec 49152 1 vc4
drm_kms_helper 241664 3 vc4
drm 520192 10 v3d,vc4,gpu_sched,drm_kms_helper
drm_panel_orientation_quirks 16384 1 drm
snd_soc_core 225280 1 vc4
snd_compress 20480 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 110592 4 snd_compress,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core
snd_timer 32768 1 snd_pcm
rpivid_mem 16384 0
snd 77824 13 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
backlight 20480 1 drm
nvmem_rmem 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
i2c_dev 20480 0
ip_tables 28672 0
x_tables 32768 1 ip_tables
ipv6 495616 57
Alles anzeigen
Da ich bei Treibern ehrlich gesagt nicht soo fit bin, würde ich mich über einen Wink mit dem Zaunpfahl sehr freuen, was ich hier falsch mache.
Gruss,
Toni