:


       TCP/IP         ether
net' .         ,
:

        RS-232,

        ,
      ( 485, V.435).

    
 IP:

        RS-232
SLIP  - Serial  Line IP -     TCP/IP  "
        ",     .
CSLIP - Compressed  SLIP -   SLIP.
            IP-. : 
          !   IP- IP- 
                40  .  
        CSLIP'     3 .  -
               -
           .   ,  -
           .
PPP   - Point-to-Point Protocol
         ,    TCP " ". -
           SVR4.  .  -
                
          IPX.     slip
         cslip -  .

        Centronix- 
PLIP  - Parallel  Line IP -   - .
            .    .  
         TCP/IP  SCSI- -  ,  - .
        , RFC 1149    IP 
        .



           TCP/IP  
   -   ,    
    .     :  
    ,       
  ,         
High Speed Interface -           
  ,    V.435  (      
    ),   
  -    PPP. ,  " "
    .

+-------------------+	     +-----------------+           (
|       |  |  |    ( ><
|Host   PPP    V.435|========|V.435       | ~~~~~~    (
|    -TCP/IP->      |        |                 | ~~~~~~    /\
+-------------------+        +-----------------+        

       ,     
   -  "",    
""  TCP/IP (PPP, Ether),    Ethernet,
 High Speed Interface.        
 "Cisco router", "NetBlaser".

+-------------------+	     +-----------------+           (
|       |  |  |    ( ><
|Router   PPP  V.435|========|V.435       | ~~~~~~    (
|    -TCP/IP->      |        |                 | ~~~~~~    /\
+-------+-----------+        +-----------------+        
	|
 ... -Ethernet------ ...




          -
,  ,    ,      
.

   :

    V32bis/V42   -
,    ""  16800 /.  ~
12000 /.       V42  
   (    , 
  )       2-4  ,
..  38400-57600 /

          /          
    RS-232           
 UART (Universal Asyncronous Receiver-Transmitter)

  16450  - 19200 bit/s.
  16550  - 19200 bit/s. (  "A" - )
  16550A - 38400 bit/s.
  16550A  115200 bit/s. (   "")
                      (  - Solaris, Unixware  - ,
                       FreeBSD, Netblaser, Cisco router - )

        :

/"",          V32bis/V42 - 19200  /.
 2- ,  V32bis/V42 - 38400  /.
 4- ,  RAID,????? - 115200 /.
 4- <=4,  ?????      1 /.
            <=?,  ?????     ?? 2 /.
.  .  V.435. PPP 64, 128, 256 /



        host'     
 ,       slattach,
                 TCP/IP.
,  SLIP        ,  
"".

        SVR4, slip

slattach /dev/comport  NASH-IP-ADRES  IH-IP-ADRES 19200 &
  #   /dev/comport   "slip"   19200
  #   IP-  slip-

        SVR4, cslip

slattach -c /dev/comport  NASH-IP-ADRES  IH-IP-ADRES 38400 &
  #   /dev/comport   "Compressed-slip"
  #   38400
  #   IP-  C-slip-

slattach -e /dev/comport  NASH-IP-ADRES  IH-IP-ADRES 38400 &
  #     slip  cslip,
  #  ,    
  # "  ",       


        Linux, SLIP.


 SLIP  Linux   DIP,   :
/usr/sbin/dip    config-file-name
---------------------------------------------------------------
#    
main:
  get $local  193.232.171.22
  get $remote 193.232.171.19
  port /dev/modem
  speed 9600
  mode SLIP
  exit
---------------------------------------------------------------
# slip   
---------------------------------------------------------------
       main:
         get $local   uwalt.hacktic.nl
         get $remote xs4all.hacktic.nl
         port /dev/modem
         speed 38400
         send ATQ0V1E1X4\r
         wait OK 2
         dial p555-1234
       login:
         sleep 2
         wait ogin: 20
         send MYLOGIN\n
         wait ssword: 20
         send MYPASSWD\n
         # We are now logged in.
         wait SOMETEXT 15
         get $mtu 296
         # Ensure "route add -net default xs4all.hacktic.nl" will be done
         default
         mode SLIP
---------------------------------------------------------------


          dip'

        Linux, CSLIP.

#      "cslip"
slattach -p cslip /dev/modem &
ifconfig cs0 NASH-IP-ADRES  pointopoint  IH-IP-ADRES
route add IH-IP-ADRES
route add default gw IH-IP-ADRES

        Linux, PLIP.

ifconfig plip1 NASH-IP-ADRES  pointopoint  IH-IP-ADRES
route add IH-IP-ADRES
route add default gw IH-IP-ADRES

         SLIP     .

      "" .
       
 ,    ""
SLIP, .  .

  ( stty 19200 ; echo atdp9120123 ) < /dev/modem > /dev/modem
  sleep 55

    atdp -   ,  
55 . ,     ,   "-
".

            .

  ,   ? Ping' ""  .
,                ,
   ""  slip        
(         slip             
  ,     TCP/IP).  
slip?  slattach.

while true   #   
do sleep 60  #  

  if  ping 107.65.8.254 | grep 'is alive' ;
    then   echo Ok > /dev/null   #  IH-IP-ADRES 
    else
         #   slattach
         slip_pid=`ps -ef | grep slattach | cut -c1-6`
         kill -9 $slip_pid
         #    
        (stty 19200; echo atdp9120123) < /dev/modem > /dev/modem
         sleep 55
         #  slattach
         slattach -e /dev/modem  195.8.2.3  107.65.8.254 19200 &
  fi
done





/etc/inet/ppphosts -  ppp-

             
   UUCP

     ,            ppp        
  /etc/strcf

     ,            slink

           ppp-     
 (" ").

      

    man ppp
    man pppd
    man ppphosts



            pppd.      pppd  
 chat,        pppd    IP-,
  ,    ,  chat-  
 .

: (  )    IP=123.456.789.12

pppd connect 'chat -v ABORT "NO DIALTONE" ABORT BUSY "" ATZ OK \
              atdp9386933 Username: ppmoshkow Passwd: mypasswd mode ;' \
    crtscts defaultroute modem noipdefault -detach mru 1500 \
    123.456.789.12:194.85.105.1 /dev/modem 38400

:    

pppd connect 'chat -v ABORT "NO DIALTONE" ABORT BUSY "" ATZ OK \
              atdp9386933 Username: ppmoshkow Passwd: mypasswd mode ;' \
    crtscts defaultroute modem noipdefault -detach mru 1500 \
    0.0.0.0: /dev/modem 38400



       MS Plus - "Network dialup
script editor"

   :
---------------------------------------------------------------
proc main

   waitfor "login:" until 5
   transmit $USERID, raw
   transmit "^M"

   waitfor "Password:"
   transmit "password^M"

   waitfor "modem" until 5
endproc
---------------------------------------------------------------

     logname, password  , 
      .



    HP-UX/10.20  ppp .  slip.
 ftp free-  iij-ppp
http://www.verinet.com/~barthold/ftp/iij-ppp0.94beta2.hpux10.tar.gz
       .

        SLIP  "ppl"   
  "LAN/9000 Link" product.

Last-modified: Thu, 09 Jul 1998 12:44:55 GMT
: