stooged / PI-Pwn

pppwn
415 stars 76 forks source link

[Feature request]: Pi LED support #141

Closed Kyhze closed 1 month ago

Kyhze commented 1 month ago

Not an issue, but it would be nice to have support for the Raspberry Pi's on-board LEDs (red/green), and have them display the status of PPPwn, for example:

Or something like that. It's just an idea. Also, having the ability to maybe configure the LEDs as we wish from the web UI would be nice as well! (and optionally the ability to turn them both off if we wish to)

Thanks for all you do :)

MiToRMK commented 1 month ago

@Kyhze look into this:

Issue #69.

Not sure if @stooged did more work in this front since then.

stooged commented 1 month ago

added led activity option to the web portal, this might not work on all pi variants.

off = turn leds off normal = default pi operation status = changes depending on pppwn state

the flashing/color status is as follows

single red flashing once per second = waiting for link

red double flash and green flashing once per second = pppwn running

single solid red = failed attempt retrying

single solid green = pppwn success

single solid red for extended period (10 seconds+) = error and pppwn is not running

the green led might be orange on some pi variants

Doyle4 commented 1 month ago

Nice