Die Suche ergab 3 Treffer
- Donnerstag 12. November 2026, 16:10
- Forum: URL - API
- Thema: How to call strg.cfg with Auth (username and password)?
- Antworten: 1
- Zugriffe: 42585
Re: How to call strg.cfg with Auth (username and password)?
Well, almost 5 years later, I come across this post. In the meantime, I had found the solution, but forgot to post it here in case others find it useful. This works: curl -s --user "admin:anel" "http://power-l.example.lan/strg.cfg" We use it in this script: #!/usr/bin/env bash # Show state of Anel p...
- Sonntag 16. Januar 2022, 15:46
- Forum: URL - API
- Thema: How to call strg.cfg with Auth (username and password)?
- Antworten: 1
- Zugriffe: 42585
How to call strg.cfg with Auth (username and password)?
We have several "NET-PwrCtrl HUT" switches, version "HUT 5.0". I want to query their status from a script, but cannot get the authentication to work. (the switch uses the default "admin" user and "anel" password) When I do curl "http://power-1.example.lan/strg.cfg?Auth:adminanel" I get 401 Unauthori...
- Freitag 7. Februar 2014, 21:24
- Forum: Ideen & Anregungen / Ideas & suggestions
- Thema: Bug: Configuration also stores MAC address
- Antworten: 1
- Zugriffe: 10432
Bug: Configuration also stores MAC address
Having several NET-PwrCtrl HUT (v. HUT 5.0) to configure, I wanted to use " Konfiguration speichern" and then " Konfiguration wiederherstellen" for the other devices. But the .cfg file also stores the MAC address, and when restoring to another device, the original MAC address is lost, and replaced w...