I am setting up a web server in my home. I have cable internet, the IP address changes, so I need to use dyndns.org.

My linux box is debian. I am now at the last part of the dyndns.org ddclient installation.

The ddclient README says:


  cp ddclient /usr/sbin/
  mkdir /etc/ddclient
  cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
  vi /etc/ddclient/ddclient.conf
  -- and change hostnames, logins, and passwords appropriately

  ## 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
  /sbin/chkconfig --add ddclient
  ## start the first time by hand
  /etc/rc.d/init.d/ddclient start

  ## If you are not using daemon-mode, configure cron and dhcp or ppp
  ## as described below.

The problem is the line: cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient

Debian tells me: "Cannot create regular file /etc/rc.d/init.d/ddclient"

Why is that? It is correct that /etc/rc.d/ does not exist. What do I do?

Secondly, the install directory has these files:


Maybe I should be using the ubuntu file since that is my operating system?



sudo apt-get install ddclient

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.