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

Not booting into AUTO mode [BUG] #16

Closed
azzarin opened this issue Aug 3, 2023 · 10 comments
Closed

Not booting into AUTO mode [BUG] #16

azzarin opened this issue Aug 3, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@azzarin
Copy link

azzarin commented Aug 3, 2023

The pi does not boot to AUTO mode when usb is plugged into power only interface. It only boots to MANU mode.
I can ssh to the pi and restart into AUTO mode and it works just fine. But i have not set up BT connection, so on the go its not possible.

To Reproduce
Steps to reproduce the behavior:

  1. ... Plug usb to power USB port.

Expected behavior
Boot to AUTO mode not MANU.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Pwnagotchi version V1.7.4
  • OS version
  • Type of hardware Pi zero 2 W
  • Any additional hardware used: Inky screen

Additional context
Add any other context about the problem here.

@azzarin azzarin added the bug Something isn't working label Aug 3, 2023
@Jilten
Copy link

Jilten commented Aug 5, 2023

This is happening for me as well :(
Pwnagotchi version V1.7.4
Type of hardware Pi zero 2 W
Any additional hardware used: Waveshare 2

@glowfishDE
Copy link

i also have the same on 1.7.6. A quick solution for me was to do this:

  1. touch /root/.pwnagotchi-auto
  2. chattr +i /root/.pwnagotchi-auto
  3. reboot

after that it will always reboot in AUTO mode. The 2nd command will prevent the OS to delete the /root/.pwnagotchi-auto file on startup.

@Coach4
Copy link

Coach4 commented Aug 7, 2023

I am having this same issue with 1.7.4. Will this work? Also is this going into powershell or into the SSH? Thanks! Newbie here just looking for some help. Thanks again!

i also have the same on 1.7.6. A quick solution for me was to do this:

touch /root/.pwnagotchi-auto
chattr +i /root/.pwnagotchi-auto
reboot
after that it will always reboot in AUTO mode. The 2nd command will prevent the OS to delete the /root/.pwnagotchi-auto file on startup.

@glowfishDE
Copy link

hi @Coach4 - you have to issue these commands when you are connected to the pwnagotchi via SSH. Powershell is only for windows. You have to connect via ssh pi@ip.ip.ip.ip and than you can issue the commands above.

@Coach4
Copy link

Coach4 commented Aug 8, 2023

@glowfishDE. Just wanted to say thanks! Works absolutely amazing!

@ZexX-pt
Copy link

ZexX-pt commented Aug 9, 2023

Hi too am having the same issue.
The work around provided by @glowfishDE (sorry for my mistake earlier in giving credit to @Coach4 for the fix) fixes for now, but it is not ideal because this forces it to always boot in AUTO mode, even when connecting to the data port.

The original issue described, and the one I also have, is that it always boots in MANU mode, even when using the power port.

@azzarin
Copy link
Author

azzarin commented Aug 9, 2023

I am having this same issue with 1.7.4. Will this work? Also is this going into powershell or into the SSH? Thanks! Newbie here just looking for some help. Thanks again!

i also have the same on 1.7.6. A quick solution for me was to do this:

touch /root/.pwnagotchi-auto chattr +i /root/.pwnagotchi-auto reboot after that it will always reboot in AUTO mode. The 2nd command will prevent the OS to delete the /root/.pwnagotchi-auto file on startup.

This makes perfect sense and is described in the official documentation.

@glowfishDE
Copy link

Hi too am having the same issue. The work around provided by @Coach4 fixes for now,

work around was provided by @glowfishDE ;) just sayin´

@ZexX-pt
Copy link

ZexX-pt commented Aug 9, 2023

Hi too am having the same issue. The work around provided by @Coach4 fixes for now,

work around was provided by @glowfishDE ;) just sayin´

Sorry @glowfishDE ! My mistake

@NewAbbreviations950
Copy link

pull request submitted fixing this issue #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants