home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.1 (User) / OpenStep 4.1 (User).iso / usr / template / client / etc / ppp / Examples / ppp_multiple_hosts / README < prev   
Encoding:
Text File  |  1995-01-30  |  1.6 KB  |  57 lines

  1.  
  2.     pppd scripts for easier use of multiple hosts...
  3.  
  4. This is a set of scripts I put together to facilitate easily controlling
  5. multiple PPP hosts. You use these scripts at your own risk. I release these
  6. for anyone to modify and use without any restrictions whatsoever, and I
  7. do not guarantee them to be useful or working.
  8.  
  9. To use this set of scripts, follow the following directions:
  10.  
  11.     1 - Copy the files chat.sh and commandHost into /etc/ppp.
  12.  
  13.     2 - Copy ppp somewhere into your path (or copy it into /etc/ppp and
  14. link it into your path)
  15.  
  16.     3 - mkdir /etc/ppp/hosts
  17.  
  18.     4 - copy the folder "hosts/example" into /etc/ppp/hosts.
  19.  
  20.     5 - rename /etc/ppp/hosts/example to the name of your first PPP host 
  21. (i.e. netcom)
  22.  
  23.     6 - edit /etc/ppp/hosts/example/chat.script to your liking.
  24.  
  25.     7 - repeat steps 4 through 6 for every other hosts you connect to.
  26.  
  27.     8 - If you want anyone to be able to effect PPP connections, make the
  28. ppp script SUID (this may be a security hole, and I don't recommend it)
  29.  
  30. You are now ready to go. To start a PPP connection, say:
  31.  
  32. ppp host up
  33.  
  34. (Replace "host" with the name of the host). When the connection completes, a
  35. message appears on the console saying so. When you are done with the
  36. connection, say:
  37.  
  38. ppp host down
  39.  
  40. To get the status of a connection to a host (Whether you are connected to it),
  41. say:
  42.  
  43. ppp host status
  44.  
  45. To get a list of PPP hosts, say:
  46.  
  47. ppp list
  48.  
  49. That's all there is to it. Assuming that you have enough modems and serial
  50. ports, you can make as many connections as you want. However, it will not allow
  51. you to connect to the same host more than once.
  52.  
  53.  
  54. Good luck!
  55.  
  56. - Jonathan Adams
  57.