Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Trigus42/fritzbox-reconnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

FRITZ!Box - Reconnect Script

This script uses UPnP to reconnect the FRITZ!Box. Tested with FRITZ!OS 7.12 and 07.20 on the FRITZ!Box 6490 Cable.

Options:

--host <IP or Hostname>
--port <Custom UPNP Port>
--debug
Prints hostname, IP, port and response message.

Example command line usage:

% python reconnect.py --debug
Host: fritz.box
IP: 192.168.178.1
Port: 49000

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:ForceTerminationResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:2"></u:ForceTerminationResponse>
</s:Body>
</s:Envelope>

Example usage with cron:

30 04 * * * /usr/bin/python3 /root/reconnect.py --host 192.168.178.1

Based on: https://github.com/0x7d7b/fritzbox-reconnect

About

FRITZ!Box UPnP Reconnect Script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages