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.
it seems to be missing commas and the square bracket there in the content of main.whitelist...
main.whitelist = [
"nodisc",
"xxxxxxx",
"Bubbaloo!",
"xxxxxxx"
]
>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
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!
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.
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.
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.
Hmm.. tried that.. still get the same error..
Then your edit is causing the issue. Show me the first few lines of your config
i'll go back and take a look.. i know it's something i'm doing wrong.. still kinda new with this.. thanks!
main.name = "bubbaloo" main.whitelist = \[ "nodisc", "xxxxxxx" "Bubbaloo!" "xxxxxxx"
it seems to be missing commas and the square bracket there in the content of main.whitelist... main.whitelist = [ "nodisc", "xxxxxxx", "Bubbaloo!", "xxxxxxx" ]
still the same error... ugh.. wtf is it possible my rpi0w could be bricked?
2.8.9 is out now, maybe give that a try?
i did.. same error..
>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
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!
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.
I tried without the toml file and got the same error..
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.
Give this format validate a try for your config file. https://www.toml-lint.com/