Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image won’t boot on Raspberry Pi Zero 2 W #1046

Open
3 tasks done
AlexWhitehouse opened this issue Nov 2, 2021 · 170 comments
Open
3 tasks done

Image won’t boot on Raspberry Pi Zero 2 W #1046

AlexWhitehouse opened this issue Nov 2, 2021 · 170 comments

Comments

@AlexWhitehouse
Copy link

AlexWhitehouse commented Nov 2, 2021

Expected Behaviour

Expected to boot on Pi Zero 2 W. Fails to boot.

Current Behaviour

Fails to boot

Possible Solution

Recompile kernel for RPiZ2W

Steps to Reproduce (for bugs)

  1. Flash image to SD
  2. Load SD into RPiZ2W
  3. Try to boot

Your Environment

  • You're using the official images (1.5.5)

  • You're using a raspberry pi zero 2 w

  • You're using a supported LCD (waveshare v2)

@akhepcat
Copy link

akhepcat commented Nov 2, 2021

Funny - i just swapped mine over with no issues at all:

root@pwnagotchu:~# dmesg|more
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.83-Re4son-v7+ (root@kali) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 SMP Sat May 15 03:22:58 UTC 2021
[ 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 Rev 1.0

root@pwnagotchu:~# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1

root@pwnagotchu:~# cat /usr/local/src/pwnagotchi/pwnagotchi/_version.py
version = '1.5.5'

@AlexWhitehouse
Copy link
Author

I don't even get past the multicoloured square to boot to the kernel image. Neither do I get any status lights on the pi itself. I have loaded other images to check there is no problem with the pi and these have booted successfully.

@akhepcat
Copy link

akhepcat commented Nov 3, 2021

FWIW - i'm running on a 64G SanDisk Ultra, Class 10 (A1) that had previously been running on a Pi0w-v1

You could try booting up on a V1, using the usb ethernet sharing and "internet sharing" then ssh into the pi and make sure there are no filesystem issues, and run an apt-get update / upgrade cycle to get everything up to date? (you may need to manually fix-up /etc/resolv.conf, and set your time/date.)

But I didn't do any of that prior to booting it on the V2 ... just swapped the card over, and it worked fine.

@AlexWhitehouse
Copy link
Author

Very strange, I don't have a v1 to hand to test that unfortunately. Does the fact there are no status lights or anything output to HDMI suggest that the pi is not accepting the image on the SD card? It works fine with other builds just not the pwnagotchi image.

@akhepcat
Copy link

akhepcat commented Nov 3, 2021

you could try re-imaging the sdcard. Or try booting it on any other pi hardware you might have, possibly excepting for the wifi and cdcether, it should otherwise start up (tested on a Pi4, even cdcether works)

@AlexWhitehouse
Copy link
Author

I have re-imaged the sdcard, plugged into RPi Zero 2 and nothing. I then plug the same card into a Pi4 and I get activity lights and an IP address. I then plug the same card back into the zero 2 and get nothing again. I have also tried just raspbian light on the SD card in the zero 2 and this works fine.

@Junohea
Copy link

Junohea commented Nov 5, 2021

Seeing the same issue. The Zero 2 fails to boot with any of the following:

  • clean flash of v1.5.5
  • clean flash of v1.5.5, apt update&upgrade
  • "old image" (running latest 1.5.5)
  • old image, apt update&upgrade

But it did boot with the latest raspbian

For reference, here's what we see while it boots from the Pi Zero W (non Zero2)
root@pwnagotchi:~# dmesg|more
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.83-Re4son+ (root@kali) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 Sat May 15 12:50:45 UTC 2021
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1

@isthisausername1
Copy link

I am having the same problem on my zero 2.
I have also tried the steps @Junohea tried in his post above.
The sd card works fine on my rpi 4 and everything else with it works to but the status lights don't even blink on the zero2.

@akhepcat
Copy link

akhepcat commented Nov 5, 2021

One difference i see in your bootlog is the kernel version:
Mine (booting) : 5.4.83-Re4son-v7+
Yours (failing) : 5.4.83-Re4son+

This would seem to indicate that you need to upgrade your kernel, or the image that you're using.

Boot it on a working device, get internet connectivity (via wired, or 2nd wifi) and run a distro upgrade to see if there's an upgraded kernel for you.

(apparently I may have done that, but I don't remember upgrading the system...)

@isthisausername1
Copy link

I think it defiantly could have been that, unfortunately i didn't check the version before updating but now after doing

sudo apt update && sudo apt full-upgrade -y

it started working and now it boots and i can ssh into it and see the web ui.
Hope that can help someone.

@akhepcat
Copy link

akhepcat commented Nov 5, 2021

One issue with this is that there's apparently a change with numpy ( #1045 ), and now the ai crashes on load.

There's already a bug open on it, so you might want to go give it a thumbs-up

@isthisausername1
Copy link

isthisausername1 commented Nov 5, 2021 via email

@Junohea
Copy link

Junohea commented Nov 6, 2021

I think it defiantly could have been that, unfortunately i didn't check the version before updating but now after doing

sudo apt update && sudo apt full-upgrade -y

it started working and now it boots and i can ssh into it and see the web ui. Hope that can help someone.

Retried the setups from before but did the full-upgrade and it worked in all instances. 👍

@isthisausername1
Copy link

Retried the setups from before but did the full-upgrade and it worked in all instances. 👍

Glad to here it got it going, have you had any other problems running it on the pi zero 2 w

I manually started the better cap api now im getting error 400: exit status 254 in the logs. Googleing this turned up nothing.

@ianculpan
Copy link

I think it defiantly could have been that, unfortunately i didn't check the version before updating but now after doing
sudo apt update && sudo apt full-upgrade -y
it started working and now it boots and i can ssh into it and see the web ui. Hope that can help someone.

Retried the setups from before but did the full-upgrade and it worked in all instances. 👍

To clear up a little this sorted my install but I had to boot the image using a PI 3. The image wouldnt boot on a PI4. Once booted and upgraded everything looks to be working fine (so far)

@skontrolle
Copy link
Contributor

I've gotten the zero 2 to boot with the apt full-upgrade but haven't been able to get it to find any networks while running. The mon0 interface comes up and I can see networks with iwlist mon0 scan. It gets to 50 blind epochs and reboots in 6 minutes.

[CRITICAL] 50 epochs without visible access points -> rebooting ...

I notice this in the system log but doesn't seem to give many more clues.

brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43436-sdio.raspberrypi,model-zero-2.txt failed with error -2

The same image works on the original 0w.

The AI issue I worked around by apt install libavformat58 libavcodec58 but this replaced kalipi-bootloader with raspberrypi-bootlader.

@akhepcat
Copy link

akhepcat commented Nov 10, 2021

@skontrolle you'll need to make sure you've got the most recent linux-firmware packages (libre and nonfree) installed.

Worst-case, you can grab the firmware files from any ubuntu machine running 21.04 or 21.10 right out of /lib/firmware/brcm/ and install them into the same place on the rPi

the "brcmfmac43436-sdio.raspberrypi,model-zero-2.txt" file warning can be ignored. it's a backup file for setting the firmware variables, but the less specific driver file will take care of it.

@skontrolle
Copy link
Contributor

Thanks, for the warning explanation.
The latest firmware appears to be in place and the checksums of the files match https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm
firmware-brcm80211/oldstable,now 1:20190114-2+rpt4 all [installed] which was upgraded from rpt2.
If I remove the brcmfmac43436-* files the wifi doesn't come up at all as expected.

Is there something in bettercap I can set to log or try?

@skontrolle
Copy link
Contributor

I just retraced all of my steps with a clean 1.5.5 image to make sure I didn't have any issues with my backup config.

  • raw image doesn't boot on zero2
  • boot 0w
  • sudo apt update && sudo apt full-upgrade -y
  • swap card to zero2
  • boots but no wifi for bettercap
    • install firmware not upgraded in the full-upgrade sudo apt install firmware-brcm80211; reboot
  • pwnagotchi starts, mon0 interface up & can iwlist mon0 scan, numpy error in logs, all epochs are blind
  • with numpy fixed, all epochs are still blind, and the AI fails in import cv2
    • sudo apt install libavcodec58 libavformat58; these remove the kalipi-bootloader. reboot for good measure
  • epochs still blind, AI starts really quickly, pwnagotchi restarts after 50 blind epochs.
  • drop card back in 0w, everything works.

@akhepcat
Copy link

Okay, so @skontrolle -
i'm not sure if you'll be able to revert back, but you can try to force re- install kalipi-bootloader and kalipi-kernel

i think that without the kalipi kernel (and modules) you won't get the correct driver for the mon interface, so won't be able to sniff correctly.

I was able to just install libavcodec58 libavformat58 without upgrading/installing the raspberrypi-bootloader/kernel by marking the two packages as "hold" - apt-mark hold kalipi-bootloader kalipi-kernel

it's a horrible workaround, but seems to have gotten mine up and running fully now ( also setting /etc/default/crda to the correct domain)

@skontrolle
Copy link
Contributor

Thanks @akhepcat but still no joy on the wifi

The kalipi-kernel has persisted through the updates. I reverted the av..58s reinstalled the kalipi-bootlaoder held them but was unable to install the files. Looking a bit more I found the libraspberrypi0 is the reason the bootloader is tried to replace. Installing a slightly older one allowed me to get the av..58 files installed and to keep the bootloader.
libraspberrypi0/oldstable 1:1.20211029-1~buster armhf [upgradable from: 5.4.83-20210516]

I also set the /etc/default/crda. When messing manually in bettercap, I was able to see it failing on channels outside my locality with wifi.recon on so this might be doing something.

For good measure, here's the wifi loading line from the kernel, is yours similar?
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) (f149b32@shgit) (r679549) FWID 01-f40f3270

I'm not sure it's supported upstream in nexmon yet...
seemoo-lab/nexmon#500

@isthisausername2
Copy link

isthisausername2 commented Nov 15, 2021

This worked perfectly, everything is working now and it is working great.
i lied, everything except the wifi parts work.
i made a quick script for anyone wanting to use the new rpi and is lazy like me. If you see anything i could do better please let me know, this is my first ever script.

https://github.com/isthisausername2/pwnagotchi_rpi_zero_2_fix

@andur82
Copy link

andur82 commented Nov 15, 2021

This worked perfectly, everything is working now and it is working great.

i made a quick script for anyone wanting to use the new rpi and is lazy like me. If you see anything i could do better please let me know, this is my first ever script.

https://github.com/isthisausername2/pwnagotchi_rpi_zero_2_fix

I'm sorry but... What exactly working great?
I've follow all steps from the first comment, and tried everything... But my rpi 02w still not working.
If I do "sudo iwlist mon0 scan" I receive all networks around me, but bettercap didn't found anything. It's me or nobody with the new zero have it working?

Btw I didn't update libav*58 because I didn't understand what to do after with kalipi-bootloader.

@isthisausername2
Copy link

isthisausername2 commented Nov 15, 2021

The steps written by @skontrolle got my Zero 2 w working*.

I recommend flashing your sd card with a fresh install of pwnagotchi, following those steps or using the script on a pi that does boot, then putting that fresh sd card in your zero 2 w and seeing if that fixes it. That's how i got mine working.

@akhepcat
Copy link

akhepcat commented Nov 15, 2021

I cloned the repo from @isthisausername2 and made some changes to ward off some potential issues that I foresee.
https://github.com/akhepcat/pwnagotchi_rpi_zero_2_fix

@andur82 - burn a new, fresh image of 1.5.5.
Boot onto a pi0w-v1 and either using a USB-ethernet or the usb-gadget interface for network connectivity, run the script as root. It'll take about an hour to download and upgrade.
You can't use wifi to do the upgrade, currently.

you should also be able to use a pi3 or pi4 for the first booting and upgrades (again, you'll need to use usb-gadget or ethernet for network connectivity)

That said: it still won't work on the pi zero v2, because the only firmware available for the brcmfmac43436 chip doesn't support the full promiscuous capture in monitor mode, unlike the brcmfmac43430 of the -v1.

And as @skontrolle mentioned, until nexmon releases a working firmware, running this on the zero-v2 isn't going to get us anywhere. ( seemoo-lab/nexmon#500 )

@andur82
Copy link

andur82 commented Nov 15, 2021

@akhepcat many thanks for this explain.
I've done all stuff by hand and not by script on a pi3. Didn't understand about the nexmon firmware and the zero-v2. Sorry.

Strange things: on the rpi3, after done all update with libav*58 (and installing raspberry bootloader instead of the original kali) the pwnagotchi do only one round with the first found aps, then completely die. No more scan.
It's normal? Otherwise I'll back to older "original" 1.5.5 release.

@skontrolle
Copy link
Contributor

@isthisausername2 interesting that you got it to work. What wifi firmware chipset /firmware do you get from sudo dmesg |grep brcm
I just tried a few of the nexmon patched pi3 firmwares without any luck. @akhepcat nice summary!

In a sense, the original issue is solved in getting the 0w2 to boot, but the wifi issue is a different blocker for at least my boards.

@isthisausername2
Copy link

@akhepcat Thanks for that, i see some things added that i had no idea how to and also some other things that would help.

@skontrolle I will try when i can. I remember seeing it catch a handshake but there are a few wifi networks around me so theres a chance it isn't actually working properly or they weren't in range. I took it on the bus with me today so i will see what or if its captured anything.
Should we make a new issue with an updated title or should we just leave it here and wait for the other softwares to be updated to support this new device.

@skontrolle
Copy link
Contributor

@isthisausername2 my initial hint that things weren't working was that the access points CH * APS 0 (0) always remained at 0. The monitor interface will come up even if it can't actually monitor.

@rakosi2
Copy link

rakosi2 commented Nov 20, 2022

I have gotten the same error with dd. Using the official Raspberry pi flasher does seem to properly flash it for me.

@otzy007
Copy link

otzy007 commented Nov 20, 2022

This is the dmesg for the 1.5.6beta2 https://github.com/DrSchottky/pwnagotchi/releases/tag/v1.5.6-beta2 on Pi Zero 2 W

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.44-Re4son-v7+ (root@kali-rpi) (gcc (Debian 11.2.0-19) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP Debian kali-pi (2022-07-03)
[    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: crng 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] percpu: Embedded 16 pages/cpu s35788 r8192 d21556 u65536
[    0.000000] pcpu-alloc: s35788 r8192 d21556 u65536 alloc=16*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=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:F8:0A:6F 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] Unknown kernel command line parameters "modules-load=dwc2,g_ether", will be passed to user space.
[    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: 420712K/507904K available (10240K kernel code, 1342K rwdata, 3040K rodata, 1024K init, 578K bss, 21656K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 32256 entries in 95 pages
[    0.000000] ftrace: allocated 95 pages with 6 groups
[    0.000000] trace event string verifier disabled
[    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] 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.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000024] Switching to timer-based delay loop, resolution 52ns
[    0.000454] Console: colour dummy device 80x30
[    0.001277] printk: console [tty1] enabled
[    0.001349] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001409] pid_max: default: 32768 minimum: 301
[    0.001577] LSM: Security Framework initializing
[    0.001813] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001863] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003385] cgroup: Disabling memory control group subsystem
[    0.003677] CPU: Testing write buffer coherency: ok
[    0.004219] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005569] Setting up static identity map for 0x100000 - 0x10003c
[    0.005776] rcu: Hierarchical SRCU implementation.
[    0.006792] smp: Bringing up secondary CPUs ...
[    0.007942] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009206] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010471] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010621] smp: Brought up 1 node, 4 CPUs
[    0.010722] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.010757] CPU: All CPU(s) started in HYP mode.
[    0.010785] CPU: Virtualization extensions available.
[    0.011586] devtmpfs: initialized
[    0.028902] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.029178] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.029256] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032490] pinctrl core: initialized pinctrl subsystem
[    0.033881] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.037972] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.043851] audit: initializing netlink subsys (disabled)
[    0.044160] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.044780] thermal_sys: Registered thermal governor 'step_wise'
[    0.045337] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.045403] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045684] Serial: AMBA PL011 UART driver
[    0.054154] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080067] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-05-24T13:26:13, variant start_cd
[    0.090083] raspberrypi-firmware soc:firmware: Firmware hash is 2c647ef4127e289d4a0cb5cfbb22855bfb7f1723
[    0.139236] Kprobes globally optimized
[    0.146915] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.149215] SCSI subsystem initialized
[    0.149512] usbcore: registered new interface driver usbfs
[    0.149600] usbcore: registered new interface driver hub
[    0.149692] usbcore: registered new device driver usb
[    0.150033] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.150705] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.151046] pps_core: LinuxPPS API ver. 1 registered
[    0.151079] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.151138] PTP clock support registered
[    0.152757] clocksource: Switched to clocksource arch_sys_counter
[    0.223478] VFS: Disk quotas dquot_6.6.0
[    0.223636] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.223862] FS-Cache: Loaded
[    0.224147] CacheFiles: Loaded
[    0.234861] NET: Registered PF_INET protocol family
[    0.235105] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.236409] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.236497] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.236597] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.236725] TCP: Hash tables configured (established 4096 bind 4096)
[    0.236889] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.236952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.237235] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.243738] RPC: Registered named UNIX socket transport module.
[    0.243778] RPC: Registered udp transport module.
[    0.243807] RPC: Registered tcp transport module.
[    0.243835] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.794769] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.800290] Initialise system trusted keyrings
[    1.800617] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.810746] zbud: loaded
[    1.812838] FS-Cache: Netfs 'nfs' registered for caching
[    1.813851] NFS: Registering the id_resolver key type
[    1.813917] Key type id_resolver registered
[    1.813946] Key type id_legacy registered
[    1.814112] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.814148] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.955931] Key type asymmetric registered
[    1.955970] Asymmetric key parser 'x509' registered
[    1.956093] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.956136] io scheduler mq-deadline registered
[    1.956166] io scheduler kyber registered
[    1.959940] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.995522] Console: switching to colour frame buffer device 228x61
[    2.011004] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1824x984
[    2.018272] bcm2835-rng 3f104000.rng: hwrng registered
[    2.018843] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    2.020235] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    2.032920] brd: module loaded
[    2.043125] loop: module loaded
[    2.043913] Loading iSCSI transport class v2.0-870.
[    2.045969] usbcore: registered new interface driver lan78xx
[    2.046140] usbcore: registered new interface driver smsc95xx
[    2.046261] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.046611] dwc_otg: FIQ enabled
[    2.046624] dwc_otg: NAK holdoff enabled
[    2.046636] dwc_otg: FIQ split-transaction FSM enabled
[    2.046652] Module dwc_common_port init
[    2.046884] usbcore: registered new interface driver usb-storage
[    2.047210] mousedev: PS/2 mouse device common for all mice
[    2.050294] sdhci: Secure Digital Host Controller Interface driver
[    2.050418] sdhci: Copyright(c) Pierre Ossman
[    2.050924] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.052709] ledtrig-cpu: registered to indicate activity on CPUs
[    2.053208] hid: raw HID events driver (C) Jiri Kosina
[    2.053402] usbcore: registered new interface driver usbhid
[    2.053469] usbhid: USB HID core driver
[    2.057150] Initializing XFRM netlink socket
[    2.057251] NET: Registered PF_PACKET protocol family
[    2.057415] Key type dns_resolver registered
[    2.057599] Registering SWP/SWPB emulation handler
[    2.058131] registered taskstats version 1
[    2.058201] Loading compiled-in X.509 certificates
[    2.058796] Key type ._fscrypt registered
[    2.061345] Key type .fscrypt registered
[    2.063861] Key type fscrypt-provisioning registered
[    2.067391] Key type encrypted registered
[    2.079026] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.081940] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    2.086628] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.089714] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.094959] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    2.097545] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    2.128054] sdhost: log_buf @ 77ec576c (dad10000)
[    2.181936] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.195144] of_cfs_init
[    2.198924] of_cfs_init: OK
[    2.203703] Waiting for root device /dev/mmcblk0p2...
[    2.243330] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.250080] mmc0: new high speed SDHC card at address 1234
[    2.254607] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    2.262162]  mmcblk0: p1 p2
[    2.266517] mmcblk0: mmc0:1234 SA32G 28.9 GiB
[    2.306640] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.310752] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.323959] mmc1: new high speed SDIO card at address 0001
[   10.076778] EXT4-fs (mmcblk0p2): recovery complete
[   10.178750] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   10.182052] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[   10.194688] devtmpfs: mounted
[   10.205032] Freeing unused kernel image (initmem) memory: 1024K
[   10.209219] Run /sbin/init as init process
[   10.212342]   with arguments:
[   10.212350]     /sbin/init
[   10.212358]   with environment:
[   10.212365]     HOME=/
[   10.212372]     TERM=linux
[   10.212379]     modules-load=dwc2,g_ether
[   10.805391] systemd[1]: System time before build time, advancing clock.
[   10.984358] NET: Registered PF_INET6 protocol family
[   10.988173] Segment Routing with IPv6
[   10.990794] In-situ OAM (IOAM) with IPv6
[   11.073107] 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)
[   11.081154] systemd[1]: Detected architecture arm.
[   11.170487] systemd[1]: Set hostname to <pwnagotchi>.
[   11.770673] systemd[1]: Configuration file /etc/systemd/system/pwngrid-peer.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[   11.776595] systemd[1]: Configuration file /etc/systemd/system/pwnagotchi.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[   11.808252] systemd[1]: Configuration file /etc/systemd/system/bettercap.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
[   11.838485] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   11.847481] systemd[1]: Listening on Journal Audit Socket.
[   11.854985] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   11.862262] systemd[1]: Reached target Paths.
[   12.588699] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[   12.594549] dwc2 3f980000.usb: supply vusb_d not found, using dummy regulator
[   12.598170] dwc2 3f980000.usb: supply vusb_a not found, using dummy regulator
[   12.699751] systemd-journald[148]: Received request to flush runtime journal from PID 1
[   12.822921] dwc2 3f980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[   12.826734] dwc2 3f980000.usb: DWC OTG Controller
[   12.830271] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[   12.834359] dwc2 3f980000.usb: irq 66, io mem 0x3f980000
[   12.838199] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   12.841763] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.845378] usb usb1: Product: DWC OTG Controller
[   12.848616] usb usb1: Manufacturer: Linux 5.15.44-Re4son-v7+ dwc2_hsotg
[   12.851142] usb usb1: SerialNumber: 3f980000.usb
[   12.854510] hub 1-0:1.0: USB hub found
[   12.857141] hub 1-0:1.0: 1 port detected
[   12.907791] using random self ethernet address
[   12.910894] using random host ethernet address
[   12.918254] usb0: HOST MAC 56:82:cb:63:ee:63
[   12.921497] usb0: MAC 26:ce:27:f0:62:66
[   12.924376] using random self ethernet address
[   12.927116] using random host ethernet address
[   12.929884] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   12.932625] g_ether gadget: g_ether ready
[   12.935187] dwc2 3f980000.usb: bound driver g_ether
[   12.956374] i2c_dev: i2c /dev entries driver
[   13.148556] dwc2 3f980000.usb: new device is high-speed
[   13.171925] dwc2 3f980000.usb: new address 3
[   13.220697] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   13.222240] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   13.222259] [vc_sm_connected_init]: start
[   13.222598] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[   13.222610] [vc_sm_connected_init]: failed to initialize shared memory service
[   13.242530] mc: Linux media interface: v0.10
[   13.299192] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   13.300765] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[   13.301542] videodev: Linux video capture interface: v2.00
[   13.303679] bcm2835_audio bcm2835_audio: card created with 8 channels
[   13.386631] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   13.386631] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   13.387214] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   13.400343] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   13.401924] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   13.407594] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   13.407618] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   13.407739] : Unregister from media controller
[   13.407757] (efault): Unregistering node (null)[0] device node /dev/video0
[   13.407773] (efault): Unregistering node (null)[0] device node /dev/video0
[   13.407793] (efault): Unregistering node (null)[0] device node /dev/video0
[   13.407805] (efault): Unregistering node (null)[0] device node /dev/video0
[   13.423684] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   13.433002] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   13.602187] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   13.654818] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   13.757383] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[   13.763432] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436s-sdio for chip BCM43430/1
[   13.764355] usbcore: registered new interface driver brcmfmac
[   13.792183] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.bin failed with error -2
[   13.998087] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436s-sdio for chip BCM43430/1
[   13.998260] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436s-sdio for chip BCM43430/1
[   13.998355] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   13.998967] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb  5 2021 12:49:07 version 7.45.96 (r745790) FWID 01-71817851 es7
[   15.642508] uart-pl011 3f201000.serial: no DMA platform data
[   15.753907] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   15.978848] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
[   15.978883] brcmfmac: brcmf_mon_add_vif: brcmf_mon_add_vif called
[   15.978893] brcmfmac: brcmf_mon_add_vif: Adding vif "mon0"
[   16.003106] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[   16.085191] fuse: init (API version 7.34)
[   16.756491] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   21.952901] Bluetooth: Core ver 2.22
[   21.953026] NET: Registered PF_BLUETOOTH protocol family
[   21.953035] Bluetooth: HCI device and connection manager initialized
[   21.953062] Bluetooth: HCI socket layer initialized
[   21.953077] Bluetooth: L2CAP socket layer initialized
[   21.953106] Bluetooth: SCO socket layer initialized
[   21.994962] Bluetooth: HCI UART driver ver 2.3
[   21.994992] Bluetooth: HCI UART protocol H4 registered
[   21.995121] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   21.996282] Bluetooth: HCI UART protocol Broadcom registered
[   22.432232] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.432266] Bluetooth: BNEP filters: protocol multicast
[   22.432294] Bluetooth: BNEP socket layer initialized
[   32.472806] cam-dummy-reg: disabling

@bking46
Copy link

bking46 commented Nov 22, 2022

Hi everyone,

Just wanted to report back that with @DrSchottky images V1.5.6 and V1.5.6-beta 2 the rpi zero 2 W boots and seems to run as expected. The big issue I am facing with both images is the fact that the Pi doesn't find any networks whatsoever. After a few minutes it goes into AI mode but cannot find any networks. Have tried manu mode and then went into bettercap but it's still the same no networks. I would be greatful for any help or suggestions. I realize this issue is still open but from reading the thread I was under the impression that this is now working for some users with the pi zero 2 w. Thanks for your help

@LilianHori
Copy link

Had the same problem but the image from there https://github.com/evilsocket/pwnagotchi/issues/1046#issuecomment-1211328517 worked well for my Pi02

@Crash891
Copy link

Had the same problem but the image from there https://github.com/evilsocket/pwnagotchi/issues/1046#issuecomment-1211328517 worked well for my Pi02

The link seems to be broken... it don't open any issue... maybe is deleted.
Anyway guys i tried the 1.5.6 beta2 and 1.5.6: the 1.5.6 don't get the API and don't start. The 1.5.6 beta2 start, with the Logtail i can see that see the networks, it deaught and do things but it don't actually take the networks.
I hope there will be a true new version of pwnagotchi, cause the rpi zero v1 can't be found in the shops, is obsolete and no one have it anymore. (of course the waveshare v3 is needed too, but that is an easyer fix)

@bking46
Copy link

bking46 commented Nov 23, 2022

@LilianHori thanks so much for pointing out the link with that image. I am happy to report that my setup is no longer blind 😊. Will do a proper test this week to see how it goes with the rest of the functions (gps, bettercap, etc).
@Crash891: The link is this one that LilianHori was referring https://ufile.io/ab3gcxly
20221123_164411

@Crash891
Copy link

@LilianHori thanks so much for pointing out the link with that image. I am happy to report that my setup is no longer blind 😊. Will do a proper test this week to see how it goes with the rest of the functions (gps, bettercap, etc). @Crash891: The link is this one that LilianHori was referring https://ufile.io/ab3gcxly 20221123_164411

thanks you very much, i'll try right now. i will need to change the files to make it work with v3 waveshare obv... maybe i'll try without screen for now

@Crash891
Copy link

Crash891 commented Nov 23, 2022

@LilianHori thanks so much for pointing out the link with that image. I am happy to report that my setup is no longer blind 😊. Will do a proper test this week to see how it goes with the rest of the functions (gps, bettercap, etc). @Crash891: The link is this one that LilianHori was referring https://ufile.io/ab3gcxly 20221123_164411

ok, idk what he is doing... it seems to boot, but i can not open the web UI on 10.0.0.2:8080, so i can't see the logs

@bking46
Copy link

bking46 commented Nov 23, 2022

@Crash891: For me the web ui works but I am connected via bluetooth. One suggestion would be to flash the image and add config.toml with the required parameters in the boot partition to enable the bluetooth connection with your phone. In this way you basically have access to everything ssh, sftp, webui. Hope this helps

@LilianHori
Copy link

@Crash891 when something goes wrong I sometime don't have access to webUI but can still ssh in and view logs that way

@storm546
Copy link

how am i supposed to get the v3 display to work with https://ufile.io/ab3gcxly ?

@jayofelony
Copy link

jayofelony commented Nov 28, 2022

I have 1.5.6b2 running on a pi 4 8 gb with kalipi. Bettercap works with wlan0 in monitor mode. Airodump-ng also works perfect, but for some reason pwnagotchi does not see networks and unable to capture. Anyone who can help me out?

systemctl status pwnagotchi
pwnagotchi.service - pwnagotchi Deep Reinforcement Learning instrumenting bettercap for WiFI pwning. Loaded: loaded (/etc/systemd/system/pwnagotchi.service; enabled; preset: disabled) Active: active (running) since Mon 2022-11-28 13:46:22 UTC; 24min ago Docs: https://pwnagotchi.ai Main PID: 933 (bash) Tasks: 9 CPU: 27.479s CGroup: /system.slice/pwnagotchi.service ├─933 bash /usr/bin/pwnagotchi-launcher └─939 /usr/local/bin/python3.7 /usr/local/bin/pwnagotchi --manual

systemctl status bettercap
bettercap.service - bettercap api.rest service. Loaded: loaded (/etc/systemd/system/bettercap.service; enabled; preset: disabled) Active: active (running) since Mon 2022-11-28 13:45:33 UTC; 26min ago Docs: https://bettercap.org Main PID: 455 (bash) Tasks: 12 (limit: 9293) CPU: 8.192s CGroup: /system.slice/bettercap.service ├─455 bash /usr/bin/bettercap-launcher └─503 /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface wlan0mon

systemctl status pwngrid
pwngrid-peer.service - pwngrid peer service. Loaded: loaded (/etc/systemd/system/pwngrid-peer.service; enabled; preset: disabled) Active: active (running) since Mon 2022-11-28 13:45:33 UTC; 26min ago Docs: https://pwnagotchi.ai Main PID: 466 (pwngrid) Tasks: 14 (limit: 9293) CPU: 26.326s CGroup: /system.slice/pwngrid-peer.service └─466 /usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/>

contents of /var/log/pwnagtochi.log, last run

[2022-11-28 15:31:39,239] [DEBUG] [FS] Daemonized...
[2022-11-28 15:31:39,242] [DEBUG] [FS] Syncing /var/tmp/pwnagotchi -> /run/pwnagotchi/disk/pwnagotchi
[2022-11-28 15:31:39,255] [DEBUG] loading plugins from /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default - enabled: ['grid', 'webcfg', 'memtemp', 'watchdog', 'wigle', 'wpa-sec', 'bt-tether', 'auto-update', 'led', 'session-stats']
[2022-11-28 15:31:39,262] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/memtemp.py
[2022-11-28 15:31:39,264] [DEBUG] loaded plugin memtemp as <memtemp.MemTemp object at 0x7f8f7a7e50>
[2022-11-28 15:31:39,264] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/bt-tether.py
[2022-11-28 15:31:39,282] [DEBUG] loaded plugin bt-tether as <bt-tether.BTTether object at 0x7f8e561310>
[2022-11-28 15:31:39,283] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/auto-update.py
[2022-11-28 15:31:39,286] [DEBUG] loaded plugin auto-update as <auto-update.AutoUpdate object at 0x7f8e561e50>
[2022-11-28 15:31:39,288] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/webcfg.py
[2022-11-28 15:31:39,290] [DEBUG] loaded plugin webcfg as <webcfg.WebConfig object at 0x7f8e56c350>
[2022-11-28 15:31:39,291] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/wigle.py
[2022-11-28 15:31:39,293] [DEBUG] loaded plugin wigle as <wigle.Wigle object at 0x7f8e070490>
[2022-11-28 15:31:39,294] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/watchdog.py
[2022-11-28 15:31:39,297] [DEBUG] loaded plugin watchdog as <watchdog.Watchdog object at 0x7f8e070950>
[2022-11-28 15:31:39,298] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/led.py
[2022-11-28 15:31:39,300] [DEBUG] loaded plugin led as <led.Led object at 0x7f8e076b10>
[2022-11-28 15:31:39,302] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/wpa-sec.py
[2022-11-28 15:31:39,303] [DEBUG] loaded plugin wpa-sec as <wpa-sec.WpaSec object at 0x7f8e0788d0>
[2022-11-28 15:31:39,304] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/session-stats.py
[2022-11-28 15:31:39,306] [DEBUG] loaded plugin session-stats as <session-stats.SessionStats object at 0x7f8e07f490>
[2022-11-28 15:31:39,307] [DEBUG] loading /usr/local/lib/python3.7/site-packages/pwnagotchi/plugins/default/grid.py
[2022-11-28 15:31:39,309] [DEBUG] loaded plugin grid as <grid.Grid object at 0x7f8e07ff10>
[2022-11-28 15:31:39,310] [DEBUG] loading plugins from  - enabled: ['grid', 'webcfg', 'memtemp', 'watchdog', 'wigle', 'wpa-sec', 'bt-tether', 'auto-update', 'led', 'session-stats']
[2022-11-28 15:31:39,313] [INFO] memtemp plugin loaded.
[2022-11-28 15:31:39,316] [INFO] WPA_SEC: plugin loaded
[2022-11-28 15:31:39,318] [INFO] [update] plugin loaded.
[2022-11-28 15:31:39,321] [INFO] [led] plugin loaded for /sys/class/leds/led0/brightness
[2022-11-28 15:31:39,320] [INFO] Watchdog plugin loaded.
[2022-11-28 15:31:39,321] [INFO] WIGLE: ready
[2022-11-28 15:31:39,319] [INFO] grid plugin loaded.
[2022-11-28 15:31:39,323] [INFO] Session-stats plugin loaded.
[2022-11-28 15:31:39,324] [INFO] webcfg: Plugin loaded.
[2022-11-28 15:31:39,342] [DEBUG] [led] event 'loaded' set
[2022-11-28 15:31:39,344] [DEBUG] [led] using pattern 'oo  oo  oo oo  oo  oo  oo' ...
[2022-11-28 15:31:39,354] [WARNING] ui.fps is 0, the display will only update for major changes
[2022-11-28 15:31:39,355] [WARNING] display module is disabled
[2022-11-28 15:31:39,412] [INFO] BT-TETHER: Successfully loaded ...
[2022-11-28 15:31:39,550] [INFO] starting monitor interface ...
[2022-11-28 15:31:40,189] [INFO] starting monitor interface ...
[2022-11-28 15:31:40,489] [INFO] Hakselaar@5042c57bdb1dea2d2ed34d8f833c6d952a762a46e9b6d97f44fd941de91af48e (v1.5.6-beta2)
[2022-11-28 15:31:40,495] [DEBUG] plugin 'MemTemp' v1.0.2
[2022-11-28 15:31:40,504] [INFO] web ui available at http://0.0.0.0:8080/
[2022-11-28 15:31:40,505] [DEBUG] plugin 'BTTether' v1.1.0
[2022-11-28 15:31:40,506] [DEBUG] plugin 'AutoUpdate' v1.1.1
[2022-11-28 15:31:40,510] [DEBUG] plugin 'WebConfig' v1.0.0
[2022-11-28 15:31:40,512] [DEBUG] plugin 'Wigle' v2.0.0
[2022-11-28 15:31:40,513] [DEBUG] plugin 'Watchdog' v0.1.0
[2022-11-28 15:31:40,517] [DEBUG] plugin 'Led' v1.0.0
[2022-11-28 15:31:40,528] [DEBUG] plugin 'WpaSec' v2.1.0
[2022-11-28 15:31:40,536] [DEBUG] plugin 'SessionStats' v0.1.0
[2022-11-28 15:31:40,554] [DEBUG] plugin 'Grid' v1.0.1
[2022-11-28 15:31:40,561] [INFO] entering auto mode ...
[2022-11-28 15:31:40,571] [INFO] [ai] bootstrapping dependencies ...
[2022-11-28 15:31:40,573] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,632] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:40,645] [INFO] connecting to http://localhost:8081/api ...
[2022-11-28 15:31:40,660] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,674] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 72
[2022-11-28 15:31:40,680] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,697] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 74
[2022-11-28 15:31:40,702] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,706] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 90
[2022-11-28 15:31:40,720] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,742] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 84
[2022-11-28 15:31:40,752] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,762] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 102
[2022-11-28 15:31:40,781] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,797] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 116
[2022-11-28 15:31:40,812] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,823] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 74
[2022-11-28 15:31:40,831] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,852] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 76
[2022-11-28 15:31:40,871] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,889] [INFO] starting monitor interface ...
[2022-11-28 15:31:40,895] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 78
[2022-11-28 15:31:40,905] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,913] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 66
[2022-11-28 15:31:40,926] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,934] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 68
[2022-11-28 15:31:40,947] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:40,954] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 400 66
[2022-11-28 15:31:40,998] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:41,045] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:41,055] [INFO] starting monitor interface ...
[2022-11-28 15:31:41,060] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:41,566] [INFO] starting monitor interface ...
[2022-11-28 15:31:42,106] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:42,119] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:42,177] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:42,190] [INFO] starting monitor interface ...
[2022-11-28 15:31:42,194] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:42,779] [INFO] starting monitor interface ...
[2022-11-28 15:31:43,341] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:43,352] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:43,420] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:43,491] [INFO] starting monitor interface ...
[2022-11-28 15:31:43,496] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:44,029] [INFO] starting monitor interface ...
[2022-11-28 15:31:44,569] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:44,576] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:44,622] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:44,641] [INFO] starting monitor interface ...
[2022-11-28 15:31:44,645] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:45,284] [INFO] starting monitor interface ...
[2022-11-28 15:31:45,811] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:45,818] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:45,874] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:45,895] [INFO] starting monitor interface ...
[2022-11-28 15:31:45,901] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:46,469] [INFO] starting monitor interface ...
[2022-11-28 15:31:46,998] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:47,006] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:47,063] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:47,308] [INFO] starting monitor interface ...
[2022-11-28 15:31:47,315] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:47,745] [INFO] starting monitor interface ...
[2022-11-28 15:31:48,287] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:48,296] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:48,347] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:48,363] [INFO] starting monitor interface ...
[2022-11-28 15:31:48,368] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:48,966] [INFO] starting monitor interface ...
[2022-11-28 15:31:49,138] [WARNING] 
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

[2022-11-28 15:31:49,405] [DEBUG] [ai] A2C imported in 8.83s
[2022-11-28 15:31:49,406] [DEBUG] [ai] MlpLstmPolicy imported in 0.00s
[2022-11-28 15:31:49,407] [DEBUG] [ai] DummyVecEnv imported in 0.00s
[2022-11-28 15:31:49,410] [DEBUG] [ai] gym wrapper imported in 0.00s
[2022-11-28 15:31:49,414] [INFO] [ai] creating model ...
[2022-11-28 15:31:49,417] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/tf_util.py:98: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

[2022-11-28 15:31:49,419] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/tf_util.py:107: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

[2022-11-28 15:31:49,422] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/policies.py:115: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.

[2022-11-28 15:31:49,424] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/input.py:25: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.

[2022-11-28 15:31:49,434] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/policies.py:421: flatten (from tensorflow.python.layers.core) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.flatten instead.
[2022-11-28 15:31:49,437] [WARNING] From /usr/local/lib/python3.7/site-packages/tensorflow_core/python/layers/core.py:332: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `layer.__call__` method instead.
[2022-11-28 15:31:49,453] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/a2c/utils.py:156: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.

[2022-11-28 15:31:49,577] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:49,584] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:49,648] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:49,665] [INFO] starting monitor interface ...
[2022-11-28 15:31:49,669] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:50,656] [INFO] starting monitor interface ...
[2022-11-28 15:31:51,300] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:51,306] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:51,348] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:51,358] [INFO] starting monitor interface ...
[2022-11-28 15:31:51,362] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:52,349] [INFO] starting monitor interface ...
[2022-11-28 15:31:53,335] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:53,340] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:53,413] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:53,422] [INFO] starting monitor interface ...
[2022-11-28 15:31:53,432] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:53,836] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/distributions.py:323: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.

[2022-11-28 15:31:53,853] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/distributions.py:324: The name tf.log is deprecated. Please use tf.math.log instead.

[2022-11-28 15:31:54,191] [INFO] starting monitor interface ...
[2022-11-28 15:31:54,743] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:54,754] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:54,817] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:54,838] [INFO] starting monitor interface ...
[2022-11-28 15:31:54,843] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:55,414] [INFO] starting monitor interface ...
[2022-11-28 15:31:55,992] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:55,999] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:56,055] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:56,346] [INFO] starting monitor interface ...
[2022-11-28 15:31:56,350] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:56,695] [INFO] starting monitor interface ...
[2022-11-28 15:31:57,248] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:57,257] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:57,311] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:57,331] [INFO] starting monitor interface ...
[2022-11-28 15:31:57,340] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:57,926] [INFO] starting monitor interface ...
[2022-11-28 15:31:58,464] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:58,473] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:58,523] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:58,542] [INFO] starting monitor interface ...
[2022-11-28 15:31:58,550] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:59,133] [INFO] starting monitor interface ...
[2022-11-28 15:31:59,685] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:31:59,693] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:59,761] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:31:59,772] [INFO] starting monitor interface ...
[2022-11-28 15:31:59,777] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:31:59,790] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/a2c/a2c.py:135: The name tf.summary.scalar is deprecated. Please use tf.compat.v1.summary.scalar instead.

[2022-11-28 15:31:59,810] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/tf_util.py:498: The name tf.get_collection is deprecated. Please use tf.compat.v1.get_collection instead.

[2022-11-28 15:31:59,810] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/common/tf_util.py:498: The name tf.GraphKeys is deprecated. Please use tf.compat.v1.GraphKeys instead.

[2022-11-28 15:32:00,334] [INFO] starting monitor interface ...
[2022-11-28 15:32:00,887] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:00,897] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:00,961] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:00,981] [INFO] starting monitor interface ...
[2022-11-28 15:32:00,987] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:01,582] [INFO] starting monitor interface ...
[2022-11-28 15:32:02,150] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:02,158] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:02,207] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:02,244] [INFO] starting monitor interface ...
[2022-11-28 15:32:02,250] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:02,808] [INFO] starting monitor interface ...
[2022-11-28 15:32:03,365] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:03,373] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:03,433] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:03,458] [INFO] starting monitor interface ...
[2022-11-28 15:32:03,467] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:03,582] [WARNING] From /usr/local/lib/python3.7/site-packages/tensorflow_core/python/ops/clip_ops.py:301: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
[2022-11-28 15:32:03,683] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/a2c/a2c.py:159: The name tf.train.RMSPropOptimizer is deprecated. Please use tf.compat.v1.train.RMSPropOptimizer instead.

[2022-11-28 15:32:03,685] [WARNING] From /usr/local/lib/python3.7/site-packages/tensorflow_core/python/training/rmsprop.py:119: calling Ones.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
[2022-11-28 15:32:04,045] [INFO] starting monitor interface ...
[2022-11-28 15:32:04,245] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/a2c/a2c.py:169: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.

[2022-11-28 15:32:04,588] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:04,596] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:04,684] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:04,700] [INFO] starting monitor interface ...
[2022-11-28 15:32:04,708] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:04,967] [WARNING] From /usr/local/lib/python3.7/site-packages/stable_baselines/a2c/a2c.py:171: The name tf.summary.merge_all is deprecated. Please use tf.compat.v1.summary.merge_all instead.

[2022-11-28 15:32:04,972] [DEBUG] [ai] A2C created in 15.56s
[2022-11-28 15:32:04,972] [INFO] [ai] model created:
[2022-11-28 15:32:04,972] [INFO]       gamma: 0.99
[2022-11-28 15:32:04,973] [INFO]       n_steps: 1
[2022-11-28 15:32:04,973] [INFO]       vf_coef: 0.25
[2022-11-28 15:32:04,973] [INFO]       ent_coef: 0.01
[2022-11-28 15:32:04,974] [INFO]       max_grad_norm: 0.5
[2022-11-28 15:32:04,974] [INFO]       learning_rate: 0.001
[2022-11-28 15:32:04,974] [INFO]       alpha: 0.99
[2022-11-28 15:32:04,974] [INFO]       epsilon: 1e-05
[2022-11-28 15:32:04,975] [INFO]       verbose: 1
[2022-11-28 15:32:04,975] [INFO]       lr_schedule: constant
[2022-11-28 15:32:04,975] [DEBUG] [ai] total loading time is 24.40s
[2022-11-28 15:32:04,993] [INFO] [ai] learning for 50 epochs ...
[2022-11-28 15:32:04,994] [DEBUG] [led] event 'ai_ready' set
[2022-11-28 15:32:04,994] [DEBUG] [led] using pattern 'oo  oo  oo oo  oo  oo  oo' ...
[2022-11-28 15:32:04,996] [DEBUG] [ai] waiting for epoch to finish ...
[2022-11-28 15:32:04,996] [DEBUG] [led] skipping event 'ai_training_start' because the worker is busy
[2022-11-28 15:32:05,375] [INFO] starting monitor interface ...
[2022-11-28 15:32:05,904] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:05,911] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:05,953] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:05,963] [INFO] starting monitor interface ...
[2022-11-28 15:32:05,968] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:06,556] [INFO] starting monitor interface ...
[2022-11-28 15:32:07,093] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:07,100] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:07,153] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:07,162] [INFO] starting monitor interface ...
[2022-11-28 15:32:07,166] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:07,767] [INFO] starting monitor interface ...
[2022-11-28 15:32:08,310] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:08,318] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:08,360] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:08,369] [INFO] starting monitor interface ...
[2022-11-28 15:32:08,374] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:08,973] [INFO] starting monitor interface ...
[2022-11-28 15:32:09,519] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:09,525] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:09,570] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:09,580] [INFO] starting monitor interface ...
[2022-11-28 15:32:09,584] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:10,179] [INFO] starting monitor interface ...
[2022-11-28 15:32:10,707] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:10,713] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:10,766] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:10,775] [INFO] starting monitor interface ...
[2022-11-28 15:32:10,780] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:11,361] [INFO] starting monitor interface ...
[2022-11-28 15:32:11,894] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:11,901] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:11,941] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:11,950] [INFO] starting monitor interface ...
[2022-11-28 15:32:11,954] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:12,554] [INFO] starting monitor interface ...
[2022-11-28 15:32:13,081] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:13,087] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:13,130] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:13,139] [INFO] starting monitor interface ...
[2022-11-28 15:32:13,143] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:13,734] [INFO] starting monitor interface ...
[2022-11-28 15:32:14,269] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:14,276] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:14,323] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:14,332] [INFO] starting monitor interface ...
[2022-11-28 15:32:14,337] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:14,931] [INFO] starting monitor interface ...
[2022-11-28 15:32:15,459] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:15,465] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:15,509] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:15,518] [INFO] starting monitor interface ...
[2022-11-28 15:32:15,522] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:16,125] [INFO] starting monitor interface ...
[2022-11-28 15:32:16,673] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:16,680] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:16,723] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:16,733] [INFO] starting monitor interface ...
[2022-11-28 15:32:16,737] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:17,327] [INFO] starting monitor interface ...
[2022-11-28 15:32:17,858] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:17,866] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:17,917] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:17,926] [INFO] starting monitor interface ...
[2022-11-28 15:32:17,931] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:18,515] [INFO] starting monitor interface ...
[2022-11-28 15:32:19,043] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:19,050] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:19,093] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:19,103] [INFO] starting monitor interface ...
[2022-11-28 15:32:19,107] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:19,691] [INFO] starting monitor interface ...
[2022-11-28 15:32:20,213] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:20,220] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:20,264] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:20,274] [INFO] starting monitor interface ...
[2022-11-28 15:32:20,278] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:20,864] [INFO] starting monitor interface ...
[2022-11-28 15:32:21,396] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:21,403] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:21,446] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:21,457] [INFO] starting monitor interface ...
[2022-11-28 15:32:21,462] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:22,055] [INFO] starting monitor interface ...
[2022-11-28 15:32:22,585] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:22,593] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:22,637] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:22,647] [INFO] starting monitor interface ...
[2022-11-28 15:32:22,651] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:23,248] [INFO] starting monitor interface ...
[2022-11-28 15:32:23,784] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:23,791] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:23,839] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:23,849] [INFO] starting monitor interface ...
[2022-11-28 15:32:23,854] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:24,449] [INFO] starting monitor interface ...
[2022-11-28 15:32:24,982] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:24,989] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:25,033] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:25,043] [INFO] starting monitor interface ...
[2022-11-28 15:32:25,047] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:25,630] [INFO] starting monitor interface ...
[2022-11-28 15:32:26,174] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:26,181] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:26,233] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:26,243] [INFO] starting monitor interface ...
[2022-11-28 15:32:26,248] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:26,837] [INFO] starting monitor interface ...
[2022-11-28 15:32:27,366] [DEBUG] http://localhost:8081 "POST /api/session HTTP/1.1" 200 26
[2022-11-28 15:32:27,374] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:27,417] [DEBUG] http://localhost:8081 "GET /api/session HTTP/1.1" 200 None
[2022-11-28 15:32:27,429] [INFO] starting monitor interface ...
[2022-11-28 15:32:27,433] [DEBUG] Starting new HTTP connection (1): localhost:8081
[2022-11-28 15:32:28,122] [INFO] starting monitor interface ...
[2022-11-28 15:32:29,491] [INFO] starting monitor interface ...
[2022-11-28 15:32:30,149] [INFO] starting monitor interface ...
[2022-11-28 15:32:30,807] [INFO] starting monitor interface ...
[2022-11-28 15:32:31,468] [INFO] starting monitor interface ...
[2022-11-28 15:32:32,134] [INFO] starting monitor interface ...
[2022-11-28 15:32:32,783] [INFO] starting monitor interface ...
[2022-11-28 15:32:33,431] [INFO] starting monitor interface ...
[2022-11-28 15:32:34,096] [INFO] starting monitor interface ...
[2022-11-28 15:32:34,739] [INFO] starting monitor interface ...
[2022-11-28 15:32:35,394] [INFO] starting monitor interface ...
[2022-11-28 15:32:36,062] [INFO] starting monitor interface ...
[2022-11-28 15:32:36,726] [INFO] starting monitor interface ...
[2022-11-28 15:32:37,385] [INFO] starting monitor interface ...
[2022-11-28 15:32:38,038] [INFO] starting monitor interface ...
[2022-11-28 15:32:38,700] [INFO] starting monitor interface ...
[2022-11-28 15:32:39,377] [INFO] starting monitor interface ...
[2022-11-28 15:32:40,041] [INFO] starting monitor interface ...
[2022-11-28 15:32:40,691] [INFO] starting monitor interface ...
[2022-11-28 15:32:41,351] [INFO] starting monitor interface ...
[2022-11-28 15:32:41,998] [INFO] starting monitor interface ...
[2022-11-28 15:32:42,660] [INFO] starting monitor interface ...
[2022-11-28 15:32:43,320] [INFO] starting monitor interface ...
[2022-11-28 15:32:43,989] [INFO] starting monitor interface ...
[2022-11-28 15:32:44,644] [INFO] starting monitor interface ...
[2022-11-28 15:32:45,313] [INFO] starting monitor interface ...
[2022-11-28 15:32:45,968] [INFO] starting monitor interface ...
[2022-11-28 15:32:46,625] [INFO] starting monitor interface ...
[2022-11-28 15:32:47,275] [INFO] starting monitor interface ...
[2022-11-28 15:32:47,939] [INFO] starting monitor interface ...
[2022-11-28 15:32:48,603] [INFO] starting monitor interface ...
[2022-11-28 15:32:49,267] [INFO] starting monitor interface ...
[2022-11-28 15:32:49,930] [INFO] starting monitor interface ...
[2022-11-28 15:32:50,577] [INFO] starting monitor interface ...

@jayofelony
Copy link

Nevermind, I have it completely working now. Also AI is up and running with the 1.5.6b2 image on a Rpi4 8GB with kalipi aarch64. I had to set main_iface to wlan0mon.

@XZCendence
Copy link

Nevermind, I have it completely working now. Also AI is up and running with the 1.5.6b2 image on a Rpi4 8GB with kalipi aarch64. I had to set main_iface to wlan0mon.

can you describe your full setup to get here?

@jayofelony
Copy link

jayofelony commented Nov 29, 2022

Nevermind, I have it completely working now. Also AI is up and running with the 1.5.6b2 image on a Rpi4 8GB with kalipi aarch64. I had to set main_iface to wlan0mon.

can you describe your full setup to get here?

I Installed Kali Pi for arm64/aarch64.
Then I followed this guide, but installed all the aarch64 versions:
#946 (comment)

You can skip the gfortran9 part and python3.7.

Python3.7, you have to build this from source. Download Tenforflow 1.15.0 from https://github.com/jayofelony/Tensorflow

You must have aircrack-ng installed.

Use my fork of DrSchottky's Pwnagotchi to build Pwnagotchi
https://github.com/jayofelony/pwnagotchi/releases/tag/v1.5.6-beta3

sudo python3.7 -m pip install -r requirements.txt
sudo python3.7 -m pip install .

Or full a full guide check out the readme

@aluminum-ice
Copy link

Has anyone gotten their pi zero 2 W to successfully detect any networks? I've gotten mine to boot et cetera but bettercap sees nothing around it.

@BirbEXE
Copy link

BirbEXE commented Dec 25, 2022

Has anyone gotten their pi zero 2 W to successfully detect any networks? I've gotten mine to boot et cetera but bettercap sees nothing around it.

Same here

@aluminum-ice
Copy link

aluminum-ice commented Dec 27, 2022

Has anyone gotten their pi zero 2 W to successfully detect any networks? I've gotten mine to boot et cetera but bettercap sees nothing around it.

Same here

I've forked the project and tried everything I can think of for now including updating to the most recent old stable buster, updating to bettercap v2.32 (which required updating to golang v1.19.4) and going over the commits from DrSchottky v1.5.5 and v1.5.6 with a fine tooth comb. My fork boots fast and everything works except bettercap is blind and does not see any networks anywhere.

If anyone is interesting in working on this with me, check out my fork. I'll release a new version tomorrow with bettercap v2.32.

@davenicoll
Copy link
Contributor

davenicoll commented Dec 27, 2022

Great work getting everything updated. I did the same and it's no small task.

Is this a driver issue, or a bettercap issue? Could you check the bettercap logs, to rule it out. If you read previous comments above, at some point a few folks ran into the blindness issue and @DrSchottky kindly re-uploaded his image with a working driver. I'm not sure what's different. Are you using that driver? If so, does your pi see any networks outside of bettercap? I've starred your fork, will take a look over the next few days.

@etothex23
Copy link

I just started messing with pwnagotchi a couple days ago. I have the files for being able to use a waveshare 2.7 V2, I didn't find it. I just got a pi 0 2, 2.13 waveshare V3 and am running through the threads. I am trying this image. Is there more info on the actual changes needed? Is it all in the kernel? I will keep checking the threads for more.

@totemer-web
Copy link

¿Alguien ha conseguido que su pi zero 2 W detecte con éxito alguna red? Tengo el mío para arrancar, etcétera, pero bettercap no ve nada a su alrededor.

I do see networks with my pi0 2W connected to the computer and access from the web, but I can't see anything on the screen v3

@ywaf
Copy link

ywaf commented Jun 2, 2023

join the discord for current developments: https://discord.gg/xx4JPbXVJe

@wpa-2
Copy link

wpa-2 commented Jun 2, 2023

¿Alguien ha conseguido que su pi zero 2 W detecte con éxito alguna red? Tengo el mío para arrancar, etcétera, pero bettercap no ve nada a su alrededor.

I do see networks with my pi0 2W connected to the computer and access from the web, but I can't see anything on the screen v3

You will need to add support for your screen its most liikely missing its files
https://github.com/evilsocket/pwnagotchi/pull/1069/files/91e95cede0b17aeb1a09f13930869baa245a5616

@totemer-web
Copy link

The problem is that I don't know how to do it. Now I've gotten the screen to work, but the right half of the screen doesn't give good resolution. I am totally new in this world.

@etothex23
Copy link

@totemer-web Remember that in manual mode it will look faded. In auto it should look better. Which screen are you using?

@totemer-web
Copy link

waveshare v3. In none of the modes can I see it correctly. I have checked to see if it is a screen failure, and the screen is correct.
Imagen de WhatsApp 2023-06-05 a las 09 55 05

@jayofelony
Copy link

jayofelony commented Sep 24, 2023

https://github.com/jayofelony/pwnagotchi-torch

I think this issue can be closed now @evilsocket I created a working image for Pi0W2 and other 64bit RPi's.

@spitfire
Copy link

spitfire commented Jan 7, 2024

https://github.com/jayofelony/pwnagotchi

I think this issue can be closed now @evilsocket I created a working image for Pi0W2 and other 64bit RPi's.

Have the changes been merged back here, or do I need to use a fork?

@wpa-2
Copy link

wpa-2 commented Jan 7, 2024

https://github.com/jayofelony/pwnagotchi
I think this issue can be closed now @evilsocket I created a working image for Pi0W2 and other 64bit RPi's.

Have the changes been merged back here, or do I need to use a fork?

use the other fork!

@spitfire
Copy link

spitfire commented Jan 7, 2024

use the other fork!

yeah, this one looks pretty much abandoned...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests