   Linux IPX-HOWTO
  Terry Dawson, terry@perf.no.itg.telstra.com.au
  v2.2, 29  1997

            , 
          
    Linux     
  IPX  Linux .
  ______________________________________________________________________

  Table of Contents























































  1. 

     1.1     .
     1.2 

  2.  .

  3.  .

     3.1     
     3.2 /.
     3.3    /.

  4.          .

  5.     IPX    

  6.  IPX   Greg Pages.

     6.1 T  IPX   .

  7.    Linux    IPX  (router).

     7.1      ;

  8.   Linux    NCP  (client).

     8.1  
     8.2  
     8.3   
     8.4    

  9.   Linux     NCP .

     9.1 T 
        9.1.1  
        9.1.2  
        9.1.3    
     9.2  
        9.2.1  
        9.2.2  
        9.2.3  
        9.2.4     

  10.   Linux    Novell Print Client.

  11.   Linux     Novell  .

     11.1 
     11.2 

  12.   

     12.1  .
     12.2  .

  13.   PPP    IPX .

     13.1    IPX/PPP .
        13.1.1   .
        13.1.2 .
        13.1.3  
        13.1.4     .
     13.2    IPX/PPP client.
        13.2.1   
        13.2.2  T  IPX/PPP .
  14. IPX tunnel  IP

     14.1  
     14.2  
     14.3   
     14.4    

  15.   IPX  Linux.

     15.1  Network Desktop  Caldera

  16.    

  17.  .

  18.   .



  ______________________________________________________________________

  [1m1.  [0m

      Linux IPX-HOWTO.     
  Linux NET-3-HOWTO      .



  [1m1.1.      .[0m



  :
                Frame Type.

  /:
         x    IPX    /etc/ppp/options
             .
         ,    .




  [1m1.2.  [0m

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

     Linux     IPX . 
       IPX/RIP, SAP  NCP, 
          
     .

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






  [1m2.   .[0m

              Linux 
  .          
     .       README 
        
          
  .          
      . O    
        .


              
        .    
  ,           
      ,     .
           
    IPX        
          
  (routers)    (fileservers),    
      . ,   
          
        .


  [1m3.   .[0m

           
  Linux        
           
  [4mifconfig[24m  [4mroute[24m.  A ,     NET-3-HOWTO
  <NET-3-HOWTO.html>       ,   
   .


    Linux HOWTO        :


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


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



  [1m3.1.      [0m


             
  ,        . 
      Linux     
    ,      
    .       
      anonymous ftp  :

  [1msunsite.unc.edu[0m


       /pub/Linux/docs/HOWTO/IPX-HOWTO




  :


       /pub/Linux/docs/HOWTO/other-formats/IPX-HOWTO{-html.tar,ps,dvi}.gz





   World Wide Web   Linux Documentation Project Web Server
  <http://sunsite.unc.edu/LDP/linux.html>,  : IPX-HOWTO
  <http://sunsite.unc.edu/LDP/HOWTO/IPX-HOWTO.html>   
  , <terry@perf.no.itg.telstra.com.au>.   
    newsgroups: comp.os.linux.networking,
  comp.os.linux.answers  news.answers .


  [1m3.2.  /.[0m


   , , ,    
     HOWTO,  email    :
  voulariba@hellug.gr     : evris@hellug.gr 
   : ep@rocketmail.com

      , , ,
  <terry@perf.no.itg.telstra.com.au>.      
  ,            
  .     ,   
   email,       newsgroups.


  [1m3.3.     /.[0m


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


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


  [1m4.           .[0m

       client  server   
    .        
         ,   
    :



     [1m (client)[0m
                   
               .

     [1m (server)[0m
                
               
          .


         ,    
            ,
    [4mSLIP[24m   [4mPPP[24m      (clients) 
   (servers).

         :


     [1mBindery[0m
         [4mbindery[24m      
               
        Novell .   Netware     [4mbindery[24m 
             , 
          .


     [1mFrame Type[0m
                
               
        IPX ( IP) datagrams     Ethernet.
        Y  .  :




        [1mEthernet-II[0m
                  
           ethernet DIX.   Novell     
                   IPX 
            IP       
           Ethernet-I.     
           Novell      .

        [1m802.3[0m
                ....   
                
             (Carrier Sense Multiple Access 
           Collision Detection (CSMA/CD)).    
           Ethernet DIX,    ,   
                  
             (length field).  '     IPX
                 .  IEEE 802.3
               [1m [22m IEEE 802.2 
                  
             IPX    .   
                  
                  .

        [1m802.2[0m
              I.E.E.E.      
               (Logical Link Control).
                
           ,        .
            vell    Service Address Point
           (  )     
           ,      .


        [1mSNAP[0m
            SNAP      . A
                802.3  802.2.  
                802.2 
                 
            Ethernet  Ethernet-II.


     [1mIPX[0m
        To Internet Packet echange (IPX)    
           vell    
              netware (tm).  To IPX 
              P  
              tcp/ip.


     [1m  IPX[0m
               
         PX .      
           .      
        :0x23a91002.


     [1m  IPX[0m
            PX .    
            .   
              
          IPX .    
            IPX      
         PX    .   
                 PX
        .


     [1mRIP[0m
        To    (Routing nformation
        Protocol)       
               IPX. 
             RIP    
         tcp/ip.


     [1mNCP[0m
        To   Netware (Netware Core Protocol)  
           ,   
         vell    etware(tm).  NCP  
            FS     
        tcp/ip.

     [1mSAP[0m
        To    (Service Advertisement
        Protocol)       
        Novell,       
           etware (tm).

      [1m  (Hardware address)[0m
        A        
          ,      .
             : [4m[24m [4mEthernet[0m
        [4m(Ethernet[24m [4mAddresses)[24m   Ethernet  
               
           "  " .. 00:60:8C:C3:3C:0F


     [1m -  (route)[0m
        T [4mroute[24m          
              .


  [1m5.      IPX     /proc .[0m

         IPX  Linux 
      /proc.    :

     [1m/proc/net/ipx_interface[0m
                IPX interfaces
             .    
                 
         .


     [1m/proc/net/ipx_route[0m
                 
         IPX  .     
                 IPX
         .


     [1m/proc/net/ipx[0m
               IPX  (sockets) 
                .



  [1m6.   IPX   Greg Pages.[0m

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

        Linux    
       IPX.   IPX
          
  ,      .

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


  [1m6.1.  T  IPX   .[0m


     [1mipx_interface[0m
              ,  
             PX    
         .  ,      
         Ethernet  eth0.    IPX interface
             [4mprimary[24m interface   [4m-p[0m
        flag       .  ..  
           Ethernet eth0   IPX 
          IPX interface   IEEE 802.2 frame type
            PX 39ab02222    :



          # ipx_interface add -p eth0 802.2 0x39ab0222




              
            tcp/ip,    
          eth0 interface
       :


     # ifconfig eth0 up






     [1mipx_configure[0m
                
           interface     
        interface.


        --auto_interface
                    
                IPX   .


        --auto_primary
                 IPX    
               interface  .

                 
          interface      
        interface    :



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





     [1mipx_internal_net[0m
                  
          .     
        ,         
        interface.       PX 
        ab000000    IPX 1   :


          # ipx_internal_net add 0xab000000 1





     [1mipx_route[0m
                
         IPX .  ,    
          IPX  39ab0222     
         00608CC33C0F   IPX  39ab0108:


          # ipx_route add 0x39ab0222 0x39ab0108 0x00608CC33C0F





  [1m7.    Linux    IPX  (router).[0m

       IPX  (segments)    
         .
    Novell       
    .       
     Novell RIP   
    (service advertisement information) 
   x  Novell SAP.   
            
     .



   Linux          
         Novell.

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


   Volker Lendecke <lendecke@namu01.gwdg.de>    
        .


     [4mipxripd[24m :

  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      
    .  T       
  :

  1.       IPX, Ethernet  /proc .

  2. ,     [4mipxd[24m .

  3.            
      Ethernet       hardware
      (conflicts).

  4.    IPX      interfaces
        [4mipx_interface[24m   .

  5.   [4mipxd[24m .

       :














   IPX : 0x01000000  802.2
  |----------------------------|
                |
                \_________________________
                                          \       Linux 
   IPX : 0x02000000  802.2            \
  |----------------------------|            \   eth0/-----------\
                |                            \--====|           |
                \_________________________          | IPX route |
                                          \     eth1|  Table    |
   IIPX : 0x03000000  etherII         \----====|    ^      |
  |-------------------------------|                 |    |      |
                |                               eth2|  IPXd     |
                \______________________________/====|           |
                                                    |  SAPd     |
   IPX : 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        
         .



  [1m7.1.       ;[0m

   vell       , 
           
   host       .  
          
           
            
   .


            
        IPX,   
      .      
  IPX/PPP  ''     
  .

        ,    
     .  1/4    make config 
      y   Full internal IPX
  network,   :




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




       interface  , 
    [4mipx_internal_net[24m     
    IPX.         
     IPX        
       .


  [1m8.    Linux    NCP  (client).[0m

          
    , IP  IPX,       
    Linux      
    Novell   .  Novell   
   NFS server    ,    ,
       site       
       ,    
      .



   Volker Lendecke <lendecke@namu01.gwdg.de>    Linux
  module         Novell
  NCP        Novell  
    Linux        
    .   Volker o   [4mncpfs[24m  
        
  "Netzwerkprogrammierung in C"  Manfred Hill  Ralf Zessin
  (       README
     [4mncpfs[24m).

     o Linux      
   Novell   .    
           
  Novell (A     " ").
     [4mncpfs[24m      Novell  
  3.x  ,      Novell 2.x. T [4mncpfs[0m
  client          Novell ,
           
    .       [4mncpfs[24m  
   Novell 4.x ,        
    bindery emulation mode,   [4mncpfs[24m  
    NDS.



  [1m8.1.    ncpfs .[0m


     [4mncpfs[24m       
   1.2.13       1.3.71 (
     2.x.x)     
      ,      
    . T Kernel-HOWTO <Kernel-HOWTO.html>  
     .

       [4mncpfs[24m   ftp   home site 
  Volker : ftp.gwdg.de <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/> 
  sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs>  mirror
  site.          :
  ncpfs-2.0.10.tgz



  [1m8.2.    ncpfs     1.2.13.[0m


      [1m     Ethernet  IPX[0m
        .          
               
        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>.

             . 
         [4mlilo[24m      
     .



     [1m Untar   [4m[22mncpfs[0m

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




     [1m  Makefile[0m
             [4mkerneld[24m   
          [4mncpfs[24m module  ,     
             Makefile   : KERNELD. 
                  
        Kernel-HOWTO <Kernel-HOWTO.html>     
          module  .


     [1m make   [4m[22mncpfs[0m
        T     ,   
          :

        # make




     [1m  IPX        .[0m
           [4mmake[24m ,       
           ncpfs/bin.   
        :



          # make install




              
     Volkers.       ELF,   
       `ldconfig -v'      
       shared .



     [1m   module [4m[22mncpfs.o[24m [1m     [0m
        [1m.[0m
            1.2.*     
        ncpfs/bin     ncpfs.o,   [4mmake[24m 
        .     module   [4mncpfs[24m.   
            .  [4mdebian[24m  , 
            /lib/modules/1.2.13/fs  
          ncpfs   /etc/modules    
             .  
          ,        modules
             ,     
         /etc.     modules 
          :


        # insmod ncpfs.o





  [1m8.3.    ncpfs    1.3.71++/2.0.*.[0m

       [4mncpfs[24m     
   1.3.71   ,    2.0.* .

          
  1.3.71   ,     [4mncpfs[24m  
     .      Y o:


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




            
   1.2.*,         
    module  .


  [1m8.4.      ncpfs .[0m


     [1m     IPX[0m
        .         IPX.
                IPX
                 
         ,   :




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




           ,   
             ' IPX (IPX tools)'
          .


     [1m [0m
          PX         
           [4mslist[24m       
           Novell   :

        # slist


        slist     : ncp_connect:
     Invalid argument         IPX. 
            .  
      ,        
       'IPX'  'ncpfs'.     [4mslist[24m  
              
            
     .



     [1m   (volume) Novell(tm).[0m
             IPX  ,  
                
         Novell     Linux .  
        [4mncpmount[24m        
            :


        1. T    

        2. T   login   .   
           password     .

        3. T   ,      
           .        
           .

            [4mncpumount[24m   
          NCP  . T NCP  
          (cleanly)   (shutdown) 
          ,       
         [4mncpumoun[24m       
        [4mhalt[24m   [4mshutdown[24m.

               
         ACCT_FS01,   login id guest   , 
           /mnt/Accounts     
        :

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


          -n,     
          login.   login 
        (password) secret   :


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


          -n  -P    .


     [1m      mount[0m
            mount      
         ,    userid  
           login,      
        .         
              ,  .   
        CP   uid  gid  ,    
                
        ,      ,   
          Linux .


     [1m     .[0m
                ncp  
                 [4mrc[24m, 
                .  
                 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  
          ncpmount -S ACCT_FS01 /mnt/Accounts -U guest -n

          #




             NCP  
            $HOME/.nwclient.  
             
       ,    . 
            
              
          .
         :



          # The first entry is the 'preferred server' entry and is
          # used whenever you do no specify a server explicitly.
          #
          # User TERRY login to DOCS_FS01 fileserver with password 'password'
          DOCS_FS01/TERRY password
          #
          # Guest login to the ACCT_FS01 fileserver with no password.
          ACCT_FS01/GUEST -




            
     :


          $ ncpmount /home/terry/docs




        : DOCS_FS01  TERRY  login   
      /home/terry/docs.      
     ,       
       (mount).      :


          $ ncpmount -S ACCT_FS01 /home/terry/docs




       ACCT_FS01     GUEST login .

     [1m: [22m       
     (permissions)  $HOME/.nwclient ,     0600.
           :


          $ chmod 0600 $HOME/.nwclient




          -root    
          [4mncpmount[24m    Set Userid
     Root,         :


          # chmod 4755 ncpmount





     [1m    [4m[22mnsend[0m
        ,        
        Novell,       , 
        [4mnsend[24m    :

        # nsend rod hello there

         "hello there"      
         ,  "rod" (  
         .nwclient.   
                
     [4mncpmount[24m.



  [1m9.    Linux     NCP .[0m

         Linux   
      Novell.     
      Linux      
   Novell NetWare.       
           ,
           Novell.
              
      .



  [1m9.1.  T  mars_nwe .[0m

   Martin Stover <mstover@freeway.de>   [4mmars_nwe[24m  
    linux        
    Netware.

        :  [4mmars_nwe[24m , Martin
  Stovers Netware Emulator.


  [1m9.1.1.    mars_nwe .[0m

  [4mmars_nwe[24m      Novell NCP  
   , bindery     . E
      (bugs),    
  ,        
    .


  [1m9.1.2.    mars_nwe .[0m

      [4mmars_nwe[24m   ftp.gwdg.de
  <ftp://ftp.gwdg.de/pub/linux/misc/ncpfs/>   
  <ftp://sunsite.unc.edu/pub/Linux/system/filesystems pfs/>.

         : mars_nwe-0.98.pl8.tgz.


  [1m9.1.3.     mars_nwe .[0m


     [1m     Ethernet  IPX[0m
            1.2.13.      
            Y  : T IPX
          N  : Full  IPX  
         :









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


             
             .

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

           .    
      [4mlilo[24m        .


     [1m Untar   [4m[22mmars_nwe[24m[1m.[0m


          # cd /usr/src
          # tar xvfz mars_nwe-0.98.pl3.tgz





     [1m make  [4m[22mmars_nwe[24m[1m.[0m
           make     .    
             make,     
         config.h.        config.h
        ,   .      
               
                
        .       
          :


        FILENAME_NW_INI       the location of the initialisation file
        PATHNAME_PROGS        where the executable support programs will be found.
        PATHNAME_BINDERY      where the 'bindery' files will go.
        PATHNAME_PIDFILES     the directory for the 'pid' files to be written.
        MAX_CONNECTIONS       the maximum number of simultaneous connections allowed.
        MAX_NW_VOLS           the maximum number of volumes mars_nwe will support.
        MAX_FILE_HANDLES_CONN the maximum number of open files per connection.
        WITH_NAME_SPACE_CALLS if you want to support ncpfs clients.
        INTERNAL_RIP_SAP      whether you want mars_nwe to provide rip/sap routing.
        SHADOW_PWD            whether you use shadow passwords or not.



               
          .


         :


          # make
          # make install

             
      .  script     
      .  /etc/nwserv.conf.


     [1m  .[0m
            .    
         /etc/nwserv.conf.        
           ,    .  T 
                . 
                
                  
           .      
         '#'     .

         Martin        ,
                  
               .
















































     # VOLUMES (max. 5)
     # Only the SYS volume is compulsory. The directory containing the SYS
     # volume must contain the directories: LOGIN, PUBLIC, SYSTEM, MAIL.
     # The 'i' option ignores case.
     # The 'k' option converts all filenames in NCP requests to lowercase.
     # The 'm' option marks the volume as removable (useful for cdroms etc.)
     # The 'r' option set the volume to read-only.
     # The 'o' option indicates the volume is a single mounted filesystem.
     # The 'P' option allows commands to be used as files.
     # The 'O' option allows use of the OS/2 namespace
     # The 'N' option allows use of the NFS namespace
     # The default is upper case.
     # Syntax:
     #    1 <Volumename> <Volumepath>   <Options>

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

     # SERVER NAME
     # If not set then the linux hostname will be converted to upper case
     # and used. This is optional, the hostname will be used if this is not
     # configured.
     # Syntax:
     #    2 <Servername>

     2   LINUX_FS01

     # INTERNAL NETWORK ADDRESS
     # The Internal IPX Network Address is a feature that simplifies IPX routing
     # for multihomed hosts (hosts that have ports on more than one IPX network).
     # Syntax:
     #    3 <Internal Network Address> [<Node Number>]
     # or:
     #    3 auto
     #
     # If you use 'auto' then your host IP address will be used. NOTE: this may
     # be dangerous, please be sure you pick a number unique to your network.
     # Addresses are 4byte hexadecimal (the leading 0x is required).

     3   0x49a01010  1


     # NETWORK DEVICE(S)
     # This entry configures your IPX network. If you already have your
     # IPX network configured then you do not need this. This is the same as
     # using ipx_configure/ipx_interface before you start the server.
     # Syntax:
     #    4 <IPX Network Number> <device_name> <frametype> [<ticks>]
     #                         Frame types: ethernet_ii, 802.2, 802.3, SNAP

     4  0x39a01010  eth0  802.3  1

     # SAVE IPX ROUTES AFTER SERVER IS DOWNED
     # Syntax:
     #    5 <flag>
     #       0 = don't save routes, 1 = do save routes

     5 0

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

     6 1
     # PASSWORD HANDLING
     # Real Novell DOS clients support a feature which encypts your
     # password when changing it. You can select whether you want your
     # mars server to support this feature or not.
     # Syntax
     #    7 <flag>
     #    <flag> is:
     #        0 to force password encryption. (Clients can't change password)
     #        1 force password encryption, allow unencrypted password change.
     #        7 allow non-encrypted password but no empty passwords.
     #        8 allow non-encrypted password including empty passwords.
     #        9 completely unencrypted passwords (doesn't work with OS/2)

     7 1

     # MINIMAL GID UID rights
     # permissions used for attachments with no login. These permissions
     # will be used for the files in your primary server attachment.
     # Syntax:
     #    10 <gid>
     #    11 <uid>
     #    <gid> <uid> are from /etc/passwd, /etc/groups

     10  200
     11  201

     # SUPERVISOR password
     # May be removed after the server is started once. The server will
     # encrypt this information into the bindery file after it is run.
     # You should avoid using the 'root' user and instead use another
     # account to administer the mars  .
     #
     # This entry is read and encrypted into the server bindery files, so
     # it only needs to exist the first time you start the server to ensure
     # that the password isn't stolen.
     #
     # Syntax:
     #    12 <Supervisor-Login> <Unix username> [<password>]

     12  SUPERVISOR  terry  secret

     # USER ACCOUNTS
     # This associates NetWare logins with unix accounts. Password are
     # optional.
     # Syntax:
          13 <User Login> <Unix Username> [<password>]

     13  MARTIN martin
     13  TERRY  terry

     # LAZY SYSTEM ADMIN CONFIGURATION
     # If you have a large numbers of users and could not be bothered using
     # type 13 individual user mappings, you can automatically map mars_nwe
     # logins to linux user names. BUT, there is currently no means of making
     # use of the linux login password so all users configured this way are
     # will use the single password supplied here. My recommendation is not
     # to do this unless security is absolutely no concern to you.
     # Syntax:
     #    15 <flag> <common-password>
     #    <flag> is: 0  - don't automatically map users.
     #               1  - do automatically map users not configured above.
     #               99 - automatically map every user in this way.

     15  0  duzzenmatta

     # SANITY CHECKING
     # mars_nwe will automatically ensure that certain directories exist if
     # you set this flag.
     # Syntax:
     #    16 <flag>
     #    <flag> is 0 for no, don't, or 1 for yes, do.

     16  0

     # PRINT QUEUES
     # This associates NetWare printers with unix printers. The queue
     # directories must be created manually before printing is attempted.
     # The queue directories are NOT lpd queues.
     # Syntax:
     #    21 <queue_name> <queue_directory> <unix_print_cmd>

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

     # DEBUG FLAGS
     # These are not normally needed, but may be useful if are you debugging
     # a problem.
     # Syntax:
     #    <debug_item> <debug_flag>
     #
     #    100 = IPX KERNEL
     #    101 = NWSERV
     #    102 = NCPSERV
     #    103 = NWCONN
     #    104 = start NWCLIENT
     #    105 = NWBIND
     #    106 = NWROUTED
     #                 0 = disable debug, 1 = enable debug

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

     # RUN NWSERV IN BACKGROUND AND USE LOGFILE
     # Syntax:
     #    200 <flag>
     #        0 = run NWSERV in foreground and don't use logfile
     #        1 = run NWSERV in background and use logfile

     200  1

     # LOGFILE NAME
     # Syntax:
     #    201 <logfile>

     201  /tmp/nw.log

     # APPEND LOG OR OVERWRITE
     # Syntax:
     #    202 <flag>
     #        0 = append to existing logfile
     #        1 = overwrite existing logfile

     202  1

     # SERVER DOWN TIME
     # This item sets the time after a SERVER DOWN is issued that the
     # server really goes down.
     # Syntax:
     #    210 <time>
     #        in seconds. (defaults 10)

     210  10

     # ROUTING BROADCAST INTERVAL
     # The time is seconds between server broadcasts
     # Syntax:
     #    211 <time>
     #        in seconds. (defaults 60)

     211  60

     # ROUTING LOGGING INTERVAL
     # Set how many broadcasts take place before logging of routing
     # information occurs.
     # Syntax:
     #    300  <number>

     300  5

     # ROUTING LOGFILE
     # Set the name of the routing logfile
     # Syntax:
     #    301 <filename>

     301  /tmp/nw.routes

     # ROUTING APPEND/OVERWRITE
     # Set whether you want to append to an existing log file or
     # overwrite it.
     # Syntax:
     #    302 <flag>
     #        <flag> is 0 for append, 1 for create/overwrite

     302  1

     # WATCHDOG TIMING
     # Set the timing for watchdog messages that ensure the network is
     # still alive.
     # Syntax:
     #    310 <value>
     #        <value> =   0 - always send watchdogs
     #                  < 0 - (-ve) for disable watchdogs
     #                  > 0 - send watchdogs when network traffic
     #                        drops below 'n' ticks

     310  7

     # STATION FILE
     # Set the filename for the stations file which determine which
     # machines this   will act as the primary   for.
     # The syntax of this file is described in the 'examples' directory
     # of the source code.
     # Syntax:
     #    400 <filename>

     400  /etc/nwserv.stations

     # GET NEAREST FILESERVER HANDLING
     # Set how SAP Get Nearest Fileserver Requests are handled.
     # Syntax:
     #    401 <flag>
     #        <flag> is: 0 - disable 'Get Nearest Fileserver' requests.
     #                   1 - The 'stations' file lists stations to be excluded.
     #                   2 - The 'stations' file lists stations to be included.

     401  2




      [1m  [0m
        .         
               /   
                
           .    
               interfaces    
             ,  
         :



          # nwserv





     [1m  [0m
        .          
             login   NetWare  
         .       CAPTURE   
            .     
            .


  [1m9.2.    lwared .[0m

   Ales Dryak <A.Dryak@sh.cvut.cz>   [4mlwared[24m  
    Linux     NCP  .

   Ales      [4mlwared[24m,    
  [4mLinWare[24m [4mDaemon[24m.


  [1m9.2.1.    lwared .[0m

     [4mlwared[24m       
    Novell NCP.      
     .      
    Windows95  Windows NT.   [4mlwared[24m  
          
    IPX  SAP.

           
    .       
      .


         NETX  VLM .


  [1m9.2.2.    lwared[0m

  T [4mlwared[24m          
  1.2.0.       1.2.13   
    /    (kernel patch). 
      IPX      
  1.3.*          
   .   (patches)
      ,      
     alpha ,      
     [4mlwared[24m   .

       [4mlwared[24m   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>  mirror
  sites.        :
  lwared-0.95.tar.gz


  [1m9.2.3.    lwared[0m


     [1m Untar   [4m[22mlwared[0m
         :

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




      [1m     Ethernet  IPX[0m
            alpha 1.3.* ,   
              1.3.17 
               .  
         1.3.*      1.3.17  
            . ( [4m[0m
        [4m[24m [4m[24m [4m[24m [4m[24m [4m[24m [4m[24m [4m[24m [4m[0m
        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>.
          .     
     [4mlilo[24m      .


      [1m   [4m[22mlwared[24m[1m.[0m
            [4mlwared[24m       
        ,  ,  server/config.h.   
                
           .     
        ,        
             log  , 
          .

        # 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      
     .

      'make install'       
          /usr/sbin,  
     [4mlwpasswd[24m   /usr/bin,    IPX 
      /sbin  ,     
     /usr/man.          
       ,       Makefile  
           .



  [1m9.2.4.      lwared[0m

      !


     [1m   IPX[0m
                  
        Ethernet interfaces     IPX   
           .        
          IPX        
         (segments)  LAN,   Ethernet (eth0, eth1
        .)    ,     (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



      [1m    (routing daemons)[0m
              IPX  (IPX forwarding) 
           IP,       
             . 
          IPX       
         [4mlwared[24m:  [4mipxripd[24m    
         IPX    [4mipxsapd[24m   SAP .  
             ,   
             log   :

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




     [1m  [4m[22mlwared[24m [1m[0m
        .          
           login   [4mlwared[24m .  
         :



        /etc/lwpasswd
           .        
             LinWare. T  [4mlwpasswd[24m   
             .     ,  
           /etc/lwpasswd   :

           ales:
           terryd:
           guest:


         format       login id 
           ':'     
              (login password). 
            :

        No encrypted password    (password), 
           LinWare       Linux
        (account),       /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
              volume table  Linware  
                   
              LinWare (     
                NFS  /etc/exports).   
             format     :

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


          format  :  Volume   
         (whitespace)    o  Linux  
         export.    [1m [22m   
        volume SYS     .    
        DOS      LinWare   
        ,       
         SYS volume       export 
         SYS volume.       
             Novell,    
          .       Novell file
           ,     
        .


     [1m   [4m[22mlwared[24m[1m.[0m
        !

        # lwared


       ,   ; ,   
     ,   ;      
        ;    , 
      ,      LinWare   
       ,    [4mhostname[24m  Linux.  
         ,      
         ..:

     # lwared -nlinux00


           linux00.


     [1m   [4m[22mlwared[24m [1m.[0m
                  
        LinWare     [4mslist[24m   DOS client  
        .   [4mslist[24m    SYS volume 
        Novell fileserver          
            .   ,   
          [4mipxsapd[24m  [4mlwared[24m.   [4mslist[24m ,  
            attach      map
         volume:

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


               map  
       map. T permissions      
             [4mlinux[24m 
         LinWare login.




  [1m10.    Linux    Novell Print Client.[0m

  T  [4mncpfs[24m       
         Linux  
     Novell   (print server).

    [4mnprint[24m         NetWare
  print queue.   [4mpqlist[24m       
       NetWare .

          , 
         NCP   
  .

         username  password, 
         shell scripts  
       .

    :


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




     login       [4mncpmount[24m. 
       fileserver ACCT_FS01  
   guest   (password),    
    LASER    guest    
  .


  [1m11.    Linux     Novell [0m
  [1m.[0m

       Linux    
        Netware  
   [4mncpfs[24m>.           
   ,       `Netware
  client'.



  [1m11.1.  [0m

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


  [1m11.2.  [0m

        ,   
       [4mpserver[24m ,   
        rc    .

       ,    
     ,        
     :



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

          [4mpserver[24m   login
     ACCT_01    LASER   secret
           LASERJET . 
      ,   
     [4mlpr[24m     
    Linux  .

       o  Linux  
        .   -c 
        .   
  :


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




             
            laserjet
  [4mprintcap[24m    .


  [1m12.     ncpfs     [0m

      [4mncpfs[24m  Volker  
            
  .  T       
      [4mncpfs[24m ,      
  ,         
  Novell Client        .

        [4mman[24m  
         :


  [1m12.1.   .[0m


     [1mncopy[0m
        Network Copy -      
             Netware    
          .

     [1mnprint[0m
        Network Print -       
        Netware     Netware .

     [1mnsend[0m
        Network Send -      
           etware .

     [1mnwbols[0m
        List Bindery Objects -       
        bindery    Netware .

     [1mnwboprops[0m
        List Properties of a Bindery Object -     
          Netware bindery .

     [1mnwbpset[0m
        Set Bindery Property -      
         Netware bindery .

     [1mnwbpvalues[0m
        Print Netware Bindery Objects Property Contents -  
             Netware bindery .

     [1mnwfsinfo[0m
        Fileserver Information -   
           Netware .

     [1mnwpasswd[0m
        Netware Password -       
        netware.

     [1mnwrights[0m
        Netware Rights -      
            .

     [1mnwuserlist[0m
        Userlist -        
             Netware (logged in).

     [1mpqlist[0m
        Print Queue List -     
         Netware.

     [1mslist[0m
        Server List -       
        Netware.


  [1m12.2.   .[0m


     [1mnwbocreate[0m
        Create a Bindery Object -     
        Netware bindery .

     [1mnwborm[0m
        Remove Bindery Object -      Netware
        bindery .

     [1mnwbpadd[0m
        Add Bindery Property -        
           Netware bindery .

     [1mnwbpcreate[0m
        Create Bindery Property -      
            Netware bindery .

     [1mnwbprm[0m
        Remove Bindery Property -      
           Netware bindery .

     [1mnwgrant[0m
        Grant Trustee Rights -     
             Netware fileserver.

     [1mnwrevoke[0m
        Revoke Trustee Rights -     
              Netware 
        .



  [1m13.    PPP    IPX .[0m

      [4mpppd[24m PPP    Linux  
       IPX    
   PPP.     ppp-2.2.0d 
  .   PPP-HOWTO <PPP-HOWTO.html>   
       .    [4mpppd[24m  
       IPX   
   :



       IPX_CHANGE = 1
       USE_MS_DNS = 1




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

  To IPX_CHANGE  ,    IPX  PPP.  
  USE_MS_DNS     Microsoft Windows95   Name
  Lookups.

             
     .


        ,     
        .     
    , '      ,  
   ,   .


  [1m13.1.    IPX/PPP .[0m

             Linux
     IP/PPP .  !  
  .       PPP-HOWTO <PPP-HOWTO.html>
      .  1/4   , 
           
   IPX    .


  [1m13.1.1.   .[0m

             
   Linux   IPX  (router)   
        .     
     [4mipx_route[24m    ppp interface  
  [4mpppd[24m            IP.  
   [4mipxd[24m ,      IPX interface 
     .      dialup hosts 
          .



  [1m13.1.2.  .[0m

     ,        
      PPP  .   
   ,  PPP     IPX    
      IPX.      
           . 
          IPX   
       IPX/PPP.   
    IPX     login id  
  ,            .

         ,   
      (modems).   
      :



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





  [1m13.1.3.    pppd .[0m

     /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




       [4mpppd[24m      
    IPX      ,  
        2  3    
    (remote node)      .
            0x
         ,  
        .

           . 
     dialin modem    (entry)   
    /etc/ppp/options.      
        [4mpppd[24m.


  [1m13.1.4.      .[0m

            (client)
        .   , 
  (logs in)   [4mpppd[24m ,      , 
           (server
  node number)         .
     ,    [4mipxd[24m    
  interface         IPX  
   hosts.





  [1m13.2.    IPX/PPP client.[0m

     ,      Linux   
   IPX           LAN 
       IPX  ' . 
    standalone      IPX/PPP dialin
  server        [4mipxd[24m,     LAN
        LAN   
   IPX/PPP,         [4mipxd[0m
   .         
      .


  [1m13.2.1.    pppd[0m

  H         
        IPX.    
           .

          /etc/ppp/options
  ,  :


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




       [4mpppd[24m     
          . 
      default    servers  
   ,    (entries)   ipx-
  network  ipx-node      .


  [1m13.2.2.  T  IPX/PPP .[0m

            
     .        pppd 
       IPX     
  ppp0     [4mifconfig[24m      
    [4mncpmount[24m.

              
    IPX       
  fileserver.   .       
     ,   .


  [1m14.  IPX tunnel  IP[0m

            Novell Local Area
  Netorks    IP   .   
  multiplayer deathmatch DOOM   DOS       
  ;  Andreas Godzina <ag@agsc.han.de>     
     [4mipxtunnel[24m.


   [4mipxtunnel[24m      (bridge-like
  facility)   IPX   IPX   
     tcp/ip     
      tcp/ip.   IPX  
      ""    tcp/ip  
      IP    .  
    ,       
   IPX        
   [4mipxtunnel[24m  .


  [1m14.1.    ipxtunnel[0m

      [4mipxtunnel[24m   sunsite.unc.edu
  <ftp://sunsite.unc.edu/pub/Linux/system/network/daemons>   
  mirror site.


  [1m14.2.    ipxtunnel[0m

      [4mipxtunnel[24m   
  :



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





  [1m14.3.    ipxtunnel[0m

     [4mipxtunnel[24m  .      
      gau.somewhere.com      
  gim.sw.edu.  [4mipxtunnel[24m      
  /etc/ipxtunnel.conf.        
  default UDP port      tcp/ip ,  
          
  interfaces  [4mipxtunnel[24m        
     IPX.

          :


       #
       # /etc/ipxtunnel.conf for gim.sw.edu
       #
       # The UDP port to use:                       (default 7666)
       port 7777
       #
       # The remote machine to send IPX packets to: (no default)
       remote gau.somewhere.com
       #
       # The local interfaces to listen for IPX on: (default eth0)
       interface eth0
       interface eth1




            
          remote host.


  [1m14.4.      ipxtunnel[0m



   [4mipxtunnel[24m  [1m [22m  IPX,    
  IPX          . 
         [4mipxtunnel[24m    
   Novell file servers,      
          .

    [4mipxtunnel[24m ,     DOOM 
          IPX mode    
      .

           ,
            
       . ,   
       .



  [1m15.    IPX  Linux.[0m




  [1m15.1.   Network Desktop  Caldera[0m


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

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

      Netware 4.x  /  NDS   Caldera
  Netware Client     .

           Novell  
  Linux     Caldera        
   .



  [1m16.    [0m


     [1m      IPX  Linux;[0m
          Caldera     Netware 3.x
          4.x client    .   
             Caldera Inc Web Server
        <http://www.caldera.com/>.


     [1m  IPX   Arcnet/Token Ring/.;[0m
           IPX  Linux   ArcNet  Token
        Ring interfaces.        
           AX.25.        
        ethernet         
            'etho'    
        hardware   .
      [1m     IPX interface;[0m
             interface    
            [4mipx_interface[24m   
          ,      
        `plug n play'.


      [1m  IPX ;[0m
         IPX networking  ,      IP
        networking.         
          .  PX   
          subnetworking       
                 
        .     :

         PX       
              
        .     IPX   
               
            .

          host       
        .     host   IPX  
             .   
         ethernet        
         .     IPX/PPP   
               
           hosts  ,     
          .    host  
                 
               
          host      host.



     [1m   frame types,   ;[0m
            frame types     
           IPX.     
           ' '    (
          `Frame Type entry').

                  
                 
                hosts 
        ,        
               
            IPX traffic.      
                 
        IPX  IP traffic     yEthernet_II frame
        type.


     [1m Windows95      [0m
        [1m frame type;[0m
        ,     .    
         ,   '     
            frame type    
        .     .


     [1m     'invalid argument'    IPX;[0m
                  
         IPX,          
        ,       
         lilo         .

     [1m     'package not installed',  [0m
        [1m IPX;[0m
                  
         IPX,          
        ,       
         lilo         .


     [1m     'IPX support not in kernel'  [0m
        [4mpppd[24m[1m;[0m
            IPX    module  
               [4mpppd[24m.


     [1m  NFS export  mounted NCP filesystem;[0m
            NFS    export  NCP 
               
        [4mncpmount[24m -V.        
         volume      
         .     ,  NFS   
           export      
         .



     [1m    slist      [0m
        [1mmars_nwe;[0m
              . 
           entry 401   /etc/nwserv.conf,  
         0            
           servers.      
        slist           
           ,    
               /etc/nwserv.stations 
          entry 401   /etc/nwserv.conf  2.


      [1m  ncpfs    mars_nwe ;[0m
           Martin   Volker     .
           [4mmars_nwe[24m     
              [4mncpfs[24m.  
          WITH_NAME_SPACE_CALLS  [4mmars_nwe[24m  
        config.h>.


      [1m     DOS     [0m
        [1mmars_nwe;[0m
              . 
         ,  artin      
            [4mmars_nwe[24m    DOS client
           [4mmars_nwe[24m .     
          sites     ,   
        mars_dosutils-0.01.tgz.  C   
           [4mslist.exe[24m, [4mlogin.exe[24m, [4mmap.exe[24m .  
             Borland(tm) C.



  [1m17.   .[0m

  T IPX-HOWTO,       IPX  
  Linux.  Copyright (c) 1995 Terry Dawson.     
   .     /   
       General Public License    
  Free Software Foundation.   2   ,  (
   )   .      
       ,    .   
         
   .   GNU General Public  
   .         
  GNU General Public     .   ,  :

  Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
  USA.


  [1m18.    .[0m

   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>        
  frame types.   Christopher Wall <vergil@idir.net   
           
    .   Axel Boldt <boldt@math.ucsb.edu> 
      feedback.   Erik D. Olson
  <eriko@wrq.com>   feedback      
    PPP  IPX.   Brian King <root@brian.library.dal.ca>
        FAQ.

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



   Terry Dawson, VK2KTJ.

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






























