inadyn setup
Started by: number3number3
On: 1213469146|%e %b %Y, %H:%M %Z|agohover
Number of posts: 5
rss icon RSS: New posts
Summary:
Trying to setup a permenant inadyn configuration
inadyn setup
number3number3 1213469146|%e %b %Y, %H:%M %Z|agohover

Hi everyone,
I am trying to setup the inadyn (from optware) so that it will run at reboot.
So I made a configuration inadyn.conf file, in the /etc… This way I can just run inadyn from the cli to check it is working.

Next I made a little script in the init.d, called S95inadyn. This is the little script:

#!/bin/sh

inadyn &

My thinking is that all the S* scripts are run, in order, this way in the end my addition should be run.

So to verify my idea, I rebooted. And did a ps -ef|grep inadyn
With no result, ok, besides my grep that is, there is no process running.

Now I am wondering what it wrong with my thinking, so anyone got tips for me?

unfold inadyn setup by number3number3, 1213469146|%e %b %Y, %H:%M %Z|agohover
Re: inadyn setup
kovacskokokovacskoko 1213473547|%e %b %Y, %H:%M %Z|agohover

I added to inittab after rc scripts, before getty's:

::once:/opt/bin/inadyn -u <user> -p <pass> —update_period_sec 3600 -a <mysubdomain>.dyndns.org

I added it first with ::respawn:, but it doesn't worked. I noticed some dead processes (no vsftpd, and more). I've checked it with "ps -A", and noticed, that many processes were killed. I commented my inadyn-line out, rebooted, i noticed, that everything is working again. I looked after a solution, and then edited my inadyn-line to ::once:. Now it works great.

unfold Re: inadyn setup by kovacskokokovacskoko, 1213473547|%e %b %Y, %H:%M %Z|agohover
Re: inadyn setup
number3number3 1213732345|%e %b %Y, %H:%M %Z|agohover

Yep, that should work I guess. It looks simple enough.
I also got it running, but I added a shell script called inadyn.sh (based on the template), also I setup the inadyn.conf.
And I added a line to the network_servers.sh script (which is launced during reboot) at the right location.
Guess what it worked…

Guess there are more ways to get this running.

unfold Re: inadyn setup by number3number3, 1213732345|%e %b %Y, %H:%M %Z|agohover
Re: inadyn setup
servoservo 1220243407|%e %b %Y, %H:%M %Z|agohover

I have try, but i dont find how to solve it because i got baned in the dyndns

Becasue hour Books dont have to much memory, i was trying to run it in the cron once an hour to check the ip
and to to update if change and do a force change once a week.

but not runing in backgrownd all the time just ance an hour un cron.

does anyone have try this ?

unfold Re: inadyn setup by servoservo, 1220243407|%e %b %Y, %H:%M %Z|agohover
Re: inadyn setup
Eric3Eric3 1224017956|%e %b %Y, %H:%M %Z|agohover

Yes,
I use the script here : http://www.nslu2-linux.org/wiki/HowTo/DynDNSupdate

Almost at the end of the page, and it work well. I changed the script to use /usr/bin/find, and install the wget opware.

Also, in the crontabs, I replace */15 by 0,15,30,45

Eric

unfold Re: inadyn setup by Eric3Eric3, 1224017956|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License