LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-06-2008, 05:25 AM   #1
momotaro
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Rep: Reputation: 0
starting a service for dyndns update client


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
 
Old 05-06-2008, 07:42 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
See if this thread helps you:

http://www.linuxquestions.org/questi...g-boot-541367/
 
Old 05-07-2008, 12:57 AM   #3
momotaro
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bsdunix View Post
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!

Last edited by momotaro; 05-07-2008 at 12:58 AM.
 
Old 05-07-2008, 07:40 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Exploring PCLinuxOS - Part 1
http://www.terryscomputertips.com/co...xos-part-1.php

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.

http://docs.pclinuxos.com/HomePage

The old Wiki is a little better, but still didn't mention the rc.local file.

http://oldwiki.mypclinuxos.com/Confi...ystem_services

I hope this helps.

Edit:

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.
Code:
# chmod 700 /etc/rc.d/rc.local
3.4. File security
http://www.faqs.org/docs/linux_intro/sect_03_04.html

Last edited by bsdunix; 05-07-2008 at 08:23 AM.
 
Old 05-07-2008, 07:37 PM   #5
momotaro
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bsdunix View Post
Exploring PCLinuxOS - Part 1
http://www.terryscomputertips.com/co...xos-part-1.php

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.

http://docs.pclinuxos.com/HomePage

The old Wiki is a little better, but still didn't mention the rc.local file.

http://oldwiki.mypclinuxos.com/Confi...ystem_services

I hope this helps.

Edit:

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.
Code:
# chmod 700 /etc/rc.d/rc.local
3.4. File security
http://www.faqs.org/docs/linux_intro/sect_03_04.html
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a port 25 redirection service, DynDNS, and Thunderbird... darkarcon2015 Linux - Software 1 01-20-2005 03:03 PM
Dyndns Service Setup shadz Linux - Networking 6 12-20-2004 05:20 PM
iptables and dynamic ip adresses (use of a dyndns service) markus1982 Linux - Security 6 09-02-2004 09:27 AM
good dyndns client b_usa Linux - Networking 6 12-12-2003 07:06 AM
setting up a dyndns service markus1982 Linux - Software 0 05-29-2003 04:14 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration