Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.
/ ubnt-ddns-ipv6 Public archive

A script to auto update the ddclient in EdgeRouter after firmware upgrade

License

Notifications You must be signed in to change notification settings

SpartaEN/ubnt-ddns-ipv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UBNT-DDNS-IPv6

Why use this script?

Because the ddclient in EdgeRouter firmware is 3.8.3, which doesn't support DDNS in IPv6. This script is aimed to upgrade the ddclient to 3.9.0.

How does this script works

Simply install a few perl modules which required by ddclient 3.9.0 and doesn't exist in the firmware, then replace the ddclient.

List of perl modules needed to be installed.

libnetwork-ipv4addr-perl
libnet-ipv6addr-perl
libnet-netmask-perl
libdata-validate-ip-perl
libio-socket-inet6-perl

Tested firmware

Device Version
ER-X 1.10.5
ER-X 2.0.3

Installation

Use SSH to connect to your Router

Install the script and upgrade the ddclient

sudo su -
curl -o /config/scripts/ddclient.sh https://raw.githubusercontent.com/SpartaEN/ubnt-ddns-ipv6/master/ddclient.sh
chmod +x /config/scripts/ddclient.sh
sh /config/scripts/ddclient.sh

Make the script a scheduled task to auto upgrade the ddclient after firmware upgrade

configure
set system task-scheduler task update.ddclient executable path /config/scripts/ddclient.sh
set system task-scheduler task update.ddclient interval 1d
save
commit

NOTICE

Since some modules have been removed for wheezy, I switched to Stretch.

About

A script to auto update the ddclient in EdgeRouter after firmware upgrade

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published