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

Better communication around LOGIN command #106

Open
gbakeman opened this issue Oct 8, 2023 · 0 comments
Open

Better communication around LOGIN command #106

gbakeman opened this issue Oct 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@gbakeman
Copy link
Contributor

gbakeman commented Oct 8, 2023

According to the NUT protocol manual, the LOGIN command is only necessary to coordinate with the UPS when shutting down essential devices. From some other testing, I've found that it isn't necessary to LOGIN in order to read UPS data, which is what we do most of the time anyways. In fact, the manual notes that logging in should only be used in specific circumstances.

WinNUT's connection routine and preferences should be modified such that logging in is only done when explicitly requested by the user, otherwise only the LOGOUT command will be used when disconnecting gracefully.

In addition, it's apparent that different distributions of NUT behave differently with regards to the LOGIN command, sometimes not even supporting it entirely. This needs to be communicated with the user more effectively. Some examples of LOGIN command issues:

Related

@gbakeman gbakeman added bug Something isn't working enhancement New feature or request labels Oct 8, 2023
@gbakeman gbakeman self-assigned this Nov 4, 2023
@gbakeman gbakeman added this to the 2.3 Stable Release milestone Nov 4, 2023
@gbakeman gbakeman changed the title Specify purpose of logging in Better communication around LOGIN command Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant