nicoh88 / cron_fritzbox-reboot Goto Github PK
View Code? Open in Web Editor NEWFRITZ!Box Neustart Skript - jede Nacht, einmal die Woche, wie ihr wollt
Home Page: https://www.loggn.de
FRITZ!Box Neustart Skript - jede Nacht, einmal die Woche, wie ihr wollt
Home Page: https://www.loggn.de
Hi!
I've config fritzbox for use only password if you're in lan. So $FRITZUSER:$FRITZPW" http://$IP:49000$location
it's not great...
Do you have somes suggests for put only a password? I've tried to do something without username but it seems not possible... (or only i don't know a good way for do it)
Only a information.
As of FritzOS 7.24 the login without user (root) does not work anymore via TR-064. Therefore you have to create a special user in the Fritzbox.
Maybe this can be included in the project info.
I get an Invalid Action
error:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
Could this be due to me using FritzOS 7.21, or what else could be wrong?
Hey @nicoh88 kurze Frage hast du was dagegen wenn wir denn Skript Kern für den Reboot mit Telegram Push Erweiterung in eine Installationsroutine aufnehmen das automatisch ein ein systemd Timer und Service mit erstellt wird um das Skript auszuführen?
Du könntest dann ja zusätzlich hier wenn du möchtest zu dem Thread verlinken. Ich könnte dir auch mein angepasste Skript vorab zukommen lassen?
Das wäre das Tool bei dem ich es gerne einbauen würde:
Gruß Nastra
Ich bekomme beim Aufruf des Skripts immer folgende Meldung:
<HTML><HEAD><TITLE>401 Unauthorized (ERR_NONE)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_NONE<HR><B>Webserver</B> Fri, 28 Sep 2018 11:26:07 GMT</BODY></HTML>
Das Passwort ist richtig eingetippt (Benutzername gibt es nicht). Ich könnte mir vielleicht noch vorstellen, dass es damit zusammenhängt, dass ein '$' Zeichen im Passwort enthalten ist. Aber das Passwort wird zumindest richtig in der $FRITZPW-Variable abgespeichert (Ein echo der Variable, gibt das korrekte Passwort auf der bash aus)
Hi @nicoh88,
I'd like to use your script to create an Alfred workflow and publish it on Github. Just to make sure that it's ok for you I would like to ask you for your permission.
If you don't care anyway it'd be even greater if you were to add an open source license (e.g. MIT) to your README.md, so everyone could immediately see that it is safe to use your code in their own projects.
Thanks in advance,
@almai
Ich wollte nur anmerken, dass die Option Zugriff für Anwendungen zulassen
aktiviert sein muss, sonst funktioniert TR-064 nicht.
Die Option findet man unter Netzwerk > Netzwerk > Netzwerkeinstellungen
.
Wenn die Option nicht aktiviert ist bekommt man folgende Fehlermeldung:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Danke für das Script!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.