home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / network / serial / dip_read < prev    next >
Encoding:
Text File  |  1994-03-11  |  4.0 KB  |  97 lines

  1. Hello there,
  2.  
  3. This is a bugfix release of:
  4.  
  5. This is modified and fixed (to a certain extent, at least)
  6. dip-3.3.7, that works with NET2-Debugged and kernels pl15
  7. and up (maybe it works for your pl14 as well).
  8.  
  9. I somewhat modified this package, adding support for a few
  10. commands:
  11.  
  12. 1. quit - this was needed to prevent DIP from just dropping
  13.    the tty device in some weird state, in case it couldn't
  14.    succeed establishing connection (like, the phone was
  15.    busy).
  16.  
  17. 2. netmas xxx.xxx.xxx.xxx - obviously, if you have some
  18.    specific netmask in mind, you put this into your 
  19.    profile... Otherwise it won't specify "netmask ..." in
  20.    it's "ifconfig" and may G-d help you.
  21.  
  22. 3. default - this tells DIP that it should set up the
  23.    default route to the remote host it made a connection to.
  24.    If this command isn't present in the command file,
  25.    default route won't be set/changed.
  26.  
  27. 4. exit - not really needed, just for the cleanness of the
  28.    script... Instead of just falling through the bottom,
  29.    you can use this command and it will nicely exit
  30.    leaving established [C]SLIP connection intact and
  31.    running. I didn't ad the code for this command,
  32.    just spotted it in the source (:-).
  33.  
  34. Take a look at "sample.dip" file - it's there for a purpose. (:-)
  35.  
  36. I'm not sure Fred will support these changes of mine, nor
  37. can I guarantee I didn't introduce new bugs with my patch.
  38. Use it on your own risk. At least it works for me, for
  39. Compressed SLIP with MTU 296 and a LOT of remote X11
  40. and FTPing and so on.
  41.  
  42. Enjoy!
  43. uri@watson.ibm.com
  44.  
  45.  
  46. This is the last version of DIP using the "/etc/diphosts" file.
  47. It has been updated to use the "databits" serial patches, the
  48. "speed" setting bugfix, Jim Seagrave's "echo" and "init" adds,
  49. and Paul Mossip's "dynamic address" patches, as sent to me by
  50. Jeff Uphoff.  Here is his README:
  51.  
  52. -----------------------------------------------------------------------------
  53. For those of us that have our SLIP IP addresses assigned dynamically,
  54. here is a patch for dip that will trap the address when the remote
  55. host 'displays' it.  (This is an option--those that don't want this
  56. need not enable it.)
  57.  
  58. The meat of this patch was written by Paul Mossip (mossip@vizlab.rutgers.edu)
  59. Someone mentioned the existance of his patch, so I emailed him requesting
  60. a copy and he anonymously ftp'd it into my linux box.  
  61.  
  62. I have been using it heavily for several days now, and it works
  63. beautifully.  Bravo to the author!  (And many thanks)
  64.  
  65. I extended his patch a slight bit; whenever I initiated a slip connection,
  66. dip executed a 'route' command that assigned the remote machine's IP
  67. address as both my Destination net/address and my Gateway address.
  68. My connection would not function unless I deleted that route and created
  69. a new one specifying my Destination net/address as 'default'.
  70. I have added 'default' to the set of commands that dip accepts--
  71. if you use it, your Destination net/address will be set to 'default',
  72. if you don't use it, dip sets up the route as it did before.  (This
  73. command, like the ones that Paul added, can either be entered in
  74. dip's command mode, or read in from a script file.)
  75.  
  76. The abilites that Paul's patch added to dip allowed me to totally
  77. automate my SLIP connections, with the exception of the routing change.
  78. This patch has taken the last step; everything is done from a script
  79. file and I haven't had a problem with the address assignment trapping once.
  80.  
  81. Those that have to deal with dynamically assigned IP address will
  82. find this very useful.
  83.  
  84. Thanks once again to Paul Mossip--he put all of the real work into
  85. this patch.
  86. -----------------------------------------------------------------------------
  87.  
  88. The next release of DIP will use a much more powerful scripting
  89. language (derived from the Minicom communications package), and
  90. it will use the "/etc/diptab" "termcap"-like database for its
  91. client hosts.  This will allow for a much more flexible setup
  92. of hosts, and it will allow me to implement a Dynamic Address
  93. Server for DIP, making it usable as a "real" SLIP/PPP dialin
  94. server.
  95.  
  96. Fred, 07/20/93
  97.