home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / sysVr4386slip / part01 / README < prev   
Encoding:
Text File  |  1991-03-21  |  3.5 KB  |  106 lines

  1.  
  2. SLIP (Serial Link Internet Protocol)
  3.  
  4. To build and install the slip driver, the slip utilities, and the slip login
  5. (dialslip) utilities, type the following command:
  6.  
  7.     make
  8.  
  9.  
  10. SLIP DRIVER
  11.  
  12. If you are using Unix System V Release 4.0.2 or below, you will need to copy
  13. v2.ip.fix/Driver.o to /etc/conf/pack.d/ip/Driver.o  before you build the
  14. kernel. The ip driver of Unix System V R 4.0.2 has a bug for a point to point
  15. connection which panics the system. The v2.ip.fix/Driver.o fixes the problem.
  16. SLIP (Serial Link Internet Protocol)
  17.  
  18. If you need to configure the second serial port, because your first serial
  19. port is used by other device, refer to Intel's Unix System V.4.0 Administra-
  20. tors Guide.
  21.     
  22. Once the new ip driver and the slip have been installed, and your serial port
  23. has been set up, you can build the kernel using the idbuild command. Don't
  24. forget to reboot your system after the idbuild command completes succesfully
  25. for the new kernel to take into effect.
  26.  
  27.  
  28. SLIP UTILITIES
  29.  
  30. slattach
  31.  
  32. The slattach command links the slip streams driver to the serial port and links
  33. the ip driver to the slip driver.
  34.  
  35. The syntax of slattach is as following:
  36.  
  37.     slattach [-i] nodename interface_name 
  38. OR  slattach -d [-i] devname interface_name [ baudrate ]
  39. OR  slattach - interface_name
  40.  
  41. The first option uses the Basic Networking Utilities (Advanced System
  42. Administration Volume 1 Chapter 7-15). Once the administration files
  43. are set up, you can use the remote node name to attach slip directly
  44. or through your modem. Example:
  45.     slattach venus sl0
  46.  
  47. The "-d" does not use BNU but directly open the next argument which is
  48. the serial device and link it to the slip driver. The baudrate sets up
  49. the line speed of the serial line; the default baudrate is 9600.
  50.  
  51. To start the slip interface using the first serial port at 1200 baud
  52. execute the below command:
  53.  
  54.     slattach -d /dev/tty00 sl0 1200
  55.  
  56. If the slip hangup daemon (slhangupd) is run, slattach by default is set
  57. to receive hangup signal (SIGHUP) sent by the slip driver through slhangupd.
  58. The -i option ignores any hangup signal.
  59.  
  60.  
  61. ifconfig
  62.  
  63. This utility is included in the standard base Unix System V Release 4.0
  64. product. Ifconfig is used to configure your system to the remote slip node.
  65.  
  66.     ifconfig interface_name source destination up
  67.  
  68.  
  69. slhangupd
  70.  
  71. Slhangup (slip hangup daemon) is a daemon used to receive messages sent by
  72. the slip driver. Whenever the slip driver receives a M_HANGUP message from
  73. a particular line, the driver sends sends the process id of the controlling
  74. slattach process to slhangupd. Slhangup then will send a SIGHUP (hangup
  75. signal) to the pid received from the slip driver.
  76.  
  77. There is no restriction of the execution order of slattach and slhangupd.
  78.  
  79.  
  80. sldetach
  81.  
  82. sldetach removes the serial line that is being used for slip connection.
  83.  
  84.     sldetach interface_name
  85.     
  86.  
  87. DIALSLIP (slip login utilities)
  88.  
  89. To install dialslip:
  90.  
  91. 1.  Set up the /etc/slip.hosts file.  This file maps login names to IP
  92.     addresses, which # comments, as usual.
  93.  
  94. 2.  Set up the /etc/slip.config file.  This file defines the IP address
  95.     of the local system on each interface.  Set them all the same.  There
  96.     can be as many simultaneous logins as lines in this file (not counting
  97.     comments).
  98.  
  99. 3.  Run "mkslipuser".  This builds a file similar in nature to utmp that
  100.     keeps track of who's logged in and what interface they're using.
  101.     This command should also be run at boot time to clean things up.
  102.  
  103. 4.  Set up accounts for each system dialing in with "slip" as the shell
  104.     with its setuid bit set to root.
  105.  
  106.