Sign in or Create account

Your current IP is 38.107.191.99.

 

K-12 Forums

Talk with other K-12 network administrators in your state.

Or see all states.

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

This discussion has been inactive for longer than 30 days, and is thus closed.
    • CommentAuthorshirish
    • CommentTimeApr 2nd 2007
     permalink
    Hi all,
    I have been trying to set up inadyn for opendns.com. Somehow have not been able to get it right, can somebody help me in getting it right. I used the howto provided at http://freepage.ina-tech.net/modules/newbb/viewtopic.php?topic_id=413&forum=5&post_id=544#forumpost544
    but something is wrong/lacking or I have put somethings wrong in there.

    As per the guide I did the following :-

    sudo gedit /etc/inadyn.conf

    [code] --username myusername
    --password mypassword
    --update_period 60000
    --alias https://updates.opendns.com/account/ddns.php? (this I am guessing is for DDNS updates thing, right, the alias thing)
    --background[/code]


    test that it works by typing
    sudo /usr/sbin/inadyn

    Now running this does not give any error which should mean tht I have configured things correctly till here.

    Then I created a filed named inadyn in /etc/init.d with the following script and saved it. :-

    [code] #!/bin/sh
    case "$1" in
    start)
    /user/sbin/inadyn
    ;;
    stop)
    ;;
    *)
    echo @"Usage: $0{start}"
    exit 1
    esac
    exit 0[/code]

    Now do not know whether the script is right or not. I have no idea what the script actually does

    Made the file executable chmod 775 /etc/init.d/inadyn

    Changed directories to /etc/rc2.d
    Created a link to the /etc/init.d/inadyn file
    ln -s /etc/init.d/inadyn S30inadyn

    Now when I have rebooted I have no idea if inadyn is running or not
    they have given a way to find out if inadyn is running or not

    ps -A | grep inadyn

    now ps is supposed to give a snapshot of current processes, I do not know what the above script has done, can somebody enlighten me if I need to do something more/different or some other way altogether.

    I actually wanted to use ddns3-client but somehow tht is not being installed in fiesty. It is some error.

    Just as an off-hand decided to see /var/log/messages. I see some messages at /var/log/messages :-
    Apr 2 19:39:07 ubuntu INADYN[10021]: INADYN: Started 'INADYN version 1.96' - dynamic DNS updater.
    Apr 2 19:39:08 ubuntu INADYN[10021]: I:INADYN: IP address for alias 'https://updates.opendns.com/account/ddns.php?' needs update to ' my current ip address´
    Apr 2 19:39:09 ubuntu INADYN[10021]: W:INADYN: Error validating DYNDNS svr answer. Check usr,pass,hostname!

    This means atleast inadyn is running, its not just validating, can this be opendns issue?
    • CommentAuthorshirish
    • CommentTimeApr 2nd 2007
     permalink
    --alias https://updates.opendns.com/account/ddns.php?

    now this is the crux, what should be in here?
    • CommentAuthorshirish
    • CommentTimeApr 3rd 2007
     permalink
    somebody please help :cry:
    • CommentAuthorJoe
    • CommentTimeApr 3rd 2007
     permalink
    Hello. First you will need to use a version of inadyn that support https, such a version can be found here:
    https://www.opendns.com/account/dynamic_dns.php?downloads

    Additionally your inadyn.conf should look like:
    --username user
    --password pass
    --alias opendns
    --secure
    --dyndns_server_name updates.opendns.com
    --dyndns_server_url /account/ddns.php?
    • CommentAuthorshirish
    • CommentTimeMay 8th 2007
     permalink
    the one which is there is .src file no binaries :(

    If somebody has made a ubuntu .deb file please lemme know. Thank you for your guidance. Cheers !
    • CommentAuthorJoe
    • CommentTimeMay 8th 2007
     permalink
    Apologies for not having binaries, however it does not take much to compile inadyn, if you have gcc and curl development packages, simply unpack the src bundle, go into the directory where you unpacked it and type in 'make', if all goes well, you should have a binary version of inadyn under bin/linux

This discussion has been inactive for longer than 30 days, and is thus closed.