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] GPS plugin considers hostname:port device invalid despite bettercap supporting it #1122

Open
llamasoft opened this issue Oct 8, 2022 · 0 comments · May be fixed by #1123
Open

[BUG] GPS plugin considers hostname:port device invalid despite bettercap supporting it #1122

llamasoft opened this issue Oct 8, 2022 · 0 comments · May be fixed by #1123
Labels
bug Something isn't working

Comments

@llamasoft
Copy link

The GPS plugin expects that the "device" option point to a serial device that can be open()d like /dev/ttyS0.

However, bettercap also supports a hostname:port for connecting to a GPSD instance. This allows the GPS receiver to be used for setting the system clock and for location tracking with bettercap.

To Reproduce
Steps to reproduce the behavior:

  1. Setup GPSD
  2. Set main.plugins.gps.device = "localhost:2947" in your pwnagotchi config
  3. Restart pwnagotchi
  4. GPS plugin fails to start with "no GPS detected" warning.

Expected behavior
GPS works without issue.

@llamasoft llamasoft added the bug Something isn't working label Oct 8, 2022
@llamasoft llamasoft linked a pull request Oct 8, 2022 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

1 participant