home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / linux.howto.networking.part2 < prev    next >
Encoding:
Internet Message Format  |  1994-04-26  |  27.4 KB

  1. Subject: Linux NET-2 HOWTO (part 2/2)
  2. Newsgroups: comp.os.linux.announce,comp.os.linux.help,comp.os.linux.admin,news.answers,comp.answers
  3. From: terryd@extro.ucc.su.oz.au (Terry Dawson)
  4. Date: Mon, 25 Apr 1994 19:52:41 GMT
  5.  
  6. Archive-name: linux/howto/networking/part2
  7. Last-modified: 15 Apr 94
  8.  
  9.  
  10. ---This is part 2/2---
  11.  
  12.  
  13.     After the user logs in, the login(1) program, if it finds and
  14.     verifies the user ok, will execute the shell program 'dip-i' which
  15.     will execute dip command in input mode (-i). Dip now scans the
  16.     /etc/net/diphosts file for an entry for the given user name.
  17.     Therefore, each slip user must also have an entry in
  18.     /etc/net/diphosts.
  19.  
  20.  
  21. 5.6    /etc/net/diphosts
  22.  
  23.     /etc/net/diphosts is used by dip to lookup preset configurations for
  24.     remote hosts. These remote hosts might be users dialing-into your
  25.     linux machine, or they might be for machines that you dial into
  26.     with your linux machine.
  27.  
  28.     The general format for /etc/net/diphosts is as follows:
  29.  
  30.     Suwalt::145.71.34.1:SLIP uwalt:CSLIP,1006
  31.       ^    ^  ^            ^         ^     ^
  32.       |    |  |            |         |     \___ MTU
  33.       |    |  |            |         \_________ protocol (SLIP, CSLIP,
  34.       |    |  |            |                    KISS, PPP)
  35.       |    |  |            \___________________ comment field ("gecos" :-)
  36.       |    |  \________________________________ IP address of the other
  37.       |    |                                    side, or host.domain.name
  38.       |    \___________________________________ unused (compat. with passwd)
  39.       \________________________________________ login name (as returned by
  40.                                                 getpwuid(getuid()) )
  41.  
  42.  
  43.     An example /etc/net/diphosts entry for a remote slip user might be:
  44.  
  45.         Sfredm::145.71.34.1:SLIP uwalt:SLIP,296
  46.         which specifies a SLIP link with MTU==296, or
  47.  
  48.         Sfredm::145.71.34.1:SLIP uwalt:CSLIP,1006
  49.         which specifies a CSLIP-capable link with MTU of 1006.
  50.  
  51.     When a user logs in, they will receive a normal login, and
  52.     password prompt, at which they should enter their slip-login
  53.     userid and password. If they check out ok, then the user will
  54.     see no special messages, they should just change into slip mode
  55.     at their end, and then they should be able to connect ok, and be
  56.     configured with the paramters from the diphosts file.
  57.  
  58. 5.7    Configuring PLIP interfaces.
  59.  
  60.     PLIP is like SLIP, in that it is used for providing point to point
  61.     IP links between machines, except that it is designed to use the
  62.     Parallel ports on your machine instead of the serial ports. Because
  63.     it is possible to transfer more than one bit at a time with the
  64.     Parallel port, it is possible to attain higher speeds with the
  65.     plip interface than with the serial interface. In addition, even
  66.     the simplest of parallel ports, printer ports, can be used, in
  67.     lieu of you having to purchase conmparatively expensive 16550AFN
  68.     UARTs for your serial ports.
  69.  
  70.     When compiling the kernel, there is only one file that might need
  71.     to be looked at. That file is net/drv/plip/global.h, and it contains
  72.     timers in mS. The defaults are probably going to be fine, unless you
  73.     have an especially slow computer, in which case you might have to
  74.     increase them on the machine at the other end of the link.
  75.  
  76.     A sample configuration for a plip interface might be:
  77.  
  78. #!/bin/sh
  79. # Portion of /etc/rc.d/rc.inet1 for PLIP connection to local machine
  80.  
  81. IPADDR='192.148.64.1'        # Replace with YOUR IP Address
  82. REMADDR='212.194.167.1'        # Replace with the address of YOUR OTHER HOST
  83.  
  84. ifconfig pl0 $IPADDR pointopoint $REMADDR up    # Configure PLIP interface
  85. route add default gw $REMADDR            # Route to other machine.
  86.  
  87. # End
  88.  
  89.     The pointopoint parameter has the same meaning as for SLIP, in 
  90.     that it specifies the address of the machine at the other end of
  91.     the link.
  92.  
  93.     In almost all respects, you can treat a plip interface as though
  94.     it were a slip interface, except that neither 'dip' nor 'slattach'
  95.     can be, or are used.
  96.  
  97. 5.7.1    PLIP Cabling Diagram.
  98.  
  99.     PLIP has been designed to use cables with the same pinout as those
  100.     commonly used by the better known of the dos based pc-pc file transfer
  101.     programs. The pinout diagram (taken from net/drv/plip/README) looks as
  102.     follows:
  103.  
  104.     Pin Name    Connect pin - pin:
  105.     --------------    ----------------------
  106.         GROUND          25 - 25
  107.         D0->ERROR       2 - 15          15 - 2
  108.         D1->SLCT        3 - 13          13 - 3
  109.         D2->PAPOUT      4 - 12          12 - 4
  110.         D3->ACK         5 - 10          10 - 5
  111.         D4->BUSY        6 - 11          11 - 6
  112.         D5              7*
  113.         D6              8*
  114.         D7              9*
  115.         STROBE output   1*
  116.         AUTOFD output   14*
  117.         INIT output     16*
  118.         SLCTIN output   17*
  119.  
  120.         Do not connect the pins marked with an asterisk (`*').  They are
  121.         D5 (pin 7), D6 (pin 8) and D7 (pin 9).  STROBE is pin 1, FEED is
  122.         pin 14.
  123.  
  124.         Extra grounds are on pins 18, 19, 20, 21, 22, 23 and 24.
  125.  
  126.         If the cable you are using has a metallic shield it should be
  127.         connected to the metallic DB-25 shell at one end only.
  128.  
  129. 6.    PPP (Under construction).
  130.  
  131.     There is now some ALPHA PPP software available. For the latest
  132.     information relating to it, join the PPP channel on the niksula.hut.fi
  133.     list server, and keep your eye on comp.os.linux.development.
  134.     Already there have been some encouringly good reports for it.
  135.  
  136.     The PPP software comes in two parts. Some kernel modifications, and
  137.     the ppp daemon. They are available at the following locations:
  138.  
  139.     ftp://ftp.gang.umass.edu/user/michael/linux-ppp-0.1.5.tgz
  140.     ftp://ftp.gang.umass.edu/user/michael/pppd-0.1.4.tgz
  141.  
  142.     Please check that there isn't a later version there, and be
  143.     sure to read any README files or the like that are there as
  144.     well, as they will tell you how to install, where to report
  145.     bugs and the like.
  146.  
  147. 7.    AX.25 (Under construction).
  148.  
  149.     Alan Cox has some experimental AX.25 code available for testing.
  150.  
  151. 8.    Are You Stuck ?
  152.  
  153.     Really ? Then you should read the man pages for ifconfig and route, 
  154.     included in the net-032 package, and understand their functions. These 
  155.     commands have a lot of flexibility, and because everyone's network 
  156.     setup is different, you may find a way to use ifconfig and route to
  157.     get your connection working. If you do, feel free to send me some mail
  158.     so I can include it in the next update of the NET-2 HOWTO. Because of
  159.     my limited amount of experimental data, most of the discussion above
  160.     is about my own setup, and I'd like to generalize it as much as 
  161.     possible.
  162.  
  163.     Matt is currently writing a set of scripts to simplify NET-2
  164.     configuration. You can pick up the pre-alpha release from
  165.     tc.cornell.edu, in the file /pub/mdw/netconf-0.3.tar.z. These scripts
  166.     maintain a small database of network configuration info, and allow you
  167.     to easily modify and configure your network interface. The scripts are
  168.     far from complete: Matt has been waiting until the NET-2 interface
  169.     itself stabilizes a bit more before upgrading it further. 
  170.  
  171.     Another good place to look for help on setting up NET-2 is the 
  172.     O'Reilly and Associated book 'TCP/IP Network Administration',
  173.     the one with the crab on the cover. Keep in mind that NET-2 is now
  174.     a "standard" implementation of TCP/IP, this means that ifconfig
  175.     and route work the same under Linux as they do on other UNIX systems.
  176.     Keep also in mind that some of the arguments and options may differ
  177.     slightly from those in the book.
  178.  
  179.     You might also search out the following documents which are an
  180.     excellent source of tutorial information on tcp/ip:
  181.  
  182.     athos.rutgers.edu:/runet
  183.     -rw-r--r--  1 0        0          176218 Oct 20  1989 tcp-ip-admin.doc
  184.     -rw-r--r--  1 0        0          214199 Oct 20  1989 tcp-ip-admin.ps
  185.     -rw-r--r--  1 0        0           92106 Oct 20  1989 tcp-ip-intro.doc
  186.     -rw-r--r--  1 0        0          111478 Oct 20  1989 tcp-ip-intro.ps
  187.  
  188.     Also keep in mind that NET-2 _is_ developing very rapidly, it's
  189.     one of the newest additions to the Linux kernel. Thus, all of the
  190.     bugs haven't been worked out yet, so there may be some problems.
  191.     However, a good rule of thumb is that if you were able to get TCP/IP
  192.     working under kernels before 0.99.pl10, you should be able to get it
  193.     working under NET-2 as well. There are still some issues dealing with
  194.     performance to be fixed, but overall the system works. And, as with
  195.     everything in Linux development, time will cure what ails NET-2. 
  196.     If it's absolutely unusable to you, go back to an earlier kernel 
  197.     version, and wait until things develop further. The code is still
  198.     fairly new.
  199.  
  200. 9.    Common Problems and Solutions.
  201.  
  202.     Now that the NET-2 HOWTO has been out for a while, I've been
  203.     able to gather some common problems (and answers!). Here are
  204.     some things which I have learned from hearing from readers.
  205.     If you run into a problem which should be included here,
  206.     please send it along (even if you have the solution!).
  207.  
  208.     QUESTION: How do I know what version of NET software I am running?
  209.  
  210.     ANSWER: In the kernel messages when you boot your machine, you should
  211.     see a line that describes your networking code. For example, mine
  212.     looks like:
  213.  
  214.     Linux version 0.99.14l+NET-2EB4 (root@albert.vk2ktj.ampr.org.)
  215.  
  216.     This line, not terribly obviously, tells you that I am running
  217.     NET-2E, Beta 4.
  218.     
  219.     QUESTION: When I try to use the network, or use SLIP, I get the
  220.               error message "Network not reachable". What should I do?
  221.  
  222.  
  223.     ANSWER: This message means that a machine somewhere in the path did
  224.     not have a route to the destination network. Until you can demonstrate
  225.     otherwise, it is the courteous thing to do, assume it is your
  226.     machine. This is usually an indication that either your ifconfig or    
  227.     route commands are in some way wrong. You can look at the status of
  228.     your ifconfig by using the command "ifconfig" by itself. This should
  229.     tell you what NET-2 thinks your IP address, netmask, etc. are.
  230.     You can use the command "route" by itself to get routing information.
  231.     This will tell you what routes you have set up and what gateways
  232.     (if any).
  233.  
  234.     The best way to test a SLIP or network connection is to use "ping"
  235.     with IP addresses only. If you use hostnames, as in "ping loomer",
  236.     if some part of name lookup isn't working you'll have trouble.
  237.     To test just the network, NOT name lookup, use only IP addresses,
  238.     as in "ping 128.253.154.32".
  239.  
  240.     For SLIP connections the best thing to do is to ping your
  241.     SLIP server. If nothing comes back, then something is wrong with your
  242.     slip port configuration, double check all of the steps detailed above.
  243.     Try using "dip -v" which will print debugging information while DIP
  244.     is dialing the server.
  245.  
  246.     If you get a response from your slip server, but not from anywhere else,
  247.     then you are probably missing your default route, you may need to use
  248.     the commands:
  249.  
  250.         # route del <your slip server address>
  251.         # route add default gw <your slip server address>
  252.  
  253.     to get SLIP talking to the server. Once you can talk to the
  254.     server, everything SHOULD work (if your server is set up correctly!).
  255.  
  256.     For Ethernet connections, try pinging your gateway. If you can talk
  257.     to your gateway, you should be able to talk to the outside world.
  258.     You may need more than one route (that is, more than one gateway).
  259.     For example, some universities use one gateway for on-campus
  260.     networks and another for off-campus networks. 
  261.  
  262.     Either way, try pinging addresses on your local network, and remote
  263.     addresses. If you can ping all addresses ok remote to your network,
  264.     and some on your local network, but not others on your local network,
  265.     then check your netmask setting.
  266.  
  267.     If the "network not reachable" message means that you can't
  268.     talk to your gateway. This can be due to several things:
  269.  
  270.         a) Wrong route or ifconfig commands
  271.         b) Ethernet card problems (see below)
  272.         c) You didn't compile the kernel correctly (see below).
  273.         d) There is in fact some sort of network failure elsewhere.
  274.  
  275.  
  276.     QUESTION: I keep getting the error "eth0: transmit timed out".
  277.               What does this mean?
  278.  
  279.     ANSWER: This usually means that your Ethernet cable is unplugged,
  280.     or that the setup parameters for your card (I/O address, IRQ, etc.)
  281.     are not set correctly. Check the messages at boot time and make
  282.     sure that your card is recognized with the correct Ethernet address.
  283.     If it is, check that there is no conflict with any other hardware
  284.     in your machine, eg you might have a soundblaster sharing the same
  285.     IRQ or i/o control port.
  286.  
  287.     QUESTION: I get errors "check Ethernet cable" when using the network.
  288.  
  289.     ANSWER: You probably have your Ethernet card configured incorrectly.
  290.     For Etherlink cards, in the file /usr/src/linux/driver/net/CONFIG,
  291.     change the line
  292.         EL_OPTS     = -UEL2_AUI
  293.     to
  294.         EL_OPTS        = -DEL2_AUI
  295.  
  296.     This tells the card to use the AUI cable interface. 
  297.     Just make sure that all of the options for your card are set
  298.     correctly in the CONFIG file, and rebuild your kernel.
  299.  
  300.  
  301.     QUESTION: When I use NET-2, I get a "General protection" error
  302.               or a panic from the kernel. How can I fix this?
  303.  
  304.     ANSWER: Remember that the NET-2 code is still on the buggy side, 
  305.     just because it's in mid-development. If you get a kernel panic
  306.     while using NET-2, write down the EIP address (and the other
  307.     information given in the panic message). The EIP is the address
  308.     where the kernel paniced, usually of the form 0008:xxxxxxxx
  309.     where "0008" is the segment descriptor for the kernel text, and
  310.     "xxxxxxxx" is the offset into that segment (80386 programmers will
  311.     know what this means).
  312.  
  313.     Use the command 
  314.         nm /usr/src/linux/tools/system | sort -n
  315.     or 
  316.         nm /usr/src/linux/tools/zSystem | sort -n
  317.  
  318.     depending on whether or not you use a compressed kernel (zImage).
  319.     This will print a listing of all symbols in the kernel text, 
  320.     simply scan down the list and look for the function that contains
  321.     the EIP address in the kernel dump. There's the culprit.
  322.  
  323.     However, in some cases the EIP can be misleading; the kernel
  324.     may panic at a place which is complete irrelevant to where the
  325.     actual problem occurred. However, it is a good starting place;
  326.     first, locate the function which contains the EIP address, and
  327.     then check out the kernel code to see what might be wrong.
  328.  
  329.     Keep in mind that this will only work if you compile your own
  330.     kernel and have the "system" file associated with it. 
  331.  
  332.     
  333.     QUESTION: How can I hang up the phone line when I'm done using
  334.               SLIP?
  335.  
  336.     ANSWER: If you use dip to dial out on the SLIP line, just
  337.     "kill -9" the dip process itself (dip won't die unless you kill
  338.     it with SIGKILL or some other signal). When dip dies, the line
  339.     should hang up. DIPs behaviour is being modified so that it will
  340.     be more sociable and die when it is supposed to. If you are using
  341.     the new dip, then 'dip -k' will kill any copy of dip that you
  342.     have running, and hang up the line as well.
  343.  
  344.     If you don't use dip to dial out, either instruct your dialing
  345.     program to hang up the line, or kill the dialing process.
  346.  
  347.  
  348.     QUESTION: dip doesn't work. How do I make it work ?
  349.  
  350.     ANSWER: Check that the file permissions of dip are 6750, that is
  351.     'chmod 6750 dip'. Check also that dip is owned by root:
  352.     'chown root:dip dip'
  353.  
  354.  
  355.     QUESTION: With SLIP, I get a connection open, but no data flows.
  356.  
  357.     ANSWER: This could be a number of things. First, check your routes
  358.     and be sure that the gateway is set correctly. Attempt to ping
  359.     your gateway; if you can't, then something is wrong with the routes.
  360.     
  361.     Another problem could be that your system and the SLIP server 
  362.     disagree about header compression. With 0.99.pl11 and above, 
  363.     SLIP automatically compresses packet headers. To turn off header
  364.     compression, check the SL_COMPRESS option in the CONFIG file.
  365.     In pl14 there will be supplied a 'setencap' command to allow you
  366.     to configure compression.
  367.  
  368.  
  369.     QUESTION: With SLIP, I get a connection, but after sending a small
  370.               amount of data, the connection hangs.
  371.  
  372.     ANSWER: Probably an MTU problem. The MTU is the maximum packet
  373.     size available for the network. For SLIP, your MTU is set in
  374.     your dip dialing script with the "MTU" command. The default value
  375.     is 1500, which means that the system can send packets of up to
  376.     1500 bytes in size. However, some SLIP servers (Berkeley SLIP,
  377.     for example), use a smaller MTU (around 1006).
  378.  
  379.     Another thing to check if you are having erratic SLIP problems is
  380.     flow control. You need to use hardware (RTS/CTS) flow control
  381.     on your modem, and your modem and your computer must agree. XON/XOFF
  382.     flow control is not practical for SLIP.
  383.  
  384. 9.1    Not so common problems and solutions (Mostly NFS).
  385.  
  386.     QUESTION: How do I use my existing Novell fileserver with my
  387.               Linux machine ?
  388.  
  389.     ANSWER: If you have the Novell NFS Daemon code then it is easy, just
  390.     NFS mount the Novell volume that you wish to use. If you don't, and
  391.     you are really desperate to be able to do this, and you have a spare
  392.     pc machine laying about, you are in luck. Here is what you do:
  393.  
  394.     You configure the spare machine as a normal Novell workstation,
  395.     mapping the appropriate Fileserver directories to virtual drives
  396.     as you so desire. You then grab a copy of SOSS (Son Of Stans own
  397.     Server) from your nearest ftp site, and run it on the same workstation.
  398.     SOSS is an NFS server that will happily run on just about any pc.
  399.     This will allow you to NFS export the Novell network drives. It has
  400.     caveats in that it will not perform as well as directly mounting
  401.     the Novell fileserver, that it requires another machine, and that it
  402.     will generate roughly twice as much network traffic, but it will work.
  403.  
  404.         Stan's Own Server (NFS server).
  405.  
  406.             spdcc.com:pub/sos/soss.zoo
  407.             spdcc.com:pub/sos/sossexe.zoo
  408.  
  409.         A version "couple of bugs fixed: IP numbers and subdirectories
  410.         with extensions)" is available from:
  411.             hilbert.wharton.upenn.edu:/pub/tcpip/soss.zip
  412.  
  413.     QUESTION: Files get corrupted when using NFS over wider area networks
  414.               or SLIP, why ? How do I stop it ?
  415.  
  416.     ANSWER: Certain vendors (Sun primarily) shipped many machines running
  417.     NFS without UDP checksums. Great on ethernet, suicide otherwise. UDP
  418.     checksums can be enabled on most file servers. Linux has it enabled by
  419.     default from pl13 onwards - but both ends need to have it enabled...
  420.  
  421.     QUESTION: Why are my NFS files all read only ?
  422.  
  423.     ANSWER: The Linux NFS server defaults to read only. RTFM the 'exports'
  424.     and nfsd manual pages. With non Linux servers you may also need to
  425.     alter /etc/exports 
  426.  
  427.     QUESTION: I mount from a linux nfs server and while ls works I can't
  428.               read or write files. How do I fix this ? 
  429.  
  430.     ANSWER: You must mount a Linux filestore with rsize=1024,wsize=1024
  431.     (or 2048 if you really want - 1024 is a better choice).
  432.  
  433.     QUESTION: I mount from a linux nfs server with a blocksize of between
  434.               3500-4000 and it crashes the Linux box regularly, why ?
  435.  
  436.     ANSWER: This is a known problem that is being worked on, refer to
  437.     previous question. Don't you hate answers like that ? :)
  438.  
  439.     QUESTION: Can Linux do NFS over TCP ?
  440.  
  441.     ANSWER: No. To do this would require someone to spend the time to
  442.     update the rpc code to add rpc stream record marking. It should work
  443.     then.
  444.  
  445.     QUESTION: Why do I get loads of strange errors trying to mount a
  446.               machine from a Linux box. 
  447.  
  448.     ANSWER: This is possibly related to a restriction imposed by older
  449.     NFS servers. Make sure your users are in 8 groups or less.
  450.  
  451.     QUESTION: Why are my Linux NFS clients very slow when writing to Sun
  452.               & BSD systems ?
  453.  
  454.     ANSWER: NFS writes are normally synchronous, meaning that all file-
  455.     -system changes occur in the order they transmitted, this means that
  456.     if before NFS will allow you to write any more data, any previous
  457.     write must have already completed, (you can disable this if you don't
  458.     mind risking losing data). Worse still, BSD derived kernels, this
  459.     includes Sun systems, tend to be unable to work in small blocks. Thus
  460.     when you write 4K of data from a Linux box in the 1K packets it uses,
  461.     BSD does this:
  462.  
  463.         read 4K page
  464.         alter 1K
  465.         write 4K back to physical disk
  466.         read 4K page
  467.         alter 1K
  468.         write 4K page back to physical disk
  469.         etc..
  470.     
  471.     Better systems don't have this problem. The Linux client is however
  472.     quite slow anyway.
  473.  
  474.     QUESTION: I've heard NFS is not secure is this true ?
  475.  
  476.     ANSWER: Yes, totally. Running NFS in an uncontrolled environment is
  477.     rather like leaving your front door open, painting 'On holiday' on
  478.     your house and posting maps to every known criminal...
  479.     In a fairly secure environment or when you can recover data from stupid
  480.     misuse its pretty much OK. The worst someone can easily do is alter all
  481.     the files on an NFS mounted disk, and/or crash the machine. So long as
  482.     you don't mount your system files writable you should be mostly safe.
  483.  
  484.     QUESTION: I occasionally mount from lots of different places, do I have
  485.               to mount them all each time I boot ?
  486.  
  487.     ANSWER: No you can use the automounter to mount disks as you access
  488.             them.
  489.  
  490.     QUESTION: How do I stop things hanging when a server goes down ?
  491.  
  492.     ANSWER: There are three main NFS behaviours:
  493.  
  494.         soft: Your NFS client will report an error to the process
  495.               concerned if an NFS server doesn't answer after a few
  496.               retries. Most software handles this well - but not all.
  497.     
  498.         hard: Your NFS client will try forever unless killed off.
  499.               Operations will be restarted when the NFS server
  500.               recovers or reboots.
  501.     
  502.         hard,intr: As hard but ^C will also stop the NFS retrying. In
  503.               a few cases, notably nfs mounted /usr/spool/mail disks,
  504.               this doesn't help as the shell will be ignoring ^C when
  505.               it checks you have mail.
  506.  
  507.     If you intend to leave your machine unattended, then choosing the
  508.     'soft' option is probably best, because while it might cause some
  509.     problems to an application running, it won't halt your whole machine
  510.     if a server that it is attached to goes down. If your machine will
  511.     always have a human operator available, then the 'hard,intr' option
  512.     might be best. The hard option would be best suited to you if you can
  513.     afford to wait, and don't want the process writing to the server
  514.     interrupted at all.
  515.  
  516.     QUESTION: Can I use two slip interfaces ?
  517.  
  518.     ANSWER: Yes. If you have, for example, three machines which you
  519.     would like to interconnect, then you most certainly could use
  520.     two slip interfaces on one machine and connect each of the other
  521.     machines to it. Simply configure the second interface as you did
  522.     the first. NOTE that the second interface will require a different
  523.     IP address to the first. You may need to play with the routing a
  524.     bit to get it to do what you want, but it should work.
  525.  
  526. 10.    Known bugs.
  527.  
  528.     There are several known bugs with the NET-2 software. Note that these
  529.     may or may not be fixed with a newer version of the NET-2 code;
  530.     therefore, I leave them here. 
  531.     
  532.     The bugs here are for NET-2d, found in kernels 0.99.pl10, pl11, 
  533.     and pl12, and pl13, and pl14. NET-2e (currently in Beta), when
  534.     released, may or may not have fixed these bugs. 
  535.  
  536.     * Bug with route guessing code. If you ifconfig the "lo"
  537.       interface before the "eth0" interface in rc.inet1, whenever you
  538.       add a route, it will be added to "lo" instead of "eth0". 
  539.       (Simply use the "route" command by itself; it will display all
  540.       of your routes. If your "default" route, which should be out
  541.       on the ethernet, is for device "lo" instead of "eth0", then you're
  542.       seeing this bug.) 
  543.       
  544.       This is just a problem with the route guessing code. Several
  545.       things can fix it: 1) ifconfig/route on "eth0" before "lo" in
  546.       rc.inet1; or, 2) Set your netmask to 255.0.0.0 (which is reported
  547.       to work, but I can't guarantee it). This should be fixed in NET-2e.
  548.  
  549.     * Missing IP packet fragmentation. Packet fragmentation allows the
  550.       various protocol layers to "chop up" packets into smaller packets
  551.       if the MTU (maximum tranfer unit) of one network differs from
  552.       another. NET-2e should contain packet fragmentation/defragmentation
  553.       code, but NET-2d currently does not.
  554.       This now only applies to kernel earlier than pl14+, as it is now
  555.       supported.
  556.  
  557.     * Weak NFS support. There have been a number of success stories with
  558.       NFS under Linux, however, not all of the support is there. For
  559.       one thing, the current NFS buffer size is much smaller, and 
  560.       therefore much slower, than other implementations of NFS.
  561.  
  562. 11.    Copyright Message. (We're not ogres, nor are we silly).
  563.  
  564.     The NET-2-HOWTO is copyright by Terry Dawson and Matt Welsh. A verbatim
  565.     copy of this document may be reproduced and distributed in any medium,
  566.     physical or electronic without permission of the authors. Translations
  567.     are similarly permitted without express permission if such translations
  568.     include a notice stating who performed the translation, and that it is
  569.     a translation. Commercial redistribution is allowed and encouraged,
  570.     however, the authors would like to be notified of any such
  571.     distributions. 
  572.  
  573.     Short quotes may be used without prior consent by the authors.
  574.     Derivative works and partial distributions of the NET-2-HOWTO must
  575.     include either a verbatim copy of this file, or make a verbatim copy
  576.     of this file available. If the latter is the case, a pointer to the
  577.     verbatim copy must be stated at a clearly visible place.
  578.  
  579.     In short, we wish to promote dissemination of this information through
  580.     as many channels as possible. However, we wish to retain copyright on
  581.     this HOWTO document, and would like to be notified of any plans to
  582.     redistribute it. Further we desire that ALL information provided in
  583.     this HOWTO be disseminated.
  584.  
  585.     If you have any questions relating to the conditions of this copyright,
  586.     please contact Matt Welsh, the Linux HOWTO coordinator, at:
  587.     mdw@sunsite.unc.edu, or +1 607 256 7372.
  588.  
  589.  
  590. 12.    Miscellaneous.
  591.  
  592.     I'm sure that I've missed something. This NET-2 HOWTO was thrown 
  593.     together with the help of Matt Welsh, and Jeff Uphoff. Other major
  594.     contributors have been Alan Cox, Fred van Kempen, and others just
  595.     like yourself. Hopefully it will help you, and others out there, get
  596.     networking under Linux. 
  597.  
  598.     Future plans for the NET-2 HOWTO include a section on setting up
  599.     your own Linux LAN (with SLIP and/or Ethernet), adventures in
  600.     routing, and the use of netstat and other network administration
  601.     under Linux. For now, the information here should be more than 
  602.     enough. :)
  603.     
  604.     If you have questions about setting up NET-2, feel free to mail me, or 
  605.     if you have any corrections, additions, or errata for this NET-2 HOWTO, 
  606.     send me any and all changes (cdiffs are nice, but I'm flexible). 
  607.  
  608.     Of course, thanks to Fred, Linus, Ross, Phil, Paul, Don, Alan,
  609.     Matt, and everyone else who helped to develop the NET-2 code and work
  610.     on previous versions of TCP/IP for Linux and the NET-FAQ. Finally,
  611.     Linux has a complete implementation of TCP/IP. It may not be for
  612.     everyone yet. But for those who have an itch they want to scratch,
  613.     happy hacking, here it is.
  614.  
  615.     Cheers,
  616.  
  617.     Terry Dawson, (terryd@extro.ucc.su.oz.au)
  618.  
  619. 13.    Change History.
  620.  
  621.     Changes from 1.8:
  622.     correction to broadcast address calculation, thanks Andr'as Salamon
  623.     tcp/ip tutorials added thanks to Gilbert Callaghan
  624.     These annotations at the suggestion of Andy Burgess
  625.     Shadow password section updated - thanks Rick Sladkey
  626.     added Slip Server section - thanks Fred
  627.     added /etc/net/diphosts section - thanks Fred
  628.     enhanced the netmask description a little
  629.     Revamped for 0.99.14
  630.     Added Index
  631.  
  632.     Changes from 1.9:
  633.     Added change history.
  634.     Corrected Archive header now that I understand what it is there for
  635.       Thanks to _everyone_ who helped me understand :)
  636.     Ammended loopback route details - thanks Jeffrey A. Kintscher.
  637.     First attempt at enlarging the configuration section to cope with
  638.       different networks and different distributions thanks
  639.       Eric Christensen.
  640.     Reinstated /dev/arp as a required device. Oops.
  641.     Finally added resolv+(8) man page reference.
  642.     Tried to clean the slip section a bit.
  643.     Added leased line/cable slip link config using slattach.
  644.     Corrected a minor PLIP stoopidity I inflicted that fortunately noone
  645.       appears to have noticed.
  646.     Ammended Slip Server config to run a script in lieu of 'dip -i'
  647.     Fixed numerous tyops and mizpellinks (When will I not ?)
  648.  
  649.  
  650.  
  651.