Da poco sono passato a Slackware64 13.37.
Prima avevo una 12.1 in cui avevo installato ddclient con slapt-get e funzionava perfettamente.
Ora non riesco più.
Ho scaricato i sorgenti ( ddclient-3.8.1.tar.gz ), quindi ho seguito il readme fino a qui
- Codice: Seleziona tutto
cp ddclient /usr/sbin/
mkdir /etc/ddclient
mkdir /var/cache/ddclient
cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
vi /etc/ddclient/ddclient.conf
-- and change hostnames, logins, and passwords appropriately
Il mio ddclient.conf è questo (generato direttamente da questa pagina: https://account.dyn.com/tools/clientconfig.html )
- Codice: Seleziona tutto
## ddclient configuration file
daemon=600
# check every 600 seconds
syslog=yes
# log update msgs to syslog
mail-failure=$miaemail # Mail failed updates to user
pid=/var/run/ddclient.pid
# record PID in file.
## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
## DynDNS username and password here
login=$miousername
password=$miapassword
## Default options
protocol=dyndns2
server=members.dyndns.org
## Dynamic DNS hosts
$miohost
Poi però non so come lanciarlo (o meglio ho letto diversi howto, ma non mi funzionano o io non sono capace).
Per esempio: nel README allegato ai sorgenti c'è questo
- Codice: Seleziona tutto
## For those using Redhat style rc files and using daemon-mode:
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
## enable automatic startup when booting
## check your distribution
/sbin/chkconfig --add ddclient
## start the first time by hand
/etc/rc.d/init.d/ddclient start
Come posso adattarlo alla mia Slack64 in modo che parta all'avvio del sistema (e che, eventualmente, aggiorni l'IP, ovviamente)?
Dimenticavo: sono dietro un router D-Link DVA-G3340S
Grazie
Luca
