Thursday, January 18, 2024

pwnagotchi build 2024

With the many pwnagotchi build guides out there many are old and outdated. Fortunately I stumbled upon one that was done ~6 months ago that fixed many of the issues people were having. Here's my walkthrough:


Start here (build): https://www.youtube.com/watch?v=R-fTPv09vQ8&list=PL2xB7IbHP_82xC931zH5iHIjLc50Q5-87&index=1&pp=iAQB

Then (software): https://www.youtube.com/watch?v=7nj5Euo5Bng&list=PL2xB7IbHP_82xC931zH5iHIjLc50Q5-87&index=2 

In my case, my config.toml that was put on the boot partition before first boot didn't get copied to /etc/pwnagotchi/ for whatever reason.

After setting up the ssh connection with RNDIS drivers from windows 11 updates, I confirmed that the config.toml was not copied to the proper place.

I went to the web interface at 10.0.0.2 with default username and password of "changeme" (you can find this (and more info) in the /etc/pwnagotchi/default.toml). From here you could do a cp /etc/pwnagotchi/default.toml /etc/pwnagotchi/config.toml and edit that over ssh or continue to follow the web way described below.

Once there I went to plugins and enabled the webcfg and refreshed the site in order to be able to click on the webcfg. When I went into the webcfg I clicked on the save and reboot button at the top.

After that /etc/pwnagotchi/config.toml was present and working. From there I was able to edit either over the ssh connection or through the web interface. My suggestion is use the web interface since it saves and restarts the interface all in one click.

For the options I suggest:

main.plugins.memtemp.enabled = true #Shows temp of memory

main.plugins.memtemp.scale = fahrenheit #Puts temp numbers in fahrenheit

ui.fps = 1 #Refreshes the screen more often

ui.display.type = "waveshare_3" #Explained below

A note on all the newer waveshare displays v3 and v4, use the 1.55fix.img and be sure to change the waveshare_2 in the config.toml to waveshare_3. Even if you have a waveshare v4 the waveshare_3 setting will work for you as there was not a huge difference between waveshare v3 and v4 unlike waveshare v2 and v3.

All in all my build cost was around $63 before tax. I bought a pi zero wh (headers were attached), a powerbank for power, micro SD card, and waveshare display v4.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.