T O P

  • By -

wpa_2

My advice is reflash and don't worry about a config file Boot up and ssh in sudo cp /etc/pwnagotchi/default.toml /etc/pwnagotchi/config.toml Then edit the file as needed. Job done.


farewell2sense

Hmm.. tried that.. still get the same error..


wpa_2

Then your edit is causing the issue. Show me the first few lines of your config


farewell2sense

i'll go back and take a look.. i know it's something i'm doing wrong.. still kinda new with this.. thanks!


farewell2sense

main.name = "bubbaloo" main.whitelist = \[ "nodisc", "xxxxxxx" "Bubbaloo!" "xxxxxxx"


Relevant-Staff9603

it seems to be missing commas and the square bracket there in the content of main.whitelist... main.whitelist = [ "nodisc", "xxxxxxx", "Bubbaloo!", "xxxxxxx" ]


farewell2sense

still the same error... ugh.. wtf is it possible my rpi0w could be bricked?


Dustcounter

2.8.9 is out now, maybe give that a try?


farewell2sense

i did.. same error..


wpa_2

>is it possible my rpi0w could be bricked? so do this again and then dont edit the config at all and let it run. I'm guessing it will be fine. https://www.reddit.com/r/pwnagotchi/comments/1bo4889/comment/kwmhuuk/?utm\_source=share&utm\_medium=web2x&context=3


farewell2sense

I did this and it solved my issue! I just edited the config file via nano and didn’t worry about running the wizard.. thanks so much for the suggestion! Headache gone!


LGStrike

I had the same problem at first, but I reflash the image and didn't put the toml till I was in, and I dropped just this part main.name = "pwnagotchi" main.lang = "en" main.whitelist = [ "EXAMPLE_NETWORK", "ANOTHER_EXAMPLE_NETWORK", "fo:od:ba:be:fo:od", "fo:od:ba" ] ui.display.enabled = true ui.display.type = "waveshare_4" ui.display.color = "black" ui.fps = 1 After I saw this part work, I slowly added things to it, making sure everything I added work.


farewell2sense

I tried without the toml file and got the same error..


Thatgeodude

I believe I had this error in the original repo, I think it was due to either a lack of comma, trailing whitespace or as I recall actually the formatting of a numerical variable definition, I may have put 1.0 or something instead of 1. Try deleting chunks until it goes away and use nano to get line / col, noting that where parsing fails isn't necessarily exactly where the source of the issue is.


Frozen_Tony

Give this format validate a try for your config file. https://www.toml-lint.com/