Giter Site home page Giter Site logo

Comments (21)

ZexX-pt avatar ZexX-pt commented on July 23, 2024

Hi,
I am also seeing the same errors.
My Pi Zero 2W also has the same wifi chip 43430/1.

I don't know if it is useful but this fork has it working for this chip (it has other issues unfortunately):
https://github.com/jayofelony/pwnagotchi/releases/tag/2.0

from pwnagotchi.

MonstaB avatar MonstaB commented on July 23, 2024

can one of you guys run this and tell me the output..
modinfo brcmfmac

from pwnagotchi.

aluminum-ice avatar aluminum-ice commented on July 23, 2024

It's tricky to recompile nexmon for pwnagotchi. I've successfully gotten 43430/2 fixed but43430/1 is hit or miss. Since I ripped out Kali-Pi to make upgrades more feasible for pwnagotchi, this means getting the compilation of nexmon correct across all chipsets is critical. I welcome pull requests from the community.

from pwnagotchi.

ZexX-pt avatar ZexX-pt commented on July 23, 2024

I will try to help with the compilation, but in the meantime here are the logs.

dmesg.log
modinfo_brcmfmac.log

from pwnagotchi.

MonstaB avatar MonstaB commented on July 23, 2024

Look I'll be honest Im only new to GitHub and don't really know how pull requests and stuff work so I won't do that as yet, I've identified the issue and my way of fixing it would probably break everything that isn't the PizeroW (43430/1)chipset, I can get it running now but the current workaround for auto mode breaks my fix for the chipset, any idea how to get the auto detect on the port to work like the original? I'll write my workaround in the other thread in an hour or two.
After looking at ZexX-pt modinfo dump I don't believe my fix will work on the pizero2w with the 43430/1

from pwnagotchi.

MonstaB avatar MonstaB commented on July 23, 2024

Try doing a ifconfig,
If you have both a wlan0 and a mon0
Run
sudo ifconfig wlan0 down

See what that does

from pwnagotchi.

ZexX-pt avatar ZexX-pt commented on July 23, 2024

I do have both interfaces, wlan0 and mon0, but only mon0 is up.
The interface wlan0 is already down.

from pwnagotchi.

rsun0525 avatar rsun0525 commented on July 23, 2024

I installed 1.7.5 and the output now looks like this, so I think it's working now and can close this ticket?

dmesg | grep brcmfmac
[ 6.321289] brcmfmac: loading out-of-tree module taints kernel.
[ 6.349094] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 6.355559] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.355892] usbcore: registered new interface driver brcmfmac
[ 6.755698] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.755862] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 6.756801] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 8.553194] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 8.553218] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 9.442936] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 9.442959] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 3452.562644] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 3452.562657] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled

from pwnagotchi.

ZexX-pt avatar ZexX-pt commented on July 23, 2024

Hi,

That is weird. Version 1.7.5 did not fix it for me.

pi@pwnagotchi85:~ $ pwnagotchi --version
1.7.5
pi@pwnagotchi85:~ $ dmesg | grep brcmfmac
[ 7.998521] brcmfmac: loading out-of-tree module taints kernel.
[ 8.027990] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 8.038073] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.038380] usbcore: registered new interface driver brcmfmac
[ 8.068119] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt failed with error -2
[ 8.430703] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.430923] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 8.431866] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 9.954689] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 9.954714] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 11.226901] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 11.226924] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 11.309550] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[ 11.309584] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
[ 11.309598] brcmfmac: brcmf_mon_add_vif: Adding vif "mon0"

from pwnagotchi.

rsun0525 avatar rsun0525 commented on July 23, 2024

Seems like there's more than one hardware version of Raspberry Pi Zero 2 W :-(

RPi-Distro/firmware-nonfree#23

from pwnagotchi.

rsun0525 avatar rsun0525 commented on July 23, 2024

Did you also run all the updates on the Raspberry Pi Zero 2W?

sudo apt update
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo reboot

from pwnagotchi.

ZexX-pt avatar ZexX-pt commented on July 23, 2024

I though that upgrading some version of a package could break pwnagotchi so I did not do it.

However, I shared my connection with pwnagotchi usb ethernet and did the upgrade. Still get the same error.

Do I have to upgrade the kernel or the driver too?

pi@pwnagotchi85:~ $ uname -a
Linux pwnagotchi85 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux

from pwnagotchi.

rsun0525 avatar rsun0525 commented on July 23, 2024

I also connect my Raspberry Pi Zero 2 W through Ethernet as well through the USB port (and often keep it that way while running it) and haven't had any issues since upgrading to 1.7.5, I don't make any additional changes at the OS level other than upgrading all the packages, so my only guess is that your Raspberry Pi Zero 2 W is a different hardware version.

from pwnagotchi.

aluminum-ice avatar aluminum-ice commented on July 23, 2024

I also connect my Raspberry Pi Zero 2 W through Ethernet as well through the USB port (and often keep it that way while running it) and haven't had any issues since upgrading to 1.7.5, I don't make any additional changes at the OS level other than upgrading all the packages, so my only guess is that your Raspberry Pi Zero 2 W is a different hardware version.

There are two version of the 2 W. They differ on the wifi chip. I've gotten the newer wifi chip to work without issue but the older chip has been more challenging.

from pwnagotchi.

aluminum-ice avatar aluminum-ice commented on July 23, 2024

@rsun0525 Does your board use 43430/2 or 43430/1? If its 43430/2 then that is why its working for you without issue. Its 43430/1 that has problems. I managed to get my hands on a legacy 2W that uses 43430/1 and it crashes for me.

from pwnagotchi.

rsun0525 avatar rsun0525 commented on July 23, 2024

I guess I'm lucky :-)

brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2

from pwnagotchi.

aluminum-ice avatar aluminum-ice commented on July 23, 2024

@ZexX-pt @MonstaB Try my new v1.7.5.1 which should now work for the 43430/1 chip. I got ahold of one, made some tweaks to my fork, and got it to work as reliably as for 43430/2.

from pwnagotchi.

turcane avatar turcane commented on July 23, 2024

I can confirm. It's working :)

from pwnagotchi.

ZexX-pt avatar ZexX-pt commented on July 23, 2024

Hi,

Sorry for the delay, but I only could test it today.

I don't see any improvement. Same errors as before:

pi@pwnagotchi85:~ $ dmesg | grep brcmfmac
[ 6.147501] brcmfmac: loading out-of-tree module taints kernel.
[ 6.187518] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 6.193679] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.193986] usbcore: registered new interface driver brcmfmac
[ 6.227439] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt failed with error -2
[ 6.578607] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.578763] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 6.579821] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 8.161323] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 8.161358] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 9.438004] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 9.438032] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 9.529245] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[ 9.529279] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
[ 9.529293] brcmfmac: brcmf_mon_add_vif: Adding vif "mon0"

pi@pwnagotchi85:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.103-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 SMP Tue Mar 8 12:21:37 GMT 2022
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero 2 W Rev 1.0
[ 0.000000] random: fast init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x1ac00000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff]
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] DMA zone: 1116 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 126976 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[ 0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 125860
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:92:1E:FE vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 420412K/507904K available (10240K kernel code, 1312K rwdata, 2952K rodata, 1024K init, 862K bss, 21956K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 32081 entries in 95 pages
[ 0.000000] ftrace: allocated 94 pages with 5 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x3ac/0x580 with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000024] Switching to timer-based delay loop, resolution 52ns
[ 0.000305] Console: colour dummy device 80x30
[ 0.001142] printk: console [tty1] enabled
[ 0.001212] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001271] pid_max: default: 32768 minimum: 301
[ 0.001490] LSM: Security Framework initializing
[ 0.001751] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001798] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003270] cgroup: Disabling memory control group subsystem
[ 0.003559] CPU: Testing write buffer coherency: ok
[ 0.004076] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005339] Setting up static identity map for 0x100000 - 0x10003c
[ 0.005547] rcu: Hierarchical SRCU implementation.
[ 0.006485] smp: Bringing up secondary CPUs ...
[ 0.007681] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.008971] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.010291] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.010449] smp: Brought up 1 node, 4 CPUs
[ 0.010504] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.010535] CPU: All CPU(s) started in HYP mode.
[ 0.010562] CPU: Virtualization extensions available.
[ 0.011490] devtmpfs: initialized
[ 0.029338] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.029667] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.029729] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.032768] pinctrl core: initialized pinctrl subsystem
[ 0.033990] NET: Registered protocol family 16
[ 0.038311] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.044059] audit: initializing netlink subsys (disabled)
[ 0.044397] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.044985] thermal_sys: Registered thermal governor 'step_wise'
[ 0.046075] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.046138] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.046471] Serial: AMBA PL011 UART driver
[ 0.067379] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.080153] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-05-09T12:18:12, variant start_cd
[ 0.090163] raspberrypi-firmware soc:firmware: Firmware hash is 30aa0d70ab280427ba04ebc718c81d4350b9d394
[ 0.134533] Kprobes globally optimized
[ 0.139617] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.141895] SCSI subsystem initialized
[ 0.142167] usbcore: registered new interface driver usbfs
[ 0.142254] usbcore: registered new interface driver hub
[ 0.142346] usbcore: registered new device driver usb
[ 0.144461] clocksource: Switched to clocksource arch_sys_counter
[ 1.860859] VFS: Disk quotas dquot_6.6.0
[ 1.861004] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.861230] FS-Cache: Loaded
[ 1.861526] CacheFiles: Loaded
[ 1.873015] NET: Registered protocol family 2
[ 1.873255] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.874590] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.874685] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 1.874782] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.874919] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.875498] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.875562] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.875858] NET: Registered protocol family 1
[ 1.876696] RPC: Registered named UNIX socket transport module.
[ 1.876731] RPC: Registered udp transport module.
[ 1.876760] RPC: Registered tcp transport module.
[ 1.876788] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.878610] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 1.882375] Initialise system trusted keyrings
[ 1.882679] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.892239] zbud: loaded
[ 1.894340] FS-Cache: Netfs 'nfs' registered for caching
[ 1.895310] NFS: Registering the id_resolver key type
[ 1.895394] Key type id_resolver registered
[ 1.895424] Key type id_legacy registered
[ 1.895599] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.895636] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.896851] Key type asymmetric registered
[ 1.896885] Asymmetric key parser 'x509' registered
[ 1.896962] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.897002] io scheduler mq-deadline registered
[ 1.897032] io scheduler kyber registered
[ 1.899728] bcm2708_fb soc:fb: FB found 1 display(s)
[ 1.907710] Console: switching to colour frame buffer device 82x26
[ 1.911753] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
[ 1.920160] bcm2835-rng 3f104000.rng: hwrng registered
[ 1.921918] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[ 1.925439] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 1.940443] brd: module loaded
[ 1.954036] loop: module loaded
[ 1.957283] Loading iSCSI transport class v2.0-870.
[ 1.960525] usbcore: registered new interface driver lan78xx
[ 1.961967] usbcore: registered new interface driver smsc95xx
[ 1.963294] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.964898] dwc_otg: FIQ enabled
[ 1.964910] dwc_otg: NAK holdoff enabled
[ 1.964922] dwc_otg: FIQ split-transaction FSM enabled
[ 1.964938] Module dwc_common_port init
[ 1.965175] usbcore: registered new interface driver usb-storage
[ 1.966753] mousedev: PS/2 mouse device common for all mice
[ 1.969244] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.972716] sdhci: Secure Digital Host Controller Interface driver
[ 1.974037] sdhci: Copyright(c) Pierre Ossman
[ 1.976035] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 1.978089] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 1.979690] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.981783] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.983422] hid: raw HID events driver (C) Jiri Kosina
[ 1.984961] usbcore: registered new interface driver usbhid
[ 1.986279] usbhid: USB HID core driver
[ 1.992644] Initializing XFRM netlink socket
[ 1.993935] NET: Registered protocol family 17
[ 1.995360] Key type dns_resolver registered
[ 1.997257] Registering SWP/SWPB emulation handler
[ 1.998648] registered taskstats version 1
[ 1.999869] Loading compiled-in X.509 certificates
[ 2.001886] Key type ._fscrypt registered
[ 2.003111] Key type .fscrypt registered
[ 2.004299] Key type fscrypt-provisioning registered
[ 2.017129] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 2.018460] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 2.023237] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.026277] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 2.027552] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 2.055786] sdhost: log_buf @ (ptrval) (dad10000)
[ 2.093846] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.096769] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.099596] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.103707] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.104855] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.108967] of_cfs_init
[ 2.110303] of_cfs_init: OK
[ 2.112702] Waiting for root device /dev/mmcblk0p2...
[ 2.127282] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.166181] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.171573] mmc0: new high speed SDHC card at address 59b4
[ 2.173790] mmcblk0: mmc0:59b4 14.9 GiB
[ 2.177640] mmcblk0: p1 p2
[ 2.206863] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.209248] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.218573] devtmpfs: mounted
[ 2.227333] Freeing unused kernel memory: 1024K
[ 2.233823] mmc1: new high speed SDIO card at address 0001
[ 2.274990] Run /sbin/init as init process
[ 2.276145] with arguments:
[ 2.276157] /sbin/init
[ 2.276168] with environment:
[ 2.276179] HOME=/
[ 2.276190] TERM=linux
[ 2.276201] modules-load=dwc2,g_ether
[ 2.889779] systemd[1]: System time before build time, advancing clock.
[ 3.043045] NET: Registered protocol family 10
[ 3.045883] Segment Routing with IPv6
[ 3.128683] 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)
[ 3.134038] systemd[1]: Detected architecture arm.
[ 3.215717] systemd[1]: Set hostname to .
[ 3.880156] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.032523] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.035273] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 4.038891] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.041035] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.046536] systemd[1]: Created slice User and Session Slice.
[ 4.050775] systemd[1]: Listening on Journal Socket.
[ 4.055067] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 4.067805] systemd[1]: Listening on Syslog Socket.
[ 4.071301] systemd[1]: Reached target Slices.
[ 4.812461] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.869161] dwc2 3f980000.usb: supply vusb_d not found, using dummy regulator
[ 4.870736] dwc2 3f980000.usb: supply vusb_a not found, using dummy regulator
[ 4.914525] systemd-journald[122]: Received request to flush runtime journal from PID 1
[ 5.084740] dwc2 3f980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[ 5.086735] dwc2 3f980000.usb: DWC OTG Controller
[ 5.088009] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[ 5.089323] dwc2 3f980000.usb: irq 66, io mem 0x3f980000
[ 5.090929] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 5.093397] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.094904] usb usb1: Product: DWC OTG Controller
[ 5.096270] usb usb1: Manufacturer: Linux 5.10.103-v7+ dwc2_hsotg
[ 5.097629] usb usb1: SerialNumber: 3f980000.usb
[ 5.099884] hub 1-0:1.0: USB hub found
[ 5.101358] hub 1-0:1.0: 1 port detected
[ 5.160261] using random self ethernet address
[ 5.161565] using random host ethernet address
[ 5.163714] usb0: HOST MAC 22:8a:64:e4:02:8a
[ 5.164998] usb0: MAC 56:d9:c2:ae:a0:a7
[ 5.166292] using random self ethernet address
[ 5.167492] using random host ethernet address
[ 5.168724] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 5.169918] g_ether gadget: g_ether ready
[ 5.171074] dwc2 3f980000.usb: bound driver g_ether
[ 5.197168] i2c /dev entries driver
[ 5.429735] dwc2 3f980000.usb: new device is high-speed
[ 5.441271] dwc2 3f980000.usb: new address 16
[ 5.599532] mc: Linux media interface: v0.10
[ 5.600160] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.602700] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 5.602729] [vc_sm_connected_init]: start
[ 5.603271] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[ 5.603287] [vc_sm_connected_init]: failed to initialize shared memory service
[ 5.661623] videodev: Linux video capture interface: v2.00
[ 5.723335] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.723342] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.724206] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.757553] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.759889] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[ 5.760481] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.764799] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.792197] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 5.792257] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 5.796080] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.807744] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[ 5.952622] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.082892] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 6.129883] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 6.147501] brcmfmac: loading out-of-tree module taints kernel.
[ 6.187518] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 6.193679] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.193986] usbcore: registered new interface driver brcmfmac
[ 6.227439] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt failed with error -2
[ 6.578607] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.578763] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 6.579821] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 8.161323] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 8.161358] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 8.857047] random: crng init done
[ 8.857079] random: 7 urandom warning(s) missed due to ratelimiting
[ 9.114221] uart-pl011 3f201000.serial: no DMA platform data
[ 9.429420] fuse: init (API version 7.32)
[ 9.438004] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 9.438032] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 9.529245] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[ 9.529279] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
[ 9.529293] brcmfmac: brcmf_mon_add_vif: Adding vif "mon0"
[ 9.884589] Adding 524284k swap on /var/swap. Priority:-2 extents:2 across:532476k SSFS
[ 14.873504] Bluetooth: Core ver 2.22
[ 14.873617] NET: Registered protocol family 31
[ 14.873625] Bluetooth: HCI device and connection manager initialized
[ 14.873648] Bluetooth: HCI socket layer initialized
[ 14.873669] Bluetooth: L2CAP socket layer initialized
[ 14.873702] Bluetooth: SCO socket layer initialized
[ 14.901484] Bluetooth: HCI UART driver ver 2.3
[ 14.901503] Bluetooth: HCI UART protocol H4 registered
[ 14.901593] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.901797] Bluetooth: HCI UART protocol Broadcom registered
[ 15.345761] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 15.345776] Bluetooth: BNEP filters: protocol multicast
[ 15.345797] Bluetooth: BNEP socket layer initialized
[ 23.814537] device mon0 entered promiscuous mode

The reported version also seems a bit off:
pi@pwnagotchi85:~ $ pwnagotchi --version
1.7.51

from pwnagotchi.

turcane avatar turcane commented on July 23, 2024

I can provide later this day dmesg results. I have just checked mon0 interface and scanning with mon0 device, which was working.

from pwnagotchi.

turcane avatar turcane commented on July 23, 2024

root@pwnny-cage:~# dmesg | grep brcmfmac
[ 6.586340] brcmfmac: loading out-of-tree module taints kernel.
[ 6.586346] brcmfmac: loading out-of-tree module taints kernel.
[ 6.669865] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 6.679052] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 6.679335] usbcore: registered new interface driver brcmfmac
[ 6.708043] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.raspberrypi,model-zero-2-w.txt failed with error -2
[ 7.068258] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 7.068406] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 7.069397] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378
[ 8.757260] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 8.757286] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 9.924855] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 9.924878] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 10.013097] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[ 10.013132] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
[ 10.013146] brcmfmac: brcmf_mon_add_vif: Adding vif "mon0"
[ 38.969449] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
[ 38.969465] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[ 39.011364] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[ 39.011381] brcmfmac: brcmf_vif_add_validate: ... there is already a monitor interface, returning EOPNOTSUPP

root@pwnny-cage:~# pwnagotchi --version
1.7.51

root@pwnny-cage:~# ifconfig mon0
mon0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
unspec D8-3A-DD-42-3F-2F-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 1825 bytes 316801 (309.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 501 bytes 354860 (346.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

It seems that I have still an error but mon0 works now.

from pwnagotchi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.