LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2005, 05:26 AM   #1
Camino
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
dyndns, scripts, various thoughts & questions


Hello people!

I have a few basic questions here in hope to get better understanding of how things are organized. I'm not interested in just getting an answer to my problem as in "how do I get this working?", but how it actually works.

Anyway, I'm trying to update dyndns automatically during bootup, but I seem to have difficulties finding the spot where this script should be launched. The script itself works just fine if I launch it, but to have it done automatically when the can is assigned an IP.
I'm connected to the Internet through LAN, that is, I do not have a modem of any kind. I'm not an expert on networking, but I think that the suggestion of putting it to:
/etc/ppp/up-ip
is not the way to go, as I'm not using dial-up of any kind?
What I have tried is to put it into:
/etc/dhcpc/dhcpcd-eth0.exe (can someone please tell me why it is called .exe?)
..without luck. Running that script manually does work, it updates dyndns, but it just doesn't get called when the can is assigned an IP.
dhcpcd is currently running on the machine, so I guess that is the key, it's just that the script is not being called (maybe the name of the script is wrong, or I have to change something in a .conf? ).

Maybe I could even help myself more if I knew the following few things:
* Where can I see the log of all the services that are being started up at boot?
* Where can I see all the services that WILL be started up at boot (the script(s) ).

What makes it a bit more difficult for me (without logs) is that the machine lacks a screen, so I desperately need logs


I need some clarity in what's going on, as I feel like it seems too difficult to pinpoint the problems with the knowledge that I have at this point.
 
Old 10-23-2005, 05:39 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,536

Rep: Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772Reputation: 3772
Re: dyndns, scripts, various thoughts & questions

Quote:
Originally posted by Camino

What I have tried is to put it into:
/etc/dhcpc/dhcpcd-eth0.exe (can someone please tell me why it is called .exe?)
..without luck. Running that script manually does work, it updates dyndns, but it just doesn't get called when the can is assigned an IP.
dhcpcd is currently running on the machine, so I guess that is the key, it's just that the script is not being called (maybe the name of the script is wrong, or I have to change something in a .conf? ).
The tips and scripts provided here: http://www.slackware.com/~alien/dhcpc/ may help you getting this going. It explains "how it works" :-)

Cheers, Eric
 
Old 10-23-2005, 05:44 AM   #3
Camino
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
To quote the very first line of that link
Quote:
The DHCPD client (dhcpcd) that Slackware uses up to release 10.2 is missing some
files that allow your computer to run specific commands when the DHCP client
obtains or releases it's IP address.
If only I knew that before putting all that effort into it

Atleast it seems like I was on the right track!

Thank you very much, I'll give it a shot

Last edited by Camino; 10-23-2005 at 05:46 AM.
 
  


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
Some DNS Thoughts & Questions Harlin Linux - General 5 09-15-2005 02:02 PM
WVdial gets "NO CARRIER" && network scripts maybe?? jfish Linux From Scratch 1 01-17-2004 03:13 AM
DynDNS, Linksys WRT54G, & subdomains? datadriven Linux - Networking 6 12-11-2003 09:41 PM
sendmail, dns & dyndns questions synfield Linux - General 3 04-26-2003 04:23 PM
Bsd & linux thoughts! linear Linux - General 15 12-17-2001 10:39 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration