I kinda screwed Lora settings, now its failing to load

So i for reasons i am not going to mention decided to put the GPS position values on Meshtastic Web - running on the local host 5050 - to have Enable Pin 27 on the Position options,. How i cannot run either Meshtastic WEB or Meshtastic UI . How do i fix this ? the cli commands are not working either in bash or pyth env - commans times out. Is there any way to edit a config file somewhere ? i cannot pair it via blue tooht on my phone as well.
Any suggestions

Like reinstalling trhe AIO 2 script sudo apt install hackergadgets-uconsole-aio-board

or tinkering with /boot/firmware/config.txt - although i see no option how to undo the set value there

meshtastic --host localhost --info - errno11 connection refused

Fixed - you can lock the post ; in case someone screws like me below is the solution for cm4


sudo systemctl stop meshtasticd
sudo cp -r /var/lib/meshtasticd /var/lib/meshtasticd.bak
sudo rm -rf /var/lib/meshtasticd/.portduino/default/prefs
Or
sudo mv /var/lib/meshtasticd/.portduino/default/prefs \
/var/lib/meshtasticd/.portduino/default/prefs.bad

Then you can restore your channels keys and leave some of the config mode which contained wrong GPS pin in the config

2 Likes