This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question to Linux/Astaro

Hi i need a little bit help. i`m very new in linux and i dont have enough knowledge about how linux works. a i have installed my astaro ver. 4.017 and i`m very happy about that its a big router/firewall. but i try to make my astaro dynamic with ddclient 3.6.1 and i still dont know how to get the client installed. so i make copys of ddlcient into /usr/sbin/, than ddclient.conf into ec/ddclient.conf and i changed and change hostnames, logins, and passwords. my problem now is, how can i get the client started when the system boot up. i have tried to start the client from the terminal SSH (loginuser =su) with ddclient start, but i get an error like i`m not permited to do so. can someone please help. thx 


This thread was automatically locked due to age.
Parents
  • Have you tried it from console??

    To have it launched at boot, put the script in /sbin/init.d; set its permissions to the convention of the other scripts in that same directory.

    See: Turn Off/Slow Down Logging
      
  • i will try it from the console.

    how can i see or edit the convention of the other services? thats what i do not really understand.  
  • forces,
    I tried the same as you did, but I always had the problem, thar the daemon died after some time. So I figured out a working solution.
    Create a new crontab: touch /etc/crontab.ip
    Edit that file to: 0  * * * * root /usr/sbin/ddclient -deamon=0 
    After rebooting this crontab is added to the main crontab and ddclient will look every hour for a change of the ip-address.
    You can also use different time settings.
    For me that works fine.
    cu
    Walter 
Reply
  • forces,
    I tried the same as you did, but I always had the problem, thar the daemon died after some time. So I figured out a working solution.
    Create a new crontab: touch /etc/crontab.ip
    Edit that file to: 0  * * * * root /usr/sbin/ddclient -deamon=0 
    After rebooting this crontab is added to the main crontab and ddclient will look every hour for a change of the ip-address.
    You can also use different time settings.
    For me that works fine.
    cu
    Walter 
Children