  IPX  Linux HOWTO
  Kevin Thorpe, kevin@pricetrak.com,  Alex Ott
  ott@phtd.tpu.edu.ru
  v2.3, 06 May 1998

      ,    
      Linux,   
   IPX   Linux.

  ______________________________________________________________________

  Table of Contents






















































  1. 

     1.1    
     1.2 

  2.   

  3.  

     3.1    
     3.2  
     3.3   

  4.  ,    

  5.      IPX

  6.    

  7. IPX  Greg Pages

     7.1     IPX

  8.   Linux-   IPX

     8.1      ?

  9.   Linux-   NCP

     9.1  
     9.2 
     9.3 
     9.4   

  10.   Linux    NCP.

     10.1 
        10.1.1 
        10.1.2  
        10.1.3  
     10.2 
        10.2.1 
        10.2.2 
        10.2.3 
        10.2.4   

  11.    Linux    Novell

  12.   Linux-    Novell

     12.1  
     12.2 

  13.     

     13.1  
     13.2  

  14.  PPP   IPX

     14.1   IPX/PPP
        14.1.1  
        14.1.2 
        14.1.3 
        14.1.4   
     14.2   IPX/PPP
        14.2.1 
        14.2.2   IPX/PPP

  15.  IPX  IP

     15.1 
     15.2 
     15.3 
     15.4   

  16.   IPX  Linux.

     16.1 Caldera'a Network Desktop

  17.     (FAQ)

  18.    

  19.   



  ______________________________________________________________________

   ::      , 
  .


  11..

  

   IPX  Linux HOWTO.    Linux NET-3-HOWTO 
     .


  11..11..

     


   :
            Terry Dawson      
              :-)

  :
              IPX&      
              .

  /:
            ncpfs,      NDS.
                     
              -  
          .

              (trustee rights) 
          mars_nwe.        .




  11..22..

  


   Linux        
   Unix-  .  
          
   ,   Linux     , 
    tcp/ip.  IPX   ,    
  .


   Linux    IPX.    
     IPX/RIP, SAP  NCP,   
    ,      .


   IPX    Alan Cox
  <alan@lxorguk.ukuu.org.uk>     Greg Page
  <greg@caldera.com>.


  22..    

               
   Linux.       ,
        .  
   README-,      
          
   .      
    .    
      .


   ,      , 
    ,     .  
     ,      
         ,    
   .     - 
     IPX       
        
     ,     
     .     ,
  -    ,  
        .


  33..

   

    ,       Linux
           
     ,   _i_f_c_o_n_f_i_g  _r_o_u_t_e.
    ,      NET-3-HOWTO
  <NET-3-HOWTO.html>     ,   
  .


     Linux HOWTO,     
     :


  Ethernet-HOWTO <Ethernet-HOWTO.html>,   
    Ethernet  Linux.


  PPP-HOWTO <PPP-HOWTO.html>,   IPX   
  2.2.0d  ,  PPP  Linux PPP.

  33..11..

     

      ,      ,
        .   
  Linux        , 
         .  
          ftp:


  ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/IPX-HOWTO :
  ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-formats/IPX-
  HOWTO{-html.tar,ps,dvi}.gz>  World Wide Web   Linux
  Documentation Project <http://sunsite.unc.edu/LDP/linux.html>, 
  : IPX-HOWTO <http://sunsite.unc.edu/LDP/HOWTO/IPX-HOWTO.html>
     , <kevin@pricetrak.com>.    
       : comp.os.linux.networking,
  comp.os.linux.answers  news.answers.


  33..22..

   

      ,   ,
  <kevin@pricetrak.com>.     feedback,   
       .    
    ,   ,    
      .


  33..33..

    

    ,     
     IPX  Linux,   
  .         
  `listserv@sh.cvut.cz'   `add linware'   . 
      ,     
  `linware@sh.cvut.cz'.      .


        www.kin.vslib.cz
  <http://www.kin.vslib.cz/hypermail/linware/>.


  44..

   ,,    

          client and server.
     ,       
    ,     :


     cclliieenntt
          ,      
             .


     sseerrvveerr
          ,     
                
        .
      ,    
    ,   _S_L_I_P  _P_P_P,  
       .


  __________ ____________:     
     Novell Netware,    -  
   ,    .


   ,   :



     BBiinnddeerryy
        _b_i_n_d_e_r_y --    , 
              Novell.
         Netware   _b_i_n_d_e_r_y  
           ,   .


     FFrraammee TTyyppee (( ))
            ,  
             IPX ( IP) 
           ethernet.    :



        EEtthheerrnneett__IIII
                DIX ethernet.
           Novell      
           ,    IPX  IP   
            Ethernet_II  .  
              Novell    .


        880022..33
            I.E.E.E. ,   Carrier Sense
           Multiple Access with Collision Detection (CSMA/CD,
                 
            ).      DIX
           Ethernet,   ,   (
           )     .  
           ,    IPX   
           . IEEE 802.3  ,   ______
            IEEE 802.2,    
                  IPX  
            .    ,  
               ,   
               .


        880022..22
             I.E.E.E.,    
           Logical Link Control (  ). 
             ,  
            ,    
             . Novell   Service
           Address Point (  , 
            ),      
           ,       .


        SSNNAAPP
           SNAP  Sub Network Access Protocol (  
           ).      
            802.3  802.2.   
            802.2  ,  
                Ethernet 
           Ethernet_II.


     IIPPXX
        Internet Packet eXchange (  ) -- 
           Novell  
             NetWare(tm). IPX  
          IP ,   
        tcp/ip.


       IIPPXX
         ,      IPX.
              
        .     :
        0x23a91002.


       IIPPXX
           IPX.   , -
            .   
             
          IPX.       IPX, 
               IPX,  
         .       ,  
           IPX


     RRIIPP
        Routing Information Protocol (  ) --
         ,    
          (routes)   IPX.  
          RIP   tcp/ip.


     NNCCPP
        NetWare Core Protocol (  NetWare) -- 
          ,   Novell
           NetWare(tm). NCP   
         NFS,    tcp/ip.


     SSAAPP
        Service Advertisement Protocol (  ) --
            Novell, 
              
        NetWare(tm).


       ((HHaarrddwwaarree aaddddrreessss))
         ,      
              (media access layer). 
          ______ _E_t_h_e_r_n_e_t.  Ethernet  
          ,  
        ,  00:60:8C:C3:3C:0F


      ((rroouuttee))
        _______  ,       
          .

  ????

  55..       IIPPXX

         ,  
     IPX.     
    .    IPX   
     .


   IPX      _____,  
    IP,       __________.
   --   ,      
      ____________ ____ _ ___ __ ___ ______.
            
    .


       ,    
     .     NetWare(tm),
         Linux.  IPX  
     ,     
   .


         
     .      RIP,
        .
        
   .    
    ''   .


          
  NetWare,      ipx_configure ( 7.1)
      IPX, 
     ,   .  
  ,      IPX,    
    ,   ipx_interface 
  mars_nwe.



  66..      //pprroocc ,,   IIPPXX

     ,    IPX 
  Linux,     /proc. :



     //pprroocc//nneett//iippxx__iinntteerrffaaccee
               IPX 
         .        
           .


     //pprroocc//nneett//iippxx__rroouuttee
             (routes),  
           IPX.     
               
         IPX.


     //pprroocc//nneett//iippxx
             IPX,   
          .


  77..

  IIPPXX  GGrreegg PPaaggeess

  Greg Page <greg@caldera.com  Caldera Incorporated  
    IPX    IPX   Linux.


      Linux  
   (bridge)   (router) IPX.  
  IPX        Linux,  
         .


         
      IPX    
   IPX     Linux.   IPX 
  Linux   sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipx.tgz>.


  77..11..

      IIPPXX


     iippxx__iinntteerrffaaccee
             ,  
          IPX    .
             Ethernet, 
         eth0.       IPX  
         _________ _(_p_r_i_m_a_r_y_)    _-_p 
         .   ,   
        Ethernet eth0  IPX    IPX
           IEEE 802.2   IPX 39ab0222 
         :



          # ipx_interface add -p eth0 802.2 0x39ab0222





          ,  
     NetWare(tm)   ,      .
        ,    ,  
        ,     
         NetWare.   
        NetWare    
       NetWare.


               
      - ,       tcp/ip, 
          eth0,  :



          # ifconfig eth0 up





     iippxx__ccoonnffiigguurree
              
            .  
                 
        Windows 95.



        --auto_interface
                  
               IPX  


        --auto_primary
                 IPX
                .


         ,    
             
          :



          # ipx_configure --auto_interface=on --auto_primary=on





     iippxx__iinntteerrnnaall__nneett
               
        .     ,   
        ,      . 
           IPX ab000000   (node) IPX 1 
          :



          # ipx_internal_net add 0xab000000 1





     iippxx__rroouuttee
             
         IPX. ,      IPX
        39ab0222      00608CC33C0F  
        IPX 39ab0108     :



          # ipx_route add 0x39ab0222 0x39ab0108 0x00608CC33C0F





  88..

    LLiinnuuxx--   IIPPXX

       IPX,    
    ,     . 
   Novell  2  ,  
    .     ,
    Novell RIP,    ,
    Novell SAP.   
          
  .


  Linux         
  ,     
  Novell.


   IPX   Linux     IPX
     ,     
  ,     IPX. Linux 
    Novell RIP  SAP,  
      IPX   
        .


  Volker Lendecke <lendecke@namu01.gwdg.de>  
   _i_p_x_r_i_p_d,    .   
  _m_a_r_s___n_w_e    .


     _i_p_x_r_i_p_d : sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipxripd-0.7.tgz>


     Volkers  : ftp.gwdg.de
  <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/ipxripd-0.7.tgz>


   ,   Linux-  
    .    :



  1.      IPX, Ethernet  /proc.

  2. ,      _i_p_x_d.

  3.     ,     Ethernet 
          .

  4.   IPX   ,  
     _i_p_x___i_n_t_e_r_f_a_c_e  .

  5.    _i_p_x_d.


     :














   IPX Addr: 0x01000000  802.2
  |--------------------------|
                |
                \_________________________
                                          \     Linux 
   IPX Addr: 0x02000000  802.2             \
  |--------------------------|              \   eth0/-----------\
                |                            \--====|           |
                \_________________________          |    |
                                          \     eth1| - |
   IPX Addr: 0x03000000  etherII           \----====|  IPX |
  |--------------------------|                      |    ^      |
                |                               eth2|    |      |
                \______________________________/====|  IPXd     |
                                                    |  SAPd     |
   IPX Addr: 0x04000000  etherII                eth3|           |
  |--------------------------|                 /====|           |
                |                              |    \___________/
                \______________________________/




         :



       # ipx_interface add eth0 802.2 0x0100000000
       # ipx_interface add eth1 802.2 0x0200000000
       # ipx_interface add eth2 etherii 0x0300000000
       # ipx_interface add eth3 etherii 0x0400000000
       # ipxd





          
  /proc/net/ipx_route        IPX
          
    .


  88..11..

       ??

  Novell  ,   , 
         
    .     , 
     ,    ,   
         
           .


    ,        
        IPX   
   .   ,    IPX/PPP
   `'      .


       ,    
   .      make config  
   y    Full internal IPX network  :


         ...
         ...
        Full internal IPX network (CONFIG_IPX_INTERN) [N/y/?] y
         ...
         ...





      ,  
  _i_p_x___i_n_t_e_r_n_a_l___n_e_t,      IPX. 
       ,    IPX
            
        .


  99..

    LLiinnuuxx--   NNCCPP

        ,  
   IP  IPX,        
  linux-   ,     Novell 
   .  Novell   NFS    ,
      ,     
        ,  
  ,       .


  Volker Lendecke <lendecke@namu01.gwdg.de>    Linux
    ,    Novell NCP,
       Novell    Linux
         .
  Volker   _n_c_p_f_s      
    "Netzwerkprogrammierung in C" Manfred Hill  Ralf Zessin
  (       README  
  _n_c_p_f_s).


      Linux  
    Novell   .   
    ,      
   Novell (      ).
   _n_c_p_f_s      Novell  3.x 
  ,      Novell 2.x.   _n_c_p_f_s  
    Novell- ,    
  ,      
  .   _n_c_p_f_s    Novell
  4.x,        bindery.
   NDS      _n_c_p_f_s  
           
        , - 
   .


  99..11..

    nnccppffss ..

     _n_c_p_f_s  , 
     1.2.13    1.3.71 ( 
  2.x.x).           ,
      . Kernel-HOWTO <Kernel-HOWTO.html> 
      .

      _n_c_p_f_s p  ftp   Volker 
  : ftp.gwdg.de <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/> 
  sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs>  
  -.      :
  ncpfs-2.0.11.tgz  ncpfs-2.2.0.tgz,    NDS.


  99..22..

   nnccppffss    11..22..1133..


         EEtthheerrnneett 
        IPX" ,     --   
             IPX.   
        1.2.13   ,    Y  :
        'The IPX protocol'  :


         ...
         ...
        Assume subnets are local (CONFIG_INET_SNARL) [y]
        Disable NAGLE algorithm (normally enabled) (CONFIG_TCP_NAGLE_OFF) [n]
        The IPX protocol (CONFIG_IPX) [n] y
        *
        * SCSI support
         ...
         ...




        ,    
         Ethernet.      
     ,     Ethernet-HOWTO <Ethernet-
     HOWTO.html>.


          . , 
        _l_i_l_o   , 
      .


        _n_c_p_f_s

        # cd /usr/src
        # tar xvfz ncpfs-2.0.11.tgz
        # cd ncpfs




      MMaakkeeffiillee
            _k_e_r_n_e_l_d  
          _n_c_p_f_s,      
        Makefile,   : KERNELD.    , 
               Kernel-HOWTO
        <Kernel-HOWTO.html>,      
        .


       _n_c_p_f_s
              
          :

        # make




       IIPPXX --,,     
        "     _m_a_k_e     
            ncpfs/bin.  
        :



          # make install





          Volker' .  
          ELF,   
      `ldconfig -v'  ,  
       .


       _n_c_p_f_s_._o  
             1.2.*,    
         ncpfs.o   ncpfs/bin   _m_a_k_e.
           _n_c_p_f_s.     
        .    _d_e_b_i_a_n     
        /lib/modules/1.2.13/fs   ncpfs   /etc/modules, 
                .
             Linux,    
               
         ,       
        /etc.       
        :


        # insmod ncpfs.o





  99..33..  11..33..7711++++//22..00..**..   nnccppffss   

     _n_c_p_f_s     1.3.71 
   ,     2.0.*.


        1.3.71   ,
     _n_c_p_f_s      
   .     Y :













  Networking options  -->
      ...
      ...
      <*> The IPX protocol
      ...
  Filesystems  -->
      ...
      ...
      <*> NCP filesystem support (to mount NetWare volumes)
      ...





           
  1.2.*,      ,     
   .


  99..44..

     nnccppffss ..


        
        IPX"      
         IPX.       
          IPX     
                :
           :



          # ipx_configure --auto_interface=on --auto_primary=on





           ,     
      ,     ' IPX' 
         .  
              
      Windows 95.


      
             IPX    
         _s_l_i_s_t,       
         Novell   .


        # slist




       slist   : ncp_connect: Invalid
     argument,         IPX.
           . 
           'IPX'  'ncpfs'  
     .   _s_l_i_s_t    , 
           .


         NNoovveellll((ttmm))
             IPX 
        ,       
         Novell    Linux.  _n_c_p_m_o_u_n_t
             ,    
           :



        1.   

        2.    .   
            ,     

        3.  , ..     .
                  .

        4. ( )    , 
            .


           _n_c_p_u_m_o_u_n_t  
           NCP.   NCP 
         ,     
        ,       
              
        ncpumount    halt  shutdown.


              ACCT_FS01, 
          guest  ,  
        /mnt/Accounts    :


        # ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -n




     ,    -n .    
        .      
      secret   :


     # ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -P secret




           -n   -P    .


      
           ,     
           (userid)  
           .     
            .    
           -V    .


          NCP    uid  gid 
        ,        
          ,     
            Linux.


       
        "       
         ncp,       
         _r_c-,       
         .      
          IPX,   debian,    
             /etc/rc.local,     . 
          - :



          #
          # Start the ncp filesystem
          /sbin/insmod /lib/modules/1.2.13/fs/ncpfs.o

          # configure the IPX network
          ipx_configure --auto_interface=on --auto_primary=on

          # guest login to the Accounting fileserver
          ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -n

          #





          NCP --  
        $HOME/.nwclient.    
           
       NCP,    . 
          ,    
              .


         :



          #   -  '  '   
          #      .
          #
          #  TERRY     DOCS_FS01   'password'
          DOCS_FS01/TERRY password
          #
          #      ACCT_FS01  
          ACCT_FS01/GUEST -





           



          $ ncpmount /home/terry/docs





      : DOCS_FS01   TERRY  
     /home/terry/docs. ,       
           .  
       :
          $ ncpmount -S ACCT_FS01 /home/terry/docs





         GUEST   ACCT_FS01  
      .


     ::    ,   
        $HOME/.nwclient   0600,    
        :



          $ chmod 0600 $HOME/.nwclient





          
       ,   _n_c_p_m_o_u_n_t   
      Set Userid Root,       
      :



          # chmod 4755 ncpmount





       _n_s_e_n_d
             Novell 
           ,   _n_s_e_n_d   
        :


        # nsend rod hello there




        "hello there"   
      "rod"   ""   (  
       .nwclient.      ,
             _n_c_p_m_o_u_n_t.



  1100..

    LLiinnuuxx    NNCCPP..

    ,   Linux  
    Novell.      
     Linux     
    Novell NetWare.  
           
            
  Novell.     ,    
    .

  1100..11..

   mmaarrss__nnwwee

  Martin Stover <mstover@freeway.de>   _m_a_r_s___n_w_e  
     linux      
    NetWare.


       ,    : _m_a_r_s___n_w_e
   Martin Stovers Netware Emulator ( Netware 
  ).


  1100..11..11..

   mmaarrss__nnwwee ..

  _m_a_r_s___n_w_e    Novell NCP  
  ,    bindery    . 
       ,     
          .


  1100..11..22..

    mmaarrss__nnwwee ..

     _m_a_r_s___n_w_e  ftp.gwdg.de
  <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/>  
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/>.


       : mars_nwe-0.99.pl10.tgz.


  1100..11..33..

    mmaarrss__nnwwee


         EEtthheerrnneett  IIPPXX
           1.2.13    ,  
         Y  : 'The IPX protocol'  N  : `Full
        internal IPX network'  :


         ...
         ...
        The IPX protocol (CONFIG_IPX) [n] y
         ...
         ...
        Full internal IPX network (CONFIG_IPX_INTERN) [N/y/?] n
         ...
         ...




           , 
          .


        ,     
        Ethernet.       , 
        Ethernet-HOWTO <Ethernet-HOWTO.html>.
            . , 
        _l_i_l_o   ,  
      .


       _m_a_r_s___n_w_e


          # cd /usr/src
          # tar xvfz mars_nwe-0.99.pl10.tgz





      _m_a_r_s___n_w_e
            .   -- 
         make,       config.h.
               config.h 
         .      ,
              
          ,    .  
         :


        FILENAME_NW_INI         
        PATHNAME_PROGS            
        PATHNAME_BINDERY          'bindery'
        PATHNAME_PIDFILES     ,    'pid' 
        MAX_CONNECTIONS          
        MAX_NW_VOLS             ,    mars_nwe
        MAX_FILE_HANDLES_CONN       
        WITH_NAME_SPACE_CALLS      ncpfs
        INTERNAL_RIP_SAP           rip/sap   mars_nwe
        SHADOW_PWD                ' '  




          ,   
      .


       ,  :



          # make
          # make install





            .
          
     /etc/nwserv.conf.


      
          .    
        /etc/nwserv.conf.       
         ,       . 
             .
               , 
           .    
         '#'    . Martin
             ,  
             .































































     #  ( 5)
     #   SYS  .    SYS
     #   : LOGIN, PUBLIC, SYSTEM, MAIL.
     #  'i'  .
     #  'k'      NCP   
     #  'm'     (  cdroms  ..)
     #  'r'     
     #  'o' ,      
     #  'P'     
     #  'O'      OS/2
     #  'N'     NFS
     #     .
     # :
     #    1 < >  <  >        <>

     1   SYS         /home/netware/SYS/               # SYS
     1   DATA        /home/netware/DATA/      k       # DATA
     1   CDROM       /cdrom                   kmr     # CDROM

     #  
     #   ,    linux hostname 
     #      .  
     #  ,      
     # .
     # :
     #    2 < >

     2   LINUX_FS01

     #   
     #    IPX  ,  
     #  IPX    (,  
     #       IPX).
     # :
     #    3 <  > [< >]
     # :
     #    3 auto
     #
     #    'auto',    IP 
     #  . :    , 
     #  ,    .
     #    4     (
     #  0x).

     3   0x49a01010  1


     #  ()
     #      IPX.     
     # ,     .     
     #   ipx_configure/ipx_interface  
     # .
     # :
     #    4 <  IPX> < > < > [<ticks>]
     #                         Frame types: ethernet_ii, 802.2, 802.3, SNAP

     4  0x39a01010  eth0  802.3  1

     #   IPX    
     # :
     #    5 <>
     #       0 =   , 1 =  

     5 0

     #  NETWARE
     # :
     #    6 <>
     #      0 = 2.15, 1 = 3.11

     6 1

     #  
     #   Novell  DOS  , 
     #     .   ,   
     #        .
     # :
     #    7 <>
     #    <>  :
     #        0 force password encryption. (    )
     #        1 force password encryption,    
     #        7   ,   
     #        8     
     #        9    (   OS/2)

     7 1

     #   GID UID
     #      .  
     #        
     #  
     # :
     #    10 <gid>
     #    11 <uid>
     #    <gid> <uid>  /etc/passwd, /etc/groups

     10  200
     11  201

     #   (SUPERVISOR)
     #       .  
     #     bindery  .   
     #   'root'    
     #       mars
     #
     #        bindery ,   
     #      ,  
     #    .
     #
     # :
     #    12 < > <  Unix> [<>]

     12  SUPERVISOR  terry  secret

     #  
     #     NetWare  
     #  unix.    .
     # :
          13 < > <   Unix> [<>]

     13  MARTIN martin
     13  TERRY  terry

     #   "" 
     #          
     #    
     #  ,    ,   
     #    mars_nwe  
     #  Linux.       
     #  linux,       
     #    ,  . 
     #          
     #  .
     # :
     #    15 <> < >
     #    <>:    0  -     
     #               1  -      
     #               99 -      

     15  0  duzzenmatta

     #  
     # mars_nwe   ,  
     #  ,    
     # :
     #    16 <>
     #    <> - 0  ,  ,  1  ,  

     16  0

     #  
     #     NetWare   unix.
     #         .
     #      lpd.
     # :
     #    21 < > < > <  unix>

     21  EPSON  SYS:/PRINT/EPSON lpr -h
     21  LASER  SYS:/PRINT/LASER lpr -Plaser

     #  
     #    ,        .
     # :
     #    < > < >
     #
     #    100 = IPX KERNEL
     #    101 = NWSERV
     #    102 = NCPSERV
     #    103 = NWCONN
     #    104 = start NWCLIENT
     #    105 = NWBIND
     #    106 = NWROUTED
     #                 0 =  , 1 =  

     100 0
     101 0
     102 0
     103 0
     104 0
     105 0
     106 0

     #  NWSERV       
     # :
     #    200 <>
     #        0 =  NWSERV        
     #        1 =  NWSERV       

     200  1

     #   
     # :
     #    201 < >

     201  /tmp/nw.log

     #    
     # :
     #    202 <>
     #        0 =     
     #        1 =    

     202  1

     #   
     #        SERVER DOWN 
     #   .
     # :
     #    210 <>
     #         . (  10)

     210  10

     #      
     #       .
     # :
     #    211 <>
     #         . (  60)

     211  60

     #   
     #      
     #   .
     # :
     #    300  <>

     300  5

     #   
     #     
     # :
     #    301 < >

     301  /tmp/nw.routes

     # /  
     #        
     #  ,   .
     # :
     #    302 <>
     #        <flag> - 0  , 1  /

     302  1

     # WATCHDOG TIMING
     #     , 
     #    .
     # :
     #    310 <>
     #        <> = 0 -    
     #                   < 0 - (-ve)   
     #                   > 0 -    
     #                           'n' ticks

     310  7

     #  
     #     ,    
     #         
     # .       'examples' 
     #  .
     # :
     #    400 < >
     400  /etc/nwserv.stations

     #  'GET NEAREST FILESERVER'
     #      SAP 'Get Nearest
     # Fileserver' (   ).
     # :
     #    401 <>
     #        <>: 0 -   'Get Nearest Fileserver'.
     #                1 -  'stations'   .
     #                2 -  'stations'   .

     401  2





      
            ,     
              /  
        ,       
         . ,    ,  
               
        ,      :



          # nwserv





       
               
             NetWare   .  
          CAPTURE     . 
            ,   .



  1100..22..

   llwwaarreedd

  Ales Dryak <A.Dryak@sh.cvut.cz>  _l_w_a_r_e_d  
  Linux       NCP.


  Ales   _l_w_a_r_e_d,   _L_i_n_W_a_r_e _D_a_e_m_o_n.


  1100..22..11..

   llwwaarreedd

   _l_w_a_r_e_d     Novell NCP. 
    ,     . 
           Windows95 
  Windows NT.  _l_w_a_r_e_d     
         IPX 
   SAP. ""     .  ,
       .



      NETX  VLM NetWare.


  1100..22..22..

   llwwaarreedd

   _l_w_a_r_e_d         1.2.0, 
       1.2.13,     
    (patches)  .  
   IPX     1.3.*   , 
       . 
       ,     
      alpha,     
  _l_w_a_r_e_d  .


      _l_w_a_r_e_d   ftp : klokan.sh.cvut.cz
  <ftp://klokan.sh.cvut.cz/pub/linux/linware/>


   : sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/network/daemons> 
  -.      :
  lwared-0.95.tar.gz.


  1100..22..33..

   llwwaarreedd


       _l_w_a_r_e_d
         -  :


        # cd /usr/src
        # tar xvpfz lwared-0.95.tar.gz




         EEtthheerrnneett  IIPPXX
           alpha   1.3.*,   
           1.3.17   , -
             .  1.3.* 
         1.3.17      (_________
        __________ _ ___ ___ _______ ___ ________ _ ____ INSTALL 
         ).       1.3.17
              :


        # make patch




       ,  ,   
        --     
        IPX.    1.2.13 
       ,    Y  : 'The IPX
     protocol'  :




      ...
      ...
     Assume subnets are local (CONFIG_INET_SNARL) [y]
     Disable NAGLE algorithm (normally enabled) (CONFIG_TCP_NAGLE_OFF) [n]
     The IPX protocol (CONFIG_IPX) [n] y
     *
     * SCSI support
      ...
      ...




          ,    
      .


         ,   
          Ethernet.    
       ,      Ethernet-HOWTO
     <Ethernet-HOWTO.html>.


           . , 
       _l_i_l_o   ,  
      .


        _l_w_a_r_e_d
          _l_w_a_r_e_d    ,  
         ,  server/config.h.  
          ,    
           .    
        ,    ,    
               .


        # make depend
        # make
        # make install




      ,  'make depend'       
     float.h   ,    .   , 
          gcc 2.6.3,   :


     #include <net/route.h>




     


     #include <net/if_route.h>




      lib/ipxkern.c,      .


           /usr/sbin,
      _l_w_p_a_s_s_w_d   /usr/bin,    IPX
         /sbin    
        /usr/man.      
        ,     
     Makefile      .



  1100..22..44..

     llwwaarreedd


       IIPPXX
              --   
         Ethernet    IPX,   
         .       
           IPX     LAN, 
         Ethernet (eth0, eth1 etc.)   
        ,    (802.3, EtherII etc.) 
          LAN      
           (     
             LAN).  
        ,        
         IPX  23a91300  23a91301   
         bdefaced   :


        # ipx_internal_net add BDEFACED 1
        # ipx_interface add eth0 802.3 23a91300
        # ipx_interface add eth1 etherii 23a91301




       
              
          IPX,     IP,   
             
        .  IPX       
        _l_w_a_r_e_d: _i_p_x_r_i_p_d    IPX, 
        _i_p_x_s_a_p_d   SAP.    
                 
        :


        # ipxripd /var/adm/ipxrip
        # ipxsapd /var/adm/ipxsap




       _l_w_a_r_e_d
          ,      
              _l_w_a_r_e_d. :



        /etc/lwpasswd
                  LinWare.
            _l_w_p_a_s_s_w_d     . 
              /etc/lwpasswd  
           :



           ales:
           terryd:
           guest:




               
          ':'      
        .    :  
            ,  LinWare 
           Linux,     
           /etc/lwpasswd     
        /etc/passwd    root  ,
               LinWare.
              root     
         LinWare   :


        # lwpasswd rodg
        Changing password for RODG
        Enter new password:
        Re-type new password:
        Password changed.




        /etc/lwvtab
                LinWare   
                  
           LinWare (       NFS
           /etc/exports).     :


           SYS             /lwfs/sys
           DATA            /lwfs/data
           HOME            /home




          :      
          Linux.      
           SYS,   .  
           DOS    LinWare
           ,    
            SYS  
            SYS.     
               
        Novell,      .   
            Novell   ,
            .



       _l_w_a_r_e_d
        tada!


        # lwared




       ,   ? Ok,    ?
         ?     
      ,    LinWare    
        Linux _h_o_s_t_n_a_m_e.   
     -  ,        
     ,  :


     # lwared -nlinux00




          linux00.


       _l_w_a_r_e_d
             --      LinWare
            _s_l_i_s_t    DOS 
         .  _s_l_i_s_t    SYS 
         Novell,        - 
          -.    , 
           _i_p_x_s_a_p_d  _l_w_a_r_e_d.   
        _s_l_i_s_t  ,      
         :


        C:> attach linux00/ales
         ...
         ...
        C:> map l:=linux00/data:
        C:> l:




              
      .       , 
       ,      _l_i_n_u_x,
          LinWare.



  1111..

     LLiinnuuxx    NNoovveellll

   _n_c_p_f_s    ,   
      Linux-    
    Novell.  _n_p_r_i_n_t     
    NetWare.  _p_q_l_i_s_t    
       NetWare.


           
      NCP.


           , 
         
       .


     :



  # pqlist -S ACCT_FS01 -U guest -n
  # nprint -S ACCT_FS01 -q LASER -U guest -n filename.txt





       _n_c_p_m_o_u_n_t.  
  ,    ACCT_FS01   guest
   ,    LASER   
  guest    .


      Linux       
       Novell.     
   ,  ,     
     Linux.


  1122..

    LLiinnuuxx--    NNoovveellll

  ,    Linux-   
     Netware    _n_c_p_f_s.     
     ,   ,  
  ` Netware'.      _m_a_r_s___n_w_e.


  1122..11..

   

    ,        
        Linux.  
     Printing-HOWTO <Printing-HOWTO.html>.


  1122..22..

  

        ,    
    _p_s_e_r_v_e_r,      
     rc-.


            
    ,      
  :



       # pserver -S ACCT_01 -U LASER -P secret -q LASERJET





      _p_s_e_r_v_e_r     ACCT_01 
    LASER   secret     
   LASERJET.       
        _l_p_r  
       Linux.     
          
     .
    ,  ,   Linux  
     .  -c    
   . :



       # pserver -S ACCT_01 -U LASER -P secret -q LASERJET -c "lpr -Plaserjet"





          , 
        laserjet  _p_r_i_n_t_c_a_p 
    .


  1133..

       nnccppffss

     _n_c_p_f_s Volker',   
     ,    .
         
   _n_c_p_f_s,        ,   
      ' Novell'    
  .


        , 
       :


  1133..11..

   


     nnccooppyy
        Network Copy -     
          Netware    .


     nnpprriinntt
        Network Print -       
        Netware   Netware.


     nnsseenndd
        Network Send -     
           Netware.


     nnwwbboollss
        List Bindery Objects -     bindery
          Netware.


     nnwwbboopprrooppss
        List Properties of a Bindery Object -   
          bindery Netware.


     nnwwbbppsseett
        Set Bindery Property -     
        bindery Netware.
     nnwwbbppvvaalluueess
        Print Netware Bindery Objects Property Contents -  
           bindery Netware.


     nnwwffssiinnffoo
        Fileserver Information -     
         Netware.


     nnwwppaasssswwdd
        Netware Password -     
        Netware.


     nnwwrriigghhttss
        Netware Rights -     
           .


     nnwwuusseerrlliisstt
        Userlist -     
            Netware.


     ppqqlliisstt
        Print Queue List -     Netware.


     sslliisstt
        Server List -     Netware.



  1133..22..

   


     nnwwbbooccrreeaattee
        Create a Bindery Object -     bindery
        Netware.


     nnwwbboorrmm
        Remove Bindery Object -     bindery
        Netware.


     nnwwbbppaadddd
        Add Bindery Property -    
           bindery Netware.


     nnwwbbppccrreeaattee
        Create Bindery Property -     
           bindery Netware.


     nnwwbbpprrmm
        Remove Bindery Property -     
        bindery Netware.


     nnwwggrraanntt
        Grant Trustee Rights -    
        (trustee)       Netware.


     nnwwrreevvookkee
        Revoke Trustee Rights -    
              Netware.


  1144..

   PPPPPP   IIPPXX

    _p_p_p_d,  PPP  Linux,  , 
      IPX   
  PPP.        ppp-2.2.0d. 
  PPP-HOWTO <PPP-HOWTO.html>       
  .   _p_p_p_d      
   IPX    :



       IPX_CHANGE = 1
       USE_MS_DNS = 1





   : /usr/src/linux/pppd-2.2.0f/pppd/Makefile.linux.


  IPX_CHANGE   IPX  PPP.  USE_MS_DNS
     Microsoft Windows95  Name Lookups (
  ).


         --   
   .


     ,        
   - .      ,  
      ,     -
     .


  1144..11..

    IIPPXX//PPPPPP

           Linux-
    IP/PPP.  .    . , 
    PPP-HOWTO <PPP-HOWTO.html>     ok. 
        ,   
     IPX    .


  1144..11..11..

   

          --   
  Linux    IPX,     
      .     
  _i_p_x___r_o_u_t_e   ppp - _p_p_p_d     
       IP.      _i_p_x_d   
       IPX  
    .         
    .


  1144..11..22..

  

      ,     
       PPP-,  
  .   ,  PPP-  
   IPX       IPX.  ,
             
  .        
  IPX    ,   
  IPX/PPP.      IPX  
    ,     
      .


         ,     
    (),    .
         :



           IPX
       ------      ------------------
       ttyS0       0xABCDEF00
       ttyS1       0xABCDEF01





  1144..11..33..

   ppppppdd ..

     /etc/ppp/options.ttyS0  :



       ipx-network 0xABCDEF00
       ipx-node 2:0
       ipxcp-accept-remote





     /etc/ppp/options.ttyS1 :



       ipx-network 0xABCDEF01
       ipx-node 3:0
       ipxcp-accept-remote





    _p_p_p_d     IPX 
     ,      2
   3         
     .       
      0x    , 
       .


           .
       ,      
   /etc/ppp/options.       
      _p_p_p_d.


  1144..11..44..

    

          .
    ,      _p_p_p_d,  
    ,       
     .       
    _i_p_x_d   ,   
   IPX   .


  1144..22..

    IIPPXX//PPPPPP

        Linux- 
   IPX         
         .   
   ,    IPX/PPP,   
    _i_p_x_d,         
           IPX/PPP
  ,       _i_p_x_d  .
      -    
   ,   .


  1144..22..11..

   ppppppdd

     ,   
        IPX.  
       ,  .


          
  /etc/ppp/options:



       ipxcp-accept-network
       ipxcp-accept-remote
       ipxcp-accept-local





     _p_p_p_d      
     .     
    ,      
   ipx-network  ipx-node    .

  1144..22..22..

    IIPPXX//PPPPPP

          
   .        pppd
       IPX    ppp0 
     _i_f_c_o_n_f_i_g      _n_c_p_m_o_u_n_t.


          IPX ,  
    .  .  - 
        .


  1155..

   IIPPXX  IIPP

              
  Novell   IP   .   , "
      DOOM  DOS  
  ?" Andreas Godzina <ag@agsc.han.de>    
     _i_p_x_t_u_n_n_e_l.


  _i_p_x_t_u_n_n_e_l     (bridge)   IPX
    IPX      tcp/ip,  
     tcp/ip .    
  IPX          tcp/ip 
      ,  IP   .
            
     IPX    
      _i_p_x_t_u_n_n_e_l    .


  1155..11..

   iippxxttuunnnneell

     _i_p_x_t_u_n_n_e_l  sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/network/daemons> 
  -.


  1155..22..

   iippxxttuunnnneell

  _i_p_x_t_u_n_n_e_l       :



       # cd /usr/src
       # tar xvfz .../ipxtunnel.tgz
       # cd ipxtunnel
       # make





  1155..33..

   iippxxttuunnnneell

   _i_p_x_t_u_n_n_e_l  . ,    
   gau.somewhere.com     gim.sw.edu.
  _i_p_x_t_u_n_n_e_l    
  /etc/ipxtunnel.conf.      UDP  
      tcp/ip,   
          _i_p_x_t_u_n_n_e_l  
     IPX.


        :



       #
       # /etc/ipxtunnel.conf  gim.sw.edu
       #
       #  UDP  :       (  7666)
       port 7777
       #
       #       IPX: (   )
       remote gau.somewhere.com
       #
       #       IPX: (  eth0)
       interface eth0
       interface eth1





  ,        
      .


  1155..44..

     iippxxttuunnnneell

  _i_p_x_t_u_n_n_e_l    IPX,    IPX   
       . Andreas  
   _i_p_x_t_u_n_n_e_l  ,    
    Novell,        
      Novell,    Andreas 
    .


   _i_p_x_t_u_n_n_e_l         DOOM
         IPX    
   .


  Andreas         
           
  .          .


  1166..

    IIPPXX  LLiinnuuxx..

  1166..11..

  CCaallddeerraa''aa NNeettwwoorrkk DDeesskkttoopp

  Caldera Inc.,   Linux,   
    ,  
    Novell NetWare.    
    Red Hat Linux  Caldera    
   "Network Desktop".  NetWare 
    Novell NetWare,   ,
    Novell Corporation.   
        Novell 3.x  4.x  
     NetWare Directory Service (NDS)  RSA
  .


          
   : Web    Caldera Inc <http://www.caldera.com/>.


       Netware 4.x / NDS,  
   Caldera   .


         
  Novell  Linux,   Caldera       
   .


  1177..

      ((FFAAQQ))


           
         IPX  Linux?"  Caldera Corporation 
             
        Netware 3.x  4.x.       
        Web- Caldera Inc <http://www.caldera.com/>.


         IIPPXX  AArrccnneett//TTookkeenn
        Ring/ ..?"    Linux   IPX
           ArcNet Token Ring.     
        -    AX.25.    
          ethernet   ,   
              'eth0' 
          .


            IIPPXX??
              ,   
          _i_p_x___i_n_t_e_r_f_a_c_e    
        ,     `plug n play' .


          IIPPXX??
          IPX ,   ,    IP.
             . IPX 
                
                 .
          :



          IPX     
         (WAN).     . 
          IPX     
          ,    .

              
         .      ethernet  
        ,       .  
        IPX/PPP  ,    ,   
              ,    
            .    
             ,  
               
         .


        ,,    
        ?"       
            IPX.      
         ' '   ( `
        ').


               ,  
           ,   ,  
                , 
             ,   
               
         IPX.      
                IP  IPX, 
           Ethernet_II.


        WWiinnddoowwss9955     
        ?"   ,   .     
         ,        
              
        .     .


         ``iinnvvaalliidd aarrgguummeenntt''  
         IPX?"        
        IPX,   ,     
          lilo     
        .


         ``ppaacckkaaggee nnoott iinnssttaalllleedd''  
         IPX?"      , 
         IPX,   ,  
             lilo   
          .


         ``IIPPXX ssuuppppoorrtt nnoott iinn kkeerrnneell'' 
        _p_p_p_d?"     IPX    
              _p_p_p_d.


          NNFFSS  
         NCP ?"    NFS   
         NCP       -V 
        _n_c_p_m_o_u_n_t.        
              . 
             NFS    
           .


        sslliisstt,,    
           mars_nwe?"      'get
        nearest server'.    401   /etc/nwserv.conf
           0,         
           'get nearest servers'.    
          slist       'get
        nearest server',        
          /etc/nwserv.stations     
        /etc/nwserv.conf?   2.


        nnccppffss  mmaarrss__nnwwee??
         Martin'  Volker'   . 
         _m_a_r_s___n_w_e       _n_c_p_f_s. 
           WITH_NAME_SPACE_CALLS   config.h
         _m_a_r_s___n_w_e.


       --    
        DOS    mars_nwe?"     
        .     ,  Martin    
             _m_a_r_s___n_w_e, 
            DOS  
        _m_a_r_s___n_w_e.           
        ,     mars_dosutils-0.01.tgz. 
            C     _s_l_i_s_t_._e_x_e,
        _l_o_g_i_n_._e_x_e, _m_a_p_._e_x_e  ..     
          Borland(tm) C.



  1188..

     

  IPX-HOWTO      
   IPX  Linux.   Terry Dawson, 1995.


     ;    /
         GNU General
  Public License  Free Software Foundation;  
  ,  (  )    .


      ,    , 
    ;      
       .  GNU General Public
  License    .


      GNU General Public License  
   ;  ,  : Free Software Foundation, Inc.,
  675 Mass Ave, Cambridge, MA 02139, USA.


  1199..

    

  Terry Dawson <terry@perf.no.itg.telstra.com.au>  
  .


  David E. Storey <dave@tamos.gmu.edu>  Volker Lendecke
  <lendecke@namu01.gwdg.de>      
     . Gilbert Callaghan
  <gilbert@pokey.inviso.com>, David Higgins <dave@infra.com>  Chad
  Robinson <chadr@brtgate.brttech.com>   
    IPX/PPP. Bennie Venter <bjv@Gil-galad.paradigm-sa.com>
        
  . Christopher Wall <vergil@idir.net  
        
  . Axel Boldt <boldt@math.ucsb.edu>  
     . Erik D. Olson <eriko@wrq.com>
          PPP
   IPX. Brian King <root@brian.library.dal.ca>  
       (FAQ).


  "NetWare" --    Novell
  Corporation <http://www.novell.com/>. "Caldera" -- 
    Caldera Corporation <http://www.caldera.com/>.


    Kevin Thorpe.

  <kevin@pricetrak.com>

















































