leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
334 stars 25 forks source link

[Bug] Scan log only shows "A terminal is required to read the password" #307

Closed dustingrady closed 1 month ago

dustingrady commented 1 month ago

Is there an existing issue for this?

Current Behavior

When checking the Scan log, the following is displayed:

sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required

Environment

Debian 12 with the one-step installer

Anything else?

I'm not sure if it's the intention or not, but PiAlert seems to need WAN access to run. I'm trying to run this internally with no internet access to the outside world (I do not need to track my WAN IP, only RFC1918 ones)

leiweibau commented 1 month ago

I know https://github.com/leiweibau/Pi.Alert/issues/128#issue-1779345163

Is everything else working correctly? If this is the case, I will close the issue again.

I'm not sure if it's the intention or not, but PiAlert seems to need WAN access to run.

That is correct. There are various necessities for Internet access, first and foremost the notifications. However, there was once a request in which we " modified" Pi.Alert so that it worked without internet access. But that was a few updates ago and of course this version can no longer be updated.

https://github.com/leiweibau/Pi.Alert/issues/45

leiweibau commented 1 month ago

Or, maybe you missed the point with this command: sudo $HOME/back/pialert-cli set_sudoers

leiweibau commented 1 month ago

I am closing this issue due to lack of feedback