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

[BUG] Launcher should check for eth0 before grepping #473

Closed
maxxer opened this issue Oct 30, 2019 · 0 comments
Closed

[BUG] Launcher should check for eth0 before grepping #473

maxxer opened this issue Oct 30, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@maxxer
Copy link
Contributor

maxxer commented Oct 30, 2019

Describe the bug
Newly flashed rpi0w always start in MANU mode due to 18a41f3

To Reproduce
Steps to reproduce the behavior:

  1. flash a new sd
  2. boot rpi0w with usb connected to power

Expected behavior
Start in AUTO mode

Environment (please complete the following information):

  • Pwnagotchi version: 1.1.0
  • Type of hardware: rpi0w

Additional context

Test should be:

 if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ -f /sys/class/net/eth0/carrier && !$(grep '1' /sys/class/net/eth0/carrier) ]]; then

need to test it on pi3, then I'll make a PR

@maxxer maxxer added the bug Something isn't working label Oct 30, 2019
dadav pushed a commit to dadav/pwnagotchi that referenced this issue Apr 1, 2020
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

1 participant