Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 15:44
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to configure Dynamic DNS client in Slacko 5.6?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
AdrianH

Joined: 17 Oct 2013
Posts: 61
Location: Blackburn in the UK

PostPosted: Thu 07 Nov 2013, 18:32    Post subject:  How to configure Dynamic DNS client in Slacko 5.6?
Subject description: provided by DNSexit.com
 

Trying to set up a Dynamic DNS client on my simple pc Puppy Slacko 5.6

I downloaded dnsexit scripts, there are three
setup.pl
Http_get.pm
ipUpdate.pl

I placed the two .pl scripts in /bin and the Http_get.pm in /usr/lib/perl5

Then ran /bin/setup.pl

I eventually got to the end and had an error of
crontab: can't open 'root' : No such file or directory
"@reboot /bin/ipUpdate.pl" inserted to crontab

It then goes on to say that there are interesting files to check
config file /etc/dnsexit.conf
Pid file /var/run/ipUpdate.pid
log file /var/log/dnsexit.log
cache file /tmp/dnsexit-ip.txt

Only the conf file was created and the process was not running to I ran /bin/ipUpdate.pl that generated the files

So I stopped the process and deleted the three files again. This time I rebooted the pc to again find the three files not generated and the process not running.

I have added /bin/ipUpdate.pl into /etc/rc.d/rc.local and rebooted the pc

This appears to work but not sure how reliable it will be.

Also I can not find crontab so any clues as to where it could be, if not there then I assume I would have to add the "@reboot /bin/ipUpdate.p" to another file?

I believe that puppy is different from standard installations (just a bit of reading) found on here about busybox etc, not that I understand it all.

Could anyone help?


Cheers

Adrian
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 07 Nov 2013, 20:37    Post subject:  

I would just skip the crontab stuff. If it's running ok and your config file works then leave it as is, or remove the call from /etc/rc.d/rc.local and add the the debian.init (***renamed, see below) script to /etc/init.d and make sure it is set executable. That should auto start on boot and as it's running as a daemon it will ensure if your connection is restarted and your ISP gives you a different IP that that IP will be resolved.

There is a bug in their script failing to check if the crontab entry is successful...
Quote:
crontab: can't open 'root' : No such file or directory
"@reboot /bin/ipUpdate.pl" inserted to crontab


Be aware though that the debian.init script expects the perl scripts to be in /usr/sbin AND that the debian.init script is renamed to ipUpdate! (really, no body cares about linux in proprietary land!). "Fix it yourself or ..." Rolling Eyes

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Fri 08 Nov 2013, 09:16    Post subject:  

I do this in the router (post office netgear one)... have you checked there ? saves a lot of fiddling.
If it cannot this message willl self destruct in 5 seconds

Mike
Back to top
View user's profile Send private message 
AdrianH

Joined: 17 Oct 2013
Posts: 61
Location: Blackburn in the UK

PostPosted: Fri 08 Nov 2013, 15:31    Post subject:  

Hello 01mico and mikeb

Yes I could do it in the router. Just decided to do it in the PC and just set up port forwarding on the router, justy makes it a bit easier, I thought as it means less changes at mums.

Cheers

Adrian
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0465s ][ Queries: 12 (0.0035s) ][ GZIP on ]