Results 1 to 11 of 11

Thread: FYI: Please install lspci from your distro's package manger [solved] RPI 4B (And Unknown error 524)

  1. #1
    Join Date
    2014-Jun
    Posts
    22

    FYI: Please install lspci from your distro's package manger [solved] RPI 4B (And Unknown error 524)

    If youre thinking of using Airmon-ng to start up the monitor mode on your new Raspberry PI 4B (Kali.2019.2a.ARM 32 bit), you may encounter this error

    Code:
    root@kali:~# airmon-ng
    Please install lspci from your distro's package manger
    root@kali:~#
    To fix this simply add
    Code:
    apt-get install pciutils
    And it works as it should..
    .. Kinda..

    Unknown error 524 (-524)

    That specific error i have encountered before. here ( https://forums.kali.org/showthread.p...partly-working ) command failed: Unknown error 524 (-524)

    However unlike that error i do have full monitor mode, and all of the 30 tried injection went through. and it seems to work as it should
    Code:
    aireplay-ng -9 wlan0mon
    Also worth mention is that the airmon-ng returns with BOTH wlan0 and wlan0mon interfaces. (even if "airmon-ng check kill" is used) In Kali i386 wlan0 is removed/renamed to just wlan0mon. the same two interfaces do NOT appear anymore.

    exactly what is that error?
    Last edited by webbsmurfen; 2019-07-25 at 14:25.

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    Where do you get that error? Without context, it's hard to say what it is.

    Also, before trying to reproduce, could you clear dmesg (using dmesg -c), will will output everything in the console, then reproduce the error (and show the command you ran and the whole output) and run 'dmesg' and attach the output to this thread. The reason for clearing is to remove anything useless. Please reboot if it already happened, so we get all the details (there might be error messages happening once).

  3. #3
    Join Date
    2014-Jun
    Posts
    22
    Okay, so lets start with the basics.

    OS-image kali-linux-2019.2a-rpi3-nexmon.img
    Raspberry Pi 4B 4Gb

    The only thing extra installed or changed from ISO is Leafpad

    A note: Its not a qrestion if the wireless is working or not, It does because i can see wireless accesspoints in GUI. Its a qrestion of getting it to monitormode in the correct way without errors

    From fist run
    Code:
    root@kali:~# dmesg -c
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.55-Re4son-v7l+ (root@kali-pi-dev) (gcc version 8.2.0 (Debian 8.2.0-6)) #1 SMP Sun Jun 30 15:39:30 AEST 2019
    [    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 64 MiB at 0x0000000037400000
    [    0.000000] On node 0 totalpages: 1012736
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 196608 pages, LIFO batch:63
    [    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
    [    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e0 with crng_init=0
    [    0.000000] percpu: Embedded 17 pages/cpu s40204 r8192 d21236 u69632
    [    0.000000] pcpu-alloc: s40204 r8192 d21236 u69632 alloc=17*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
    [    0.000000] Kernel command line: 8250.nr_uarts=0 cma=64M bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:05:54:0A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.fiq_fix_enable=2 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 3932660K/4050944K available (8192K kernel code, 704K rwdata, 2388K rodata, 2048K init, 858K bss, 52748K reserved, 65536K cma-reserved, 3198976K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 705 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 859 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] ftrace: allocating 28632 entries in 84 pages
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    [    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    [    0.000021] Switching to timer-based delay loop, resolution 18ns
    [    0.000245] Console: colour dummy device 80x30
    [    0.000702] console [tty1] enabled
    [    0.000752] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
    [    0.000794] pid_max: default: 32768 minimum: 301
    [    0.001074] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001106] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.002174] Disabling memory control group subsystem
    [    0.002269] CPU: Testing write buffer coherency: ok
    [    0.002678] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.003325] Setting up static identity map for 0x200000 - 0x20003c
    [    0.003497] rcu: Hierarchical SRCU implementation.
    [    0.004365] smp: Bringing up secondary CPUs ...
    [    0.005230] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.006204] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.007133] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.007263] smp: Brought up 1 node, 4 CPUs
    [    0.007327] SMP: Total of 4 processors activated (432.00 BogoMIPS).
    [    0.007350] CPU: All CPU(s) started in HYP mode.
    [    0.007370] CPU: Virtualization extensions available.
    [    0.008163] devtmpfs: initialized
    [    0.018452] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
    [    0.018692] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.018734] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.020525] pinctrl core: initialized pinctrl subsystem
    [    0.021334] NET: Registered protocol family 16
    [    0.023501] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.024862] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.024892] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.025082] Serial: AMBA PL011 UART driver
    [    0.028016] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    [    0.062540] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.062586] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.063432] bcm2835-dma fe007b00.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.064353] vgaarb: loaded
    [    0.064739] SCSI subsystem initialized
    [    0.064942] usbcore: registered new interface driver usbfs
    [    0.065008] usbcore: registered new interface driver hub
    [    0.065117] usbcore: registered new device driver usb
    [    0.080341] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-06-25 12:53, variant start
    [    0.090077] raspberrypi-firmware soc:firmware: Firmware hash is d07dd5438703d0f664bc1385c89e755d128aa5a4
    [    0.101577] clocksource: Switched to clocksource arch_sys_counter
    [    0.181543] VFS: Disk quotas dquot_6.6.0
    [    0.181666] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.181826] FS-Cache: Loaded
    [    0.182016] CacheFiles: Loaded
    [    0.191372] NET: Registered protocol family 2
    [    0.192061] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.192107] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.192178] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.192260] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.192398] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.192441] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.192753] NET: Registered protocol family 1
    [    0.193308] RPC: Registered named UNIX socket transport module.
    [    0.193334] RPC: Registered udp transport module.
    [    0.193355] RPC: Registered tcp transport module.
    [    0.193376] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.193403] PCI: CLS 0 bytes, default 64
    [    0.195882] Initialise system trusted keyrings
    [    0.196076] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [    0.205270] FS-Cache: Netfs 'nfs' registered for caching
    [    0.205769] NFS: Registering the id_resolver key type
    [    0.205814] Key type id_resolver registered
    [    0.205835] Key type id_legacy registered
    [    0.205866] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.210652] Key type asymmetric registered
    [    0.210680] Asymmetric key parser 'x509' registered
    [    0.210802] bounce: pool size: 64 pages
    [    0.210855] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    [    0.211035] io scheduler noop registered
    [    0.211059] io scheduler deadline registered
    [    0.211228] io scheduler cfq registered (default)
    [    0.211251] io scheduler mq-deadline registered
    [    0.211273] io scheduler kyber registered
    [    0.259718] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
    [    0.259763] brcm-pcie fd500000.pcie: could not get clock
    [    0.259837] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    [    0.259887] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
    [    0.311616] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
    [    0.311887] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    [    0.311918] pci_bus 0000:00: root bus resource [bus 00-01]
    [    0.311946] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
    [    0.312009] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    [    0.312144] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.314739] PCI: bus0: Fast back to back transfers disabled
    [    0.314769] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.314951] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    [    0.315011] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    [    0.315179] pci 0000:01:00.0: PME# supported from D0 D3cold
    [    0.317670] PCI: bus1: Fast back to back transfers disabled
    [    0.317700] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
    [    0.317746] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    [    0.317780] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    [    0.317828] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.317856] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
    [    0.317929] pci 0000:00:00.0: enabling device (0140 -> 0142)
    [    0.317964] pci 0000:01:00.0: enabling device (0140 -> 0142)
    [    0.318343] bcm2708_fb soc:fb: FB found 1 display(s)
    [    0.352881] Console: switching to colour frame buffer device 160x64
    [    0.359558] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1280x1024
    [    0.362439] iproc-rng200 fe104000.rng: hwrng registered
    [    0.362708] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [    0.363266] vc-sm: Videocore shared memory driver
    [    0.363681] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
    [    0.373876] brd: module loaded
    [    0.383560] loop: module loaded
    [    0.384319] Loading iSCSI transport class v2.0-870.
    [    0.386018] libphy: Fixed MDIO Bus: probed
    [    0.386474] bcmgenet fd580000.genet: failed to get enet clock
    [    0.386549] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
    [    0.386620] bcmgenet fd580000.genet: failed to get enet-wol clock
    [    0.386695] bcmgenet fd580000.genet: failed to get enet-eee clock
    [    0.386998] unimac-mdio unimac-mdio.-19: DMA mask not set
    [    0.401614] libphy: bcmgenet MII bus: probed
    [    0.442329] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
    [    0.443296] usbcore: registered new interface driver r8152
    [    0.443421] usbcore: registered new interface driver lan78xx
    [    0.443530] usbcore: registered new interface driver smsc95xx
    [    0.443852] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    0.443937] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    [    0.446055] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000000000000890
    [    0.446290] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 53
    [    0.446979] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    0.447071] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.447152] usb usb1: Product: xHCI Host Controller
    [    0.447212] usb usb1: Manufacturer: Linux 4.19.55-Re4son-v7l+ xhci-hcd
    [    0.447285] usb usb1: SerialNumber: 0000:01:00.0
    [    0.447858] hub 1-0:1.0: USB hub found
    [    0.450203] hub 1-0:1.0: 1 port detected
    [    0.452900] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    0.455191] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    [    0.457506] xhci_hcd 0000:01:00.0: Host supports USB 3.0  SuperSpeed
    [    0.460154] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [    0.462558] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.464915] usb usb2: Product: xHCI Host Controller
    [    0.467230] usb usb2: Manufacturer: Linux 4.19.55-Re4son-v7l+ xhci-hcd
    [    0.469554] usb usb2: SerialNumber: 0000:01:00.0
    [    0.472419] hub 2-0:1.0: USB hub found
    [    0.474775] hub 2-0:1.0: 4 ports detected
    [    0.478122] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    0.505959] dwc_otg fe980000.usb: base=(ptrval)
    [    0.708522] Core Release: 2.80a
    [    0.710823] Setting default values for core params
    [    0.713139] Finished setting default values for core params
    [    0.915736] Using Buffer DMA mode
    [    0.917989] Periodic Transfer Interrupt Enhancement - disabled
    [    0.920250] Multiprocessor Interrupt Enhancement - disabled
    [    0.922507] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    0.924746] Dedicated Tx FIFOs mode
    [    0.927385] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = f3899000 dma = 0x00000000f7480000 len=9024
    [    0.929708] FIQ FSM acceleration enabled for :
                   Non-periodic Split Transactions
                   Periodic Split Transactions
                   High-Speed Isochronous Endpoints
                   Interrupt/Control Split Transaction hack enabled
    [    0.941016] dwc_otg: Microframe scheduler enabled
    [    0.941084] WARN::hcd_init_fiq:457: FIQ on core 1
    [    0.943368] WARN::hcd_init_fiq:458: FIQ ASM at c07e47f8 length 36
    [    0.945650] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
    [    0.947935] dwc_otg fe980000.usb: DWC OTG Controller
    [    0.950179] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
    [    0.952453] dwc_otg fe980000.usb: irq 36, io mem 0x00000000
    [    0.954696] Init: Port Power? op_state=1
    [    0.956867] Init: Power Port (0)
    [    0.959266] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    0.961485] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.961616] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    [    0.963724] usb usb3: Product: DWC OTG Controller
    [    0.968125] usb usb3: Manufacturer: Linux 4.19.55-Re4son-v7l+ dwc_otg_hcd
    [    0.970365] usb usb3: SerialNumber: fe980000.usb
    [    0.973119] hub 3-0:1.0: USB hub found
    [    0.975414] hub 3-0:1.0: 1 port detected
    [    0.978224] dwc_otg: FIQ enabled
    [    0.978233] dwc_otg: NAK holdoff enabled
    [    0.978242] dwc_otg: FIQ split-transaction FSM enabled
    [    0.978254] Module dwc_common_port init
    [    0.978470] usbcore: registered new interface driver uas
    [    0.980808] usbcore: registered new interface driver usb-storage
    [    0.983212] mousedev: PS/2 mouse device common for all mice
    [    0.986499] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    [    0.988923] bcm2835-cpufreq: min=600000 max=1500000
    [    0.991816] sdhci: Secure Digital Host Controller Interface driver
    [    0.994096] sdhci: Copyright(c) Pierre Ossman
    [    0.996711] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
    [    0.999332] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.004285] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.005499] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.006717] usbcore: registered new interface driver usbhid
    [    1.007863] usbhid: USB HID core driver
    [    1.009475] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
    [    1.011629] [vc_sm_connected_init]: start
    [    1.019980] [vc_sm_connected_init]: end - returning 0
    [    1.021540] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    [    1.022735] [vc_sm_connected_init]: start
    [    1.024023] [vc_sm_connected_init]: installed successfully
    [    1.025329] Initializing XFRM netlink socket
    [    1.026481] NET: Registered protocol family 17
    [    1.027654] Key type dns_resolver registered
    [    1.028915] Registering SWP/SWPB emulation handler
    [    1.030250] registered taskstats version 1
    [    1.031361] Loading compiled-in X.509 certificates
    [    1.032850] Key type encrypted registered
    [    1.037372] uart-pl011 fe201000.serial: cts_event_workaround enabled
    [    1.038556] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 33, base_baud = 0) is a PL011 rev2
    [    1.041743] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    [    1.043157] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
    [    1.044577] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
    [    1.045727] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
    [    1.071804] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
    [    1.090926] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [    1.094869] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.098725] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.103845] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [    1.106073] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
    [    1.110582] of_cfs_init
    [    1.112858] of_cfs_init: OK
    [    1.115651] Waiting for root device /dev/mmcblk0p2...
    [    1.119297] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.143473] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
    [    1.145731] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    1.147984] usb 1-1: Product: USB2.0 Hub
    [    1.151731] hub 1-1:1.0: USB hub found
    [    1.154192] hub 1-1:1.0: 4 ports detected
    [    1.162008] random: fast init done
    [    1.169399] mmc0: new high speed SDHC card at address e624
    [    1.171147] mmcblk0: mmc0:e624 SU16G 14.8 GiB
    [    1.173731]  mmcblk0: p1 p2
    [    1.194789] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: noload
    [    1.195651] mmc1: new high speed SDIO card at address 0001
    [    1.197055] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    1.209546] devtmpfs: mounted
    [    1.213763] Freeing unused kernel memory: 2048K
    [    1.261850] Run /sbin/init as init process
    [    1.481616] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
    [    1.617269] usb 1-1.3: New USB device found, idVendor=24ae, idProduct=2000, bcdDevice=10.01
    [    1.619613] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    1.621930] usb 1-1.3: Product: RAPOO 2.4G Wireless Device
    [    1.624200] usb 1-1.3: Manufacturer: RAPOO
    [    1.635827] input: RAPOO RAPOO 2.4G Wireless Device as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:24AE:2000.0001/input/input0
    [    1.702444] hid-generic 0003:24AE:2000.0001: input,hidraw0: USB HID v1.01 Keyboard [RAPOO RAPOO 2.4G Wireless Device] on usb-0000:01:00.0-1.3/input0
    [    1.713401] input: RAPOO RAPOO 2.4G Wireless Device Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:2000.0002/input/input1
    [    1.718933] input: RAPOO RAPOO 2.4G Wireless Device System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:2000.0002/input/input2
    [    1.791857] input: RAPOO RAPOO 2.4G Wireless Device Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:24AE:2000.0002/input/input3
    [    1.797918] hid-generic 0003:24AE:2000.0002: input,hiddev96,hidraw1: USB HID v1.01 Mouse [RAPOO RAPOO 2.4G Wireless Device] on usb-0000:01:00.0-1.3/input1
    [    1.803852] systemd[1]: System time before build time, advancing clock.
    [    1.950740] NET: Registered protocol family 10
    [    1.954988] Segment Routing with IPv6
    [    1.999070] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [    2.005902] systemd[1]: Detected architecture arm.
    [    2.026641] systemd[1]: Set hostname to <kali>.
    [    2.029342] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
    [    2.561298] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.567733] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.569384] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.572828] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.574587] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.578141] systemd[1]: Listening on Journal Socket.
    [    2.581656] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
    [    2.587755] systemd[1]: Starting Load Kernel Modules...
    [    2.593730] systemd[1]: Mounting POSIX Message Queue File System...
    [    2.830550] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    2.885328] systemd-journald[137]: Received request to flush runtime journal from PID 1
    [    2.926424] systemd-journald[137]: File /var/log/journal/f2cdcf82f42a42ada8bb36c040af90c1/system.journal corrupted or uncleanly shut down, renaming and replacing.
    [    4.164247] argon-mem feb00000.hevc-decoder: argon-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
    [    4.165760] argon-mem feb10000.argon-local-intc: argon-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
    [    4.167414] argon-mem feb20000.h264-decoder: argon-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
    [    4.169729] argon-mem feb30000.vp9-decoder: argon-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
    [    4.280303] media: Linux media interface: v0.10
    [    4.359936] videodev: Linux video capture interface: v2.00
    [    4.417599] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.427387] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.427392] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.435787] bcm2835_audio soc:audio: card created with 8 channels
    [    4.476960] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.543121] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    4.550407] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    [    4.553651] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    [    4.553696] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    [    4.555478] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    [    4.555519] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    [    4.557665] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    [    4.557707] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    [    4.563225] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    4.573543] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    4.573592] cfg80211: failed to load regulatory.db
    [    4.666984] brcmfmac: F1 signature read @0x18000000=0x15264345
    [    4.672780] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [    4.673119] usbcore: registered new interface driver brcmfmac
    [    5.019823] random: crng init done
    [    5.020218] random: 7 urandom warning(s) missed due to ratelimiting
    [    5.055860] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [    5.066603] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Oct  8 2018 09:18:41 version 7.45.154 (nexmon.org: 2.2.2-195-g01e0-1) FWID 01-4fbe0b04
    [    5.665198] uart-pl011 fe201000.serial: no DMA platform data
    [    6.140424] Bluetooth: Core ver 2.22
    [    6.140891] NET: Registered protocol family 31
    [    6.141298] Bluetooth: HCI device and connection manager initialized
    [    6.143008] Bluetooth: HCI socket layer initialized
    [    6.143431] Bluetooth: L2CAP socket layer initialized
    [    6.144651] Bluetooth: SCO socket layer initialized
    [    6.212246] Bluetooth: HCI UART driver ver 2.3
    [    6.212681] Bluetooth: HCI UART protocol H4 registered
    [    6.213113] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    6.214731] Bluetooth: HCI UART protocol Broadcom registered
    [    6.461848] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
    [    6.462421] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.300931] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    7.327842] brcmfmac: power management disabled
    [    7.511745] bcmgenet fd580000.genet eth0: Link is Down
    [    7.856235] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    7.857207] brcmfmac: power management disabled
    [    8.212676] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   11.671792] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control off
    [   11.672710] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    root@kali:~#
    Note: Im running combo keyboard/mouse RAPOO 2.4G Wireless and it has started to crash after a while (The mouse freze, Keyboard works exelent as before) for some reason it doesnt like the 2019.2a variant. Working flawlessly in 2019.2 version (with Rpi2) tho or in new Raspberian Buster

    Code:
    root@kali:~# airmon-ng
    Please install lspci from your distro's package manager.
    root@kali:~# dmesg
    [  104.352803] usb 1-1.1: new low-speed USB device number 4 using xhci_hcd
    [  104.490727] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c018, bcdDevice=43.01
    [  104.490753] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [  104.490771] usb 1-1.1: Product: USB Optical Mouse
    [  104.490788] usb 1-1.1: Manufacturer: Logitech
    [  104.499827] input: Logitech USB Optical Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C018.0003/input/input6
    [  104.500390] hid-generic 0003:046D:C018.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:01:00.0-1.1/input0
    root@kali:~#
    Above i just connected a mouse, nothing that intresting. So just to check if its an error created by this wireless RAPOO device i did it all over again with a standard mouse and keyboard

    Code:
    root@kali:~# desmg -c
    bash: desmg: command not found
    root@kali:~# de
    deallocvt               debian-update-rc.d      delv
    deb-systemd-helper      debtags                 depmod
    deb-systemd-invoke      debugfs                 desktop-file-edit
    debconf                 declare                 desktop-file-install
    debconf-apt-progress    decode-dimms            desktop-file-validate
    debconf-communicate     decode-edid             dev_debug_vboot
    debconf-copydb          decode-vaio             dev_make_keypair
    debconf-escape          delgroup                devlink
    debconf-set-selections  delpart                 
    debconf-show            deluser                 
    root@kali:~# dmesg -c
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.55-Re4son-v7l+ (root@kali-pi-dev) (gcc version 8.2.0 (Debian 8.2.0-6)) #1 SMP Sun Jun 30 15:39:30 AEST 2019
    [    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 64 MiB at 0x0000000037400000
    [    0.000000] On node 0 totalpages: 1012736
    [    0.000000]   DMA zone: 1728 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 196608 pages, LIFO batch:63
    [    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
    [    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e0 with crng_init=0
    [    0.000000] percpu: Embedded 17 pages/cpu s40204 r8192 d21236 u69632
    [    0.000000] pcpu-alloc: s40204 r8192 d21236 u69632 alloc=17*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1011008
    [    0.000000] Kernel command line: 8250.nr_uarts=0 cma=64M bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=1024 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:05:54:0A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.fiq_fix_enable=2 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 3932660K/4050944K available (8192K kernel code, 704K rwdata, 2388K rodata, 2048K init, 858K bss, 52748K reserved, 65536K cma-reserved, 3198976K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 705 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 859 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] ftrace: allocating 28632 entries in 84 pages
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
    [    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
    [    0.000021] Switching to timer-based delay loop, resolution 18ns
    [    0.000246] Console: colour dummy device 80x30
    [    0.000699] console [tty1] enabled
    [    0.000748] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
    [    0.000790] pid_max: default: 32768 minimum: 301
    [    0.001066] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001098] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.002169] Disabling memory control group subsystem
    [    0.002265] CPU: Testing write buffer coherency: ok
    [    0.002673] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.003322] Setting up static identity map for 0x200000 - 0x20003c
    [    0.003495] rcu: Hierarchical SRCU implementation.
    [    0.004362] smp: Bringing up secondary CPUs ...
    [    0.005228] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.006200] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.007133] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.007265] smp: Brought up 1 node, 4 CPUs
    [    0.007330] SMP: Total of 4 processors activated (432.00 BogoMIPS).
    [    0.007352] CPU: All CPU(s) started in HYP mode.
    [    0.007373] CPU: Virtualization extensions available.
    [    0.008161] devtmpfs: initialized
    [    0.018413] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
    [    0.018654] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.018695] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.020491] pinctrl core: initialized pinctrl subsystem
    [    0.021300] NET: Registered protocol family 16
    [    0.023462] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.024820] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.024850] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.025039] Serial: AMBA PL011 UART driver
    [    0.027974] bcm2835-mbox fe00b880.mailbox: mailbox enabled
    [    0.062596] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.062643] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.063490] bcm2835-dma fe007b00.dma: DMA legacy API manager at (ptrval), dmachans=0x1
    [    0.064413] vgaarb: loaded
    [    0.064800] SCSI subsystem initialized
    [    0.065005] usbcore: registered new interface driver usbfs
    [    0.065071] usbcore: registered new interface driver hub
    [    0.065180] usbcore: registered new device driver usb
    [    0.080346] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-06-25 12:53, variant start
    [    0.090080] raspberrypi-firmware soc:firmware: Firmware hash is d07dd5438703d0f664bc1385c89e755d128aa5a4
    [    0.101581] clocksource: Switched to clocksource arch_sys_counter
    [    0.181516] VFS: Disk quotas dquot_6.6.0
    [    0.181639] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.181797] FS-Cache: Loaded
    [    0.181987] CacheFiles: Loaded
    [    0.191351] NET: Registered protocol family 2
    [    0.192045] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.192090] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.192162] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.192241] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.192379] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.192423] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.192735] NET: Registered protocol family 1
    [    0.193287] RPC: Registered named UNIX socket transport module.
    [    0.193313] RPC: Registered udp transport module.
    [    0.193334] RPC: Registered tcp transport module.
    [    0.193355] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.193383] PCI: CLS 0 bytes, default 64
    [    0.195857] Initialise system trusted keyrings
    [    0.196092] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [    0.205222] FS-Cache: Netfs 'nfs' registered for caching
    [    0.205724] NFS: Registering the id_resolver key type
    [    0.205760] Key type id_resolver registered
    [    0.205782] Key type id_legacy registered
    [    0.205812] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.210558] Key type asymmetric registered
    [    0.210586] Asymmetric key parser 'x509' registered
    [    0.210708] bounce: pool size: 64 pages
    [    0.210760] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    [    0.210955] io scheduler noop registered
    [    0.210979] io scheduler deadline registered
    [    0.211160] io scheduler cfq registered (default)
    [    0.211183] io scheduler mq-deadline registered
    [    0.211205] io scheduler kyber registered
    [    0.259525] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
    [    0.259570] brcm-pcie fd500000.pcie: could not get clock
    [    0.259643] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
    [    0.259693] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
    [    0.311620] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
    [    0.311888] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
    [    0.311918] pci_bus 0000:00: root bus resource [bus 00-01]
    [    0.311947] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
    [    0.312009] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
    [    0.312143] pci 0000:00:00.0: PME# supported from D0 D3hot
    [    0.314755] PCI: bus0: Fast back to back transfers disabled
    [    0.314786] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.314969] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
    [    0.315029] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
    [    0.315197] pci 0000:01:00.0: PME# supported from D0 D3cold
    [    0.317693] PCI: bus1: Fast back to back transfers disabled
    [    0.317723] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
    [    0.317769] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
    [    0.317804] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
    [    0.317852] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.317881] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
    [    0.317955] pci 0000:00:00.0: enabling device (0140 -> 0142)
    [    0.317990] pci 0000:01:00.0: enabling device (0140 -> 0142)
    [    0.318369] bcm2708_fb soc:fb: FB found 1 display(s)
    [    0.352843] Console: switching to colour frame buffer device 160x64
    [    0.359522] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1280x1024
    [    0.362405] iproc-rng200 fe104000.rng: hwrng registered
    [    0.362673] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
    [    0.363232] vc-sm: Videocore shared memory driver
    [    0.363644] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
    [    0.373744] brd: module loaded
    [    0.383392] loop: module loaded
    [    0.384148] Loading iSCSI transport class v2.0-870.
    [    0.385827] libphy: Fixed MDIO Bus: probed
    [    0.386281] bcmgenet fd580000.genet: failed to get enet clock
    [    0.386357] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
    [    0.386428] bcmgenet fd580000.genet: failed to get enet-wol clock
    [    0.386502] bcmgenet fd580000.genet: failed to get enet-eee clock
    [    0.386808] unimac-mdio unimac-mdio.-19: DMA mask not set
    [    0.401611] libphy: bcmgenet MII bus: probed
    [    0.442325] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
    [    0.443288] usbcore: registered new interface driver r8152
    [    0.443411] usbcore: registered new interface driver lan78xx
    [    0.443520] usbcore: registered new interface driver smsc95xx
    [    0.443839] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    0.443924] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
    [    0.446035] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000000000000890
    [    0.446276] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 53
    [    0.446962] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    0.447055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.447137] usb usb1: Product: xHCI Host Controller
    [    0.447198] usb usb1: Manufacturer: Linux 4.19.55-Re4son-v7l+ xhci-hcd
    [    0.447272] usb usb1: SerialNumber: 0000:01:00.0
    [    0.447840] hub 1-0:1.0: USB hub found
    [    0.450179] hub 1-0:1.0: 1 port detected
    [    0.452878] xhci_hcd 0000:01:00.0: xHCI Host Controller
    [    0.455184] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
    [    0.457497] xhci_hcd 0000:01:00.0: Host supports USB 3.0  SuperSpeed
    [    0.460144] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [    0.462549] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.464894] usb usb2: Product: xHCI Host Controller
    [    0.467213] usb usb2: Manufacturer: Linux 4.19.55-Re4son-v7l+ xhci-hcd
    [    0.469532] usb usb2: SerialNumber: 0000:01:00.0
    [    0.472390] hub 2-0:1.0: USB hub found
    [    0.474748] hub 2-0:1.0: 4 ports detected
    [    0.478087] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    0.505930] dwc_otg fe980000.usb: base=(ptrval)
    [    0.708492] Core Release: 2.80a
    [    0.710784] Setting default values for core params
    [    0.713109] Finished setting default values for core params
    [    0.915714] Using Buffer DMA mode
    [    0.917978] Periodic Transfer Interrupt Enhancement - disabled
    [    0.920234] Multiprocessor Interrupt Enhancement - disabled
    [    0.922496] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    0.924758] Dedicated Tx FIFOs mode
    [    0.927391] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = f3899000 dma = 0x00000000f7480000 len=9024
    [    0.929736] FIQ FSM acceleration enabled for :
                   Non-periodic Split Transactions
                   Periodic Split Transactions
                   High-Speed Isochronous Endpoints
                   Interrupt/Control Split Transaction hack enabled
    [    0.941026] dwc_otg: Microframe scheduler enabled
    [    0.941092] WARN::hcd_init_fiq:457: FIQ on core 1
    [    0.943376] WARN::hcd_init_fiq:458: FIQ ASM at c07e47f8 length 36
    [    0.945647] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
    [    0.947936] dwc_otg fe980000.usb: DWC OTG Controller
    [    0.950188] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
    [    0.952458] dwc_otg fe980000.usb: irq 36, io mem 0x00000000
    [    0.954700] Init: Port Power? op_state=1
    [    0.956878] Init: Power Port (0)
    [    0.959265] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    0.961504] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.961621] usb 1-1: new high-speed USB device number 2 using xhci_hcd
    [    0.963744] usb usb3: Product: DWC OTG Controller
    [    0.968159] usb usb3: Manufacturer: Linux 4.19.55-Re4son-v7l+ dwc_otg_hcd
    [    0.970402] usb usb3: SerialNumber: fe980000.usb
    [    0.973159] hub 3-0:1.0: USB hub found
    [    0.975450] hub 3-0:1.0: 1 port detected
    [    0.978265] dwc_otg: FIQ enabled
    [    0.978274] dwc_otg: NAK holdoff enabled
    [    0.978283] dwc_otg: FIQ split-transaction FSM enabled
    [    0.978297] Module dwc_common_port init
    [    0.978511] usbcore: registered new interface driver uas
    [    0.980866] usbcore: registered new interface driver usb-storage
    [    0.983273] mousedev: PS/2 mouse device common for all mice
    [    0.986562] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
    [    0.989000] bcm2835-cpufreq: min=600000 max=1500000
    [    0.991873] sdhci: Secure Digital Host Controller Interface driver
    [    0.994161] sdhci: Copyright(c) Pierre Ossman
    [    0.996787] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
    [    0.999414] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.004451] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.005670] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.006900] usbcore: registered new interface driver usbhid
    [    1.008034] usbhid: USB HID core driver
    [    1.009647] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
    [    1.011798] [vc_sm_connected_init]: start
    [    1.020169] [vc_sm_connected_init]: end - returning 0
    [    1.021732] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
    [    1.022889] [vc_sm_connected_init]: start
    [    1.024185] [vc_sm_connected_init]: installed successfully
    [    1.025457] Initializing XFRM netlink socket
    [    1.026607] NET: Registered protocol family 17
    [    1.027787] Key type dns_resolver registered
    [    1.029039] Registering SWP/SWPB emulation handler
    [    1.030396] registered taskstats version 1
    [    1.031509] Loading compiled-in X.509 certificates
    [    1.033006] Key type encrypted registered
    [    1.037546] uart-pl011 fe201000.serial: cts_event_workaround enabled
    [    1.038728] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 33, base_baud = 0) is a PL011 rev2
    [    1.041902] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
    [    1.043268] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
    [    1.044687] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
    [    1.045848] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
    [    1.071811] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
    [    1.090557] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [    1.094511] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.098388] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.103542] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [    1.105775] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
    [    1.110317] of_cfs_init
    [    1.112608] of_cfs_init: OK
    [    1.114083] Waiting for root device /dev/mmcblk0p2...
    [    1.116121] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    1.143040] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
    [    1.145309] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    1.147565] usb 1-1: Product: USB2.0 Hub
    [    1.151257] hub 1-1:1.0: USB hub found
    [    1.153718] hub 1-1:1.0: 4 ports detected
    [    1.159557] random: fast init done
    [    1.166823] mmc0: new high speed SDHC card at address e624
    [    1.168569] mmcblk0: mmc0:e624 SU16G 14.8 GiB
    [    1.171136]  mmcblk0: p1 p2
    [    1.191045] mmc1: new high speed SDIO card at address 0001
    [    1.214570] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: noload
    [    1.216819] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    1.227431] devtmpfs: mounted
    [    1.237221] Freeing unused kernel memory: 2048K
    [    1.251674] Run /sbin/init as init process
    [    1.481632] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
    [    1.619393] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c018, bcdDevice=43.01
    [    1.621711] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    1.624027] usb 1-1.3: Product: USB Optical Mouse
    [    1.626272] usb 1-1.3: Manufacturer: Logitech
    [    1.637588] input: Logitech USB Optical Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C018.0001/input/input0
    [    1.640076] hid-generic 0003:046D:C018.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:01:00.0-1.3/input0
    [    1.741633] usb 1-1.4: new low-speed USB device number 4 using xhci_hcd
    [    1.779037] systemd[1]: System time before build time, advancing clock.
    [    1.921843] NET: Registered protocol family 10
    [    1.923613] Segment Routing with IPv6
    [    1.925670] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c30e, bcdDevice= 1.80
    [    1.926913] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    1.928124] usb 1-1.4: Product: HID compliant keyboard
    [    1.929322] usb 1-1.4: Manufacturer: Logitech
    [    1.955848] input: Logitech HID compliant keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C30E.0002/input/input1
    [    1.977404] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
    [    1.983865] systemd[1]: Detected architecture arm.
    [    2.010194] systemd[1]: Set hostname to <kali>.
    [    2.012699] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
    [    2.021831] hid-generic 0003:046D:C30E.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech HID compliant keyboard] on usb-0000:01:00.0-1.4/input0
    [    2.054070] input: Logitech HID compliant keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C30E.0003/input/input2
    [    2.121697] input: Logitech HID compliant keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C30E.0003/input/input3
    [    2.124732] hid-generic 0003:046D:C30E.0003: input,hidraw2: USB HID v1.10 Device [Logitech HID compliant keyboard] on usb-0000:01:00.0-1.4/input1
    [    2.553283] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.559561] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.561376] systemd[1]: Listening on fsck to fsckd communication Socket.
    [    2.564893] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.566651] systemd[1]: Listening on udev Control Socket.
    [    2.570168] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    2.574877] systemd[1]: Created slice system-getty.slice.
    [    2.578545] systemd[1]: Listening on udev Kernel Socket.
    [    2.582392] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    3.178804] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    3.222186] systemd-journald[138]: Received request to flush runtime journal from PID 1
    [    3.250612] systemd-journald[138]: File /var/log/journal/f2cdcf82f42a42ada8bb36c040af90c1/system.journal corrupted or uncleanly shut down, renaming and replacing.
    [    7.334159] argon-mem feb00000.hevc-decoder: argon-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
    [    7.335682] argon-mem feb10000.argon-local-intc: argon-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
    [    7.337287] argon-mem feb20000.h264-decoder: argon-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
    [    7.340701] argon-mem feb30000.vp9-decoder: argon-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
    [    7.397145] media: Linux media interface: v0.10
    [    7.467613] videodev: Linux video capture interface: v2.00
    [    7.494485] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
    [    7.527036] bcm2835_audio soc:audio: card created with 8 channels
    [    7.533364] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [    7.535218] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
    [    7.603812] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.605424] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
    [    7.618677] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    7.630959] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    7.632710] cfg80211: failed to load regulatory.db
    [    7.638968] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
    [    7.650788] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
    [    7.650793] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
    [    7.653391] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
    [    7.653397] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
    [    7.656117] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
    [    7.656165] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
    [    7.695465] brcmfmac: F1 signature read @0x18000000=0x15264345
    [    7.700193] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [    7.700647] usbcore: registered new interface driver brcmfmac
    [    8.072743] random: crng init done
    [    8.072775] random: 7 urandom warning(s) missed due to ratelimiting
    [    8.121853] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    [    8.142261] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Oct  8 2018 09:18:41 version 7.45.154 (nexmon.org: 2.2.2-195-g01e0-1) FWID 01-4fbe0b04
    [    8.846271] uart-pl011 fe201000.serial: no DMA platform data
    [    9.181865] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
    [    9.182481] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    9.336480] Bluetooth: Core ver 2.22
    [    9.336984] NET: Registered protocol family 31
    [    9.337426] Bluetooth: HCI device and connection manager initialized
    [    9.337875] Bluetooth: HCI socket layer initialized
    [    9.338338] Bluetooth: L2CAP socket layer initialized
    [    9.340247] Bluetooth: SCO socket layer initialized
    [    9.414645] Bluetooth: HCI UART driver ver 2.3
    [    9.415126] Bluetooth: HCI UART protocol H4 registered
    [    9.415590] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    9.416137] Bluetooth: HCI UART protocol Broadcom registered
    [   10.231699] bcmgenet fd580000.genet eth0: Link is Down
    [   10.423382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   10.449893] brcmfmac: power management disabled
    [   10.975936] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   10.977006] brcmfmac: power management disabled
    [   11.290552] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   14.391873] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control off
    [   14.392819] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    root@kali:~#
    Trying to show available wireless devices

    Code:
    root@kali:~# airmon-ng 
    Please install lspci from your distro's package manager.
    root@kali:~# dmesg
    root@kali:~#
    No messeges from dmsg!

    Here is the difference after installing the "pciutils"

    Code:
    root@kali:~# apt-get install pciutils
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      libpci3
    The following NEW packages will be installed:
      pciutils
    The following packages will be upgraded:
      libpci3
    1 upgraded, 1 newly installed, 0 to remove and 343 not upgraded.
    Need to get 347 kB of archives.
    After this operation, 1340 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main armhf libpci3 armhf 1:3.6.2-2 [54.2 kB]
    Get:2 http://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main armhf pciutils armhf 1:3.6.2-2 [293 kB]
    Fetched 347 kB in 1s (348 kB/s)  
    (Reading database ... 256694 files and directories currently installed.)
    Preparing to unpack .../libpci3_1%3a3.6.2-2_armhf.deb ...
    Unpacking libpci3:armhf (1:3.6.2-2) over (1:3.5.2-1) ...
    Selecting previously unselected package pciutils.
    Preparing to unpack .../pciutils_1%3a3.6.2-2_armhf.deb ...
    Unpacking pciutils (1:3.6.2-2) ...
    Setting up libpci3:armhf (1:3.6.2-2) ...
    Setting up pciutils (1:3.6.2-2) ...
    Processing triggers for man-db (2.8.5-2) ...
    Processing triggers for libc-bin (2.28-8) ...
    
    root@kali:~# dmesg
    root@kali:~#
    root@kali:~# airmon-ng 
    
    PHY	Interface	Driver		Chipset
    
    phy0	wlan0		brcmfmac	Broadcom 43430
    
    root@kali:~# dmesg
    root@kali:~# airmon-ng start wlan0
    
    Found 3 processes that could cause trouble.
    Kill them using 'airmon-ng check kill' before putting
    the card in monitor mode, they will interfere by changing channels
    and sometimes putting the interface back in managed mode
    
      PID Name
      419 NetworkManager
      440 dhclient
      471 wpa_supplicant
    
    PHY	Interface	Driver		Chipset
    
    phy0	wlan0		brcmfmac	Broadcom 43430
    
    		(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
    command failed: Unknown error 524 (-524)
    		(mac80211 station mode vif disabled for [phy0]wlan0)
    
    root@kali:~# dmesg
    [   78.975687] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
    [   78.975704] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
    [   78.975711] brcmfmac: brcmf_mon_add_vif: Adding vif "wlan0mon"
    root@kali:~#
    Checking with aireplay-ng, and everything seems to be okay

    Code:
    root@kali:~# aireplay-ng -9 wlan0mon
    13:09:49  Trying broadcast probe requests...
    13:09:51  No Answer...
    13:09:51  Found 1 AP 
    
    13:09:51  Trying directed probe requests...
    13:09:51  00:13:49:F8:E0:6D - channel: 6 - 'ZyXEL123'
    13:09:52  Ping (min/avg/max): 2.237ms/45.328ms/52.964ms Power: -40.70
    13:09:52  30/30: 100%
    
    13:09:52  Injection is working!
    root@kali:~#
    However checking with airmon-ng again tells that everything isnt as is should. Both wlan0 AND wlan0mon shares the same phy.

    Code:
    root@kali:~# airmon-ng
    
    PHY	Interface	Driver		Chipset
    
    phy0	wlan0		brcmfmac	Broadcom 43430
    phy0	wlan0mon	                  brcmfmac	Broadcom 43430
    
    root@kali:~#
    The normal is that wlan0mon replaces the wlan0 interface @ phy0 and when you stop the monitormode it simply reverse back to wlan0. I think this has to do with the error 524 (-524), however im far from the programmer i wanted to be.

    Also i dont know if its a Aircrack-ng error or an Kali error, Thinking about posting the same issue on their forum, waiting for your opinion on that
    Last edited by webbsmurfen; 2019-07-26 at 19:00. Reason: more info

  4. #4
    Join Date
    2016-Dec
    Posts
    806
    OK, so it is in airmon-ng and there is nothing about it in dmesg.

    Could you run 'bash -xv airmon-ng start wlan0' and then paste the last 20-30 lines, it should tell what command returned this.

  5. #5
    Join Date
    2014-Jun
    Posts
    22
    Okay.. Splitted the issues in to two

    Sorry about adding 50+ lines each.. The more data the greater success finding the error

    Here is the Unknown error 524 (-524)

    Code:
    ++ printf '
     wlan0'
    + for iface in $(printf "${iface_list}")
    + unset ethtool_output DRIVER FROM FIRMWARE STACK MADWIFI MAC80211 BUS BUSADDR BUSINFO DEVICEID CHIPSET EXTENDED NET_TYPE PHYDEV ifacet DRIVERt FIELD1 FIELD1t FIELD2 FIELD2t CHIPSETt
    ++ ethtool -i wlan0
    + ethtool_output='driver: brcmfmac
    version: 7.45.154
    firmware-version: 01-4fbe0b04
    expansion-rom-version: 
    bus-info: mmc1:0001:1
    supports-statistics: no
    supports-test: no
    supports-eeprom-access: no
    supports-register-dump: no
    supports-priv-flags: no'
    + '[' 'driver: brcmfmac
    version: 7.45.154
    firmware-version: 01-4fbe0b04
    expansion-rom-version: 
    bus-info: mmc1:0001:1
    supports-statistics: no
    supports-test: no
    supports-eeprom-access: no
    supports-register-dump: no
    supports-priv-flags: no' '!=' 'Cannot get driver information: Operation not supported' ']'
    + getStack wlan0
    + '[' -z wlan0 ']'
    + '[' -d /sys/class/net/wlan0/phy80211/ ']'
    + MAC80211=1
    + STACK=mac80211
    + '[' -e /proc/sys/dev/wlan0/fftxqmin ']'
    + '[' 0 = 1 ']'
    + getBus wlan0
    + '[' -f /sys/class/net/wlan0/device/modalias ']'
    ++ cut -d : -f 1 /sys/class/net/wlan0/device/modalias
    + BUS=sdio
    + '[' 0 = 1 ']'
    + getPhy wlan0
    + '[' -z wlan0 ']'
    + '[' 1 = 0 ']'
    + '[' -r /sys/class/net/wlan0/phy80211/name ']'
    ++ cat /sys/class/net/wlan0/phy80211/name
    + PHYDEV=phy0
    + '[' -d /sys/class/net/wlan0/phy80211/ ']'
    + '[' -z phy0 ']'
    + getDriver wlan0
    + unset DRIVER
    + '[' -f /sys/class/net/wlan0/device/uevent ']'
    ++ awk -F= '$1 == "DRIVER" {print $2}' /sys/class/net/wlan0/device/uevent
    + DRIVER=brcmfmac
    + '[' brcmfmac = usb ']'
    + '[' brcmfmac = rtl8187L ']'
    + '[' brcmfmac = rtl8187 ']'
    + '[' brcmfmac = rtl88xxau ']'
    + '[' brcmfmac = rtl8812au ']'
    + '[' 1 = 1 ']'
    ++ modinfo -F filename brcmfmac
    + true
    + '[' -z brcmfmac ']'
    + '[' 0 = 1 ']'
    + getChipset wlan0
    + '[' -f /sys/class/net/wlan0/device/modalias ']'
    + '[' sdio = usb ']'
    + '[' sdio = pci -o sdio = pcmcia ']'
    + '[' sdio = sdio ']'
    + '[' -f /sys/class/net/wlan0/device/vendor ']'
    + '[' -f /sys/class/net/wlan0/device/device ']'
    ++ cat /sys/class/net/wlan0/device/vendor
    ++ cat /sys/class/net/wlan0/device/device
    + DEVICEID=0x02d0:0xa9a6
    + '[' 0x02d0:0xa9a6 = 0x02d0:0x4330 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0x4329 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0x4334 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0xa94c ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0xa94d ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0x4324 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0x4335 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0xa962 ']'
    + '[' 0x02d0:0xa9a6 = 0x02d0:0xa9a6 ']'
    + CHIPSET='Broadcom 43430'
    + '[' 0 = 1 ']'
    + '[' 0 = 1 ']'
    + '[' 0 = 1 ']'
    + '[' 8 -gt 7 ']'
    + DRIVERt='\t'
    + '[' 5 -gt 7 ']'
    + ifacet='\t\t'
    + printf 'phy0\twlan0\t\tbrcmfmac\tBroadcom 43430\n'
    phy0	wlan0		brcmfmac	Broadcom 43430
    + '[' brcmfmac = wl ']'
    + '[' 1 = 1 ']'
    + '[' start = start ']'
    + '[' wlan0 = wlan0 ']'
    + startMac80211Iface wlan0
    + rfkill_check phy0
    + '[' 1 = 0 ']'
    + '[' -z phy0 ']'
    ++ rfkill list
    ++ grep phy0:
    ++ awk -F: '{print $1}'
    + index=0
    + '[' -z 0 ']'
    ++ rfkill list 0
    + rfkill_status='0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no'
    + '[' 0 '!=' 0 ']'
    + '[' -z '0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no' ']'
    ++ printf '0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no'
    ++ grep -i soft
    ++ awk '{print $3}'
    + soft=no
    ++ printf '0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no'
    ++ grep -i hard
    ++ awk '{print $3}'
    + hard=no
    + '[' no = yes ']'
    + '[' no = no ']'
    + '[' no = yes ']'
    + '[' no = yes ']'
    + return 0
    + rfkill_retcode=0
    + case ${rfkill_retcode} in
    + '[' 0 '!=' 0 ']'
    + '[' -d /sys/class/ieee80211/phy0/device/net ']'
    ++ ls /sys/class/ieee80211/phy0/device/net/
    + for i in $(ls /sys/class/ieee80211/${PHYDEV}/device/net/)
    ++ cat /sys/class/ieee80211/phy0/device/net/wlan0/type
    + '[' 1 = 803 ']'
    + '[' 5 -gt 12 ']'
    + '[' -e /sys/class/net/wlan0mon ']'
    + setLink wlan0 down
    ++ command -v ip
    + '[' -x /usr/sbin/ip ']'
    + ip link set dev wlan0 down
    + return
    + '[' brcmfmac = 8812au ']'
    + '[' brcmfmac = 8814au ']'
    + '[' brcmfmac = 88XXau ']'
    ++ iw phy phy0 interface add wlan0mon type monitor
    + IW_ERROR=
    + '[' -z '' ']'
    + sleep 1
    + '[' -r /sys/class/ieee80211/phy0/device/net/wlan0mon/type ']'
    ++ cat /sys/class/ieee80211/phy0/device/net/wlan0mon/type
    + '[' 803 = 803 ']'
    + setChannelMac80211 wlan0mon
    + setLink wlan0mon up
    ++ command -v ip
    + '[' -x /usr/sbin/ip ']'
    + ip link set dev wlan0mon up
    + return
    + '[' -n 10 ']'
    + '[' 10 -lt 1000 ']'
    + '[' -r /sys/class/net/wlan0mon/phy80211/name ']'
    ++ awk '-F[][]' '$2{print $2}'
    +++ cat /sys/class/net/wlan0mon/phy80211/name
    ++ iw phy phy0 info
    + channel_list='1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    34
    36
    38
    40
    42
    44
    46
    48
    52
    56
    60
    64
    100
    104
    108
    112
    116
    120
    124
    128
    132
    136
    140
    144
    149
    153
    157
    161
    165
     4WAY_HANDSHAKE_STA_PSK 
     4WAY_HANDSHAKE_STA_1X '
    + local hardware_valid_channel=1
    + for i in $channel_list
    + '[' 10 = 1 ']'
    + for i in $channel_list
    + '[' 10 = 2 ']'
    + for i in $channel_list
    + '[' 10 = 3 ']'
    + for i in $channel_list
    + '[' 10 = 4 ']'
    + for i in $channel_list
    + '[' 10 = 5 ']'
    + for i in $channel_list
    + '[' 10 = 6 ']'
    + for i in $channel_list
    + '[' 10 = 7 ']'
    + for i in $channel_list
    + '[' 10 = 8 ']'
    + for i in $channel_list
    + '[' 10 = 9 ']'
    + for i in $channel_list
    + '[' 10 = 10 ']'
    + hardware_valid_channel=0
    + break
    + '[' 0 = 1 ']'
    ++ iw dev wlan0mon set channel 10
    + IW_ERROR=
    + '[' -n '' ']'
    + printf '\n\t\t(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)\n'
    
    		(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
    + '[' 0 = 1 ']'
    + isRPiWireless
    ++ grep Revision /proc/cpuinfo
    ++ awk '{print $3}'
    + local HW_REV=c03111
    + '[' -z c03111 ']'
    + '[' c03111 = a22082 ']'
    + '[' c03111 = a32082 ']'
    + '[' c03111 = a52082 ']'
    + '[' c03111 = a02082 ']'
    + '[' c03111 = 9000c1 ']'
    + '[' c03111 = a020d3 ']'
    + '[' c03111 = 9020e0 ']'
    + return 0
    + iw wlan0 del
    command failed: Unknown error 524 (-524)
    + printf '\t\t(mac80211 station mode vif disabled for [phy0]wlan0)\n'
    		(mac80211 station mode vif disabled for [phy0]wlan0)
    + '[' start = stop ']'
    
    #end with some space
    printf "\n"
    + printf '\n'
    
    root@kali:~#

    Here is the lspci error (before i installed pciutils)

    Code:
    if [ ! -x "$(command -v ethtool 2>&1)" ]; then
    	printf "Please install the ethtool package for your distro.\n"
    	exit 1
    fi
    ++ command -v ethtool
    + '[' '!' -x /usr/sbin/ethtool ']'
    
    if [ -d /sys/bus/usb ]; then
    	if [ ! -x "$(command -v lsusb 2>&1)" ]; then
    		printf "Please install lsusb from your distro's package manager.\n"
    		exit 1
    	else
    		LSUSB=1
    	fi
    else
    	LSUSB=0
    fi
    + '[' -d /sys/bus/usb ']'
    ++ command -v lsusb
    + '[' '!' -x /usr/bin/lsusb ']'
    + LSUSB=1
    
    if [ -d /sys/bus/pci ] || [ -d /sys/bus/pci_express ] || [ -d /proc/bus/pci ]; then
    	PCI_DEVICES=0
    	if [ -d /sys/bus/pci/devices ] && [ "$(ls -1 /sys/bus/pci/devices 2>/dev/null | wc -l)" != '0' ]; then
    		PCI_DEVICES=1
    	elif [ -r /proc/bus/pci/devices ] && [ -n "$(cat /proc/bus/pci/devices 2>/dev/null)" ]; then
    		PCI_DEVICES=1
    	elif [ -d /sys/bus/pci_express/devices ] && [ -n "$(ls -1 /sys/bus/pci_express/devices 2>/dev/null | wc -l)" != '0' ]; then
    		PCI_DEVICES=1
    	fi
    
    	if [ ${PCI_DEVICES} -eq 0 ]; then
    		LSPCI=0
    	elif [ ! -x "$(command -v lspci 2>&1)" ]; then
    		printf "Please install lspci from your distro's package manager.\n"
    		exit 1
    	else
    		LSPCI=1
    	fi
    else
    	LSPCI=0
    fi
    + '[' -d /sys/bus/pci ']'
    + PCI_DEVICES=0
    + '[' -d /sys/bus/pci/devices ']'
    ++ wc -l
    ++ ls -1 /sys/bus/pci/devices
    + '[' 2 '!=' 0 ']'
    + PCI_DEVICES=1
    + '[' 1 -eq 0 ']'
    ++ command -v lspci
    + '[' '!' -x '' ']'
    + printf 'Please install lspci from your distro'\''s package manager.\n'
    Please install lspci from your distro's package manager.
    + exit 1
    root@kali:~#

  6. #6
    Join Date
    2016-Dec
    Posts
    806
    I just remembered that the raspberry Pi can have a PCI bus: https://hackaday.com/2019/07/10/givi...4-pci-express/

    On a RPi 3, the "if [ -d /sys/bus/pci ] || [ -d /sys/bus/pci_express ] || [ -d /proc/bus/pci ]; then" is false, so it doesn't get through.

    By the way, 'airmon-ng' has been updated with the checks for RPi4 hardware IDs.

  7. #7
    Join Date
    2014-Jun
    Posts
    22
    Thats awesome, and wonderful news! Thanks!

  8. #8
    Join Date
    2014-Jun
    Posts
    22
    Quote Originally Posted by Mister_X View Post
    I just remembered that the raspberry Pi can have a PCI bus: https://hackaday.com/2019/07/10/givi...4-pci-express/

    On a RPi 3, the "if [ -d /sys/bus/pci ] || [ -d /sys/bus/pci_express ] || [ -d /proc/bus/pci ]; then" is false, so it doesn't get through.

    By the way, 'airmon-ng' has been updated with the checks for RPi4 hardware IDs.
    Do you know when the changes is available in the masterfile, (or as a "patch" that you can fetch with apt?)

  9. #9
    Join Date
    2016-Dec
    Posts
    806
    With the next release of aircrack-ng

  10. #10
    Join Date
    2020-Jan
    Posts
    2
    Hello, greetings to all, this is my first message in the forum and I premiered with a problem. I currently have the same error with the raspberry pi 4. Is it already fixed or still not working?
    Thank you.

  11. #11
    Join Date
    2020-Jan
    Posts
    2
    Hello, yesterday I installed the new version 2020.1 on my raspberry pi 4 and I'm still getting error 524 when activating the monitor mode. Is there any solution? Thank you.

Similar Threads

  1. Apt --fix-broken install dpkg-divert: error: unknown option--no-rename
    By HackingBharat in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-08-24, 08:15
  2. getting error on package install
    By kokoko in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2015-11-21, 21:25
  3. Please install lsusb from distro
    By Mi5@NtHr0pY in forum General Archive
    Replies: 1
    Last Post: 2015-09-02, 00:35
  4. unable to install any package dpkg: error processing nfs-common
    By k.v.manjunath in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-06-09, 04:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •