Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to use the dynamic IP updater Inadyn. I know to create the .conf file and put it in /etc/inadyn.conf, I have done this.
This updater has an executable file but I don't know what to do with it.
I guess I should make it start as a service (daemon) but I don't know how.
I got this from htttp://www.dyndns.com/support/kb/using_inadyn_with_dyndns_services.html
Tips on what to do to get this up and running appreciated.
Thanks
Thanks for the link. On my PCLOS distro I get an error that service inadyn can't support chkconfig. Unfortunately, it didn't work out. Googling for a solution still. I tried a couple of inadyn.rpm files without luck yet too!
According to the above article, there should be a /etc/rc.d/rc.local file. The rc.local file can been used to start daemons/run scripts at boot time which are added by the local SysAdmin and customized per site requirements. If you have this file, then you could probably use it. It's contents could be something simple like:
Code:
#!/bin/sh
# Start inadyn.
# Example taken from the http://www.dyndns.com website.
inadyn --username test --password test --update_period_sec 600 --alias test.homeip.net
The current PCLinuxOS Wiki page is not very informative about adding services or start up programs.
If using the /etc/rc.d/rc.local works for you, you might consider securing the file so only root can read/execute it considering there would be a password in it.
According to the above article, there should be a /etc/rc.d/rc.local file. The rc.local file can been used to start daemons/run scripts at boot time which are added by the local SysAdmin and customized per site requirements. If you have this file, then you could probably use it. It's contents could be something simple like:
Code:
#!/bin/sh
# Start inadyn.
# Example taken from the http://www.dyndns.com website.
inadyn --username test --password test --update_period_sec 600 --alias test.homeip.net
The current PCLinuxOS Wiki page is not very informative about adding services or start up programs.
If using the /etc/rc.d/rc.local works for you, you might consider securing the file so only root can read/execute it considering there would be a password in it.
Thank you, these are useful tips. I am sure I'll get it done with a bit more time spent. My computer has an archaic K6 AMD cpu so I need to use a legacy kernel and older packages, so recent inadyn rpms don't work!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.