Go Back   SharingDVB All Tutorials sharing > Emulator Tutorials > CardSharing Tutorials

Reply
 
Thread Tools Display Modes
Old 12-20-2014, 12:13 AM   #1
admin
Administrator
 
admin's Avatar
 
Join Date: Dec 2014
Posts: 219
how to install ddclient ubuntu 12.04



DDNS is the answer for those networking devices that have no access to a static IP address and a common need for residential users. In this post I have a Linux server at home and need to have remote access to it from any location.
First install the required SSH and SSL socket

Self explanatory we want to be able to send the account password via a secure connection.

Code:
sudo apt-get install ssh libio-socket-ssl-perl
Install DDclient.
Code:
sudo apt-get install ddclient
Installation wizard
Select the DDNS provider
Provide the assigned qualified domain name
Provide your username
Provide your password
And the interface
The configuration file is located at /etc/ddclient.conf. Edit your configuration to make use of the secure configuration.
Code:
sudo nano /etc/ddclient.conf
HTML Code:
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

daemon=300
pid=/var/run/ddclient.pid
ssl=yes
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
login=username
password=password
protocol=dyndns2
server=members.dyndns.org
hostname.dyndns.org
Now make sure DDclient is set to work as a daemon. You need to change run_daemon=”false” to run_daemon=”true”.

Code:
sudo nano /etc/default/ddclient
HTML Code:
# Configuration for ddclient scripts
# generated from debconf on Tue Dec 9 19:52:12 EST 2008
#
# /etc/default/ddclient
# Set to “true” if ddclient should be run every time a
# new ppp connection is established. This might be useful,
# if you are using dial-on-demand
run_ipup=”false”

# Set to “true” if ddclient should run in daemon mode
run_daemon=”true”

# Set the time interval between the updates of the dynamic DNS name in seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval=”300″
Now verify DDclient is working by rebooting first and issuing the following two commands.
Code:
sudo /etc/init.d/ddclient restart
Code:
sudo /etc/init.d/ddclient status
If the client is working correctly you should see the same output.
Status of Dynamic DNS service update utility: ddclient is running
In case you want to reconfigure the client issue the following command.
Code:
dpkg-reconfigure ddclient
Don’t forget to allow port forwarding on your router otherwise all attempts will fail. Flashed routers like the Linksys WRT54GL with Tomato firmware allow for a wide range of options when it come to choosing a DDNS provider from the web interface. This means centralisation and easy configuration.
admin is offline   Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:23 PM.
SharingDVB@
A vBSkinworks Design