home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dn104os2.zip / README < prev    next >
Text File  |  1997-05-21  |  3KB  |  86 lines

  1. DYN 1.0.4                                  Jon Klippenstein <random@ocii.com>
  2. -----------------------------------------------------------------------------
  3.  
  4. NOTE: I haven't gotten around to updating this file much, but there have 
  5. been one or two new things in this latest version, such as erasing the 
  6. commandline (as shown by ps) so no one can see your MID/seccodes.
  7.  
  8. Overview
  9. --------
  10.  
  11. DYN is a simple client program for the Monolith Coalition's DYNDNS 
  12. service.  It creates a connection to the Monolith server and sends the 
  13. new information for your dynamic connection so that the DNS files can be 
  14. updated.  DYN is written on a Linux machine, but should be portable to 
  15. all decent UNIXs.  It has been tested on Linux 2.0.27 and SunOS 5.5.
  16.  
  17. Usage
  18. -----
  19.  
  20. The easiest way to use DYN is to run it from an ip-up script.  This 
  21. script, usually located in /etc/ppp/ip-up is run every time PPP 
  22. establishes a connection with your Internet Service Provider.  It runs 
  23. the script with the following arguments: interface device speed 
  24. local_addr remote_addr.  To run DYN every time you connect, add the 
  25. following line to your /etc/ppp/ip-up script, filling the appropriate fields:
  26.  
  27. (sleep 5 ; /path/to/dyn MID SEC1 SEC2 SEC3 $4 MACHINE) &
  28.  
  29. Where MID is your Monolith ID, SEC{1-3} are your security codes, $4 is 
  30. replaced by the shell with your dynamic IP address and MACHINE is your 
  31. dyndns hostname, machine.dyn.ml.org or whatever your chose.  THe sleep 5 
  32. part is to give the pppd daemon enough time to start up the connection 
  33. and be ready to accept outgoing packets.  I was having trouble with it 
  34. not being able to connect to the local nameserver, but the sleep seems to 
  35. fix it.
  36.  
  37. I don't know how to get DYN to run automatically when you use DIP to 
  38. establish a connection, as I've never used it. :)  One note, if you are 
  39. using the diald program to automatically dial your link, you might have 
  40. to put the DYN command in diald's ip-up file, not pppd's.  Check the 
  41. diald manpage for more info.
  42.  
  43. Bugs
  44. ----
  45.  
  46. Hopefully none. :)  The only thing I can see going wrong is if you don't 
  47. actually *have* a connection, or the connection isn't up, so it won't be 
  48. able to lookup the server.  However, running from pppd solves both these 
  49. problems.
  50.  
  51. Installing
  52. ----------
  53.  
  54. Simple.  Type 'make dyn' to make the DYN program, and then 'make install' 
  55. to install the file to /usr/local/bin.  By default, DYN is installed rwx 
  56. root only.  This is to prevent pesky users from changing your DNS entry 
  57. :)  If you don't like this, just change it.  
  58.  
  59. Configuring
  60. -----------
  61.  
  62. None really.  DYN automatically gets the OS and Machine type via the 
  63. UNIX uname system call.  If you want to find out what it will send, type 
  64. uname -m -s and it will print the values it uses.
  65.  
  66. Credits
  67. -------
  68.  
  69. Lets see, I wrote all of the program, and I used some networking code 
  70. from Artur Skawina <skawina@usa.net>, but it basic UNIX network code that 
  71. I didn't know how to write correctly :)  The fetchwww.c file is included 
  72. in this package.
  73.  
  74. To contact me, to talk about DYN, ML's dyndns, or just to say hi, send 
  75. email to:
  76.  
  77. random@ocii.com
  78.  
  79. That's all!  Enjoy DYN, I hope it makes life easier :)
  80.  
  81. --
  82. Jon Klippenstein             | email: random@ocii.com
  83. Gold Network Services Canada |        root@dparrot.bohica.net
  84.                              |        
  85. Student  Coder  Composer     | uucp:  alberta!ve6kik!dparrot!root
  86.