home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16814 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  45.2 KB

  1. Path: sparky!uunet!mcsun!uknet!gdt!uwe-bristol!csd!p_copela
  2. From: p_copela@csd.uwe.ac.uk (Phil (SysAdmin Parallel Research))
  3. Newsgroups: comp.os.linux
  4. Subject: The EtherNet FAQ - v0.1 (Alpha Test)
  5. Message-ID: <1992Nov16.011245.18336@csd.uwe.ac.uk>
  6. Date: 16 Nov 92 01:12:45 GMT
  7. Sender: usenet@csd.uwe.ac.uk (uwe nntp usenet poster)
  8. Reply-To: p_copela@csd.bristol-poly.ac.uk
  9. Organization: The New University in the West of England, Bristol (WEB)
  10. Lines: 1190
  11. Nntp-Posting-Host: usenet@csd.uwe.ac.uk (uwe nntp usenet poster)
  12.  
  13. Well if I don't post it now I never will. In future this FAQ will
  14. be posted on the net channel roughly every 1-2 weeks
  15.  
  16. =======================
  17. The linux ether-NET FAQ
  18. =======================
  19.  
  20. quick disclaimer: I must appologize for my luck of a spoll checkr
  21.  
  22. i)    Introduction
  23.         ------------
  24.  
  25. Hello and welcome to the wonderful world of linux network
  26. communications.
  27.  
  28. Networking has always been one of the most exciting things
  29. that you can coax a computer to take advantage of. It allows
  30. you to store/retrieve files from remote machines (some of which
  31. are probably located in countries which you'll never get to visit)
  32.  
  33.     Networking also allows computers to interactively 
  34. communicate with other processes or users on these remote machines
  35. allowing a new social aspect of computing to be approached (mainly
  36. in the form of talk or MUD (multi User Dungeon) sessions.
  37.     
  38.     Networking also has many stumbling blocks for the administrator
  39. to fall over, most notably the initial setting up of a system network
  40. can send the most sane person to eating the proverbial hat through
  41. the hell of trying to coax their machines into networking life.
  42.  
  43.     This FAQ is designed to help you start into networking in a
  44. positive direction by leading you simply to the network configuration
  45. that best suits you, whether you are a single machine with no network
  46. attachment (silly I know) to the multi billion cred networking enviroment
  47. of your country's local stock exchange. Please note that this FAQ does not
  48. follow the 'normal' format of other FAQ's as it's designed to teach you 
  49. networking and it's idiosyncacies
  50.  
  51.  
  52.  
  53. ii)    What you NEED to get started
  54.         ----------------------------
  55.  
  56. To use TCP/IP on local ethernet you will need the following
  57.  
  58.     1)    A linux machine with linux kernel 0.98.4
  59.  
  60.     2)    A WD8003/WD8013 compatible MEMORY MAPPED ethernet card
  61.         but WD8013 is probably the best to use due to its
  62.         electronic reconfiguration rather than jumper settings
  63.         although you'll probably need DOS to set it up
  64.  
  65.         You should note that the kernel will always claim to
  66.         have found a WD8013. If this bothers you, change the printk
  67.         in linux/net/tcp/we.c to reflect your hardware.
  68.  
  69.         *NOTE* no special hardward is needed to communicate with
  70.         yourself
  71.  
  72.         Currently I know of three cards that will work (please tell
  73.         me if there are more) support for the ne2000 is being
  74.         worked on but little has been heard of it's progress
  75.  
  76.         These are the WD8013, WD8003, and the SMC Elite 16.
  77.  
  78.     3)    If you are only going to use 'loopback' mode, you probably
  79.         won't need a card either! A special loopback device is used
  80.         to comunicate with yourself
  81.  
  82.     4)    some tcp/ip software eg telnet/ftp/talk/finger/rcp/
  83.         rsh/various other stuff like daemons etc...
  84.  
  85.     5)    Know the IRQ's of your internal cards.
  86.  
  87.     6)    A lot of coffee and one of those stress relieving
  88.         gadgets you can get in the local market.
  89.  
  90.  
  91.  
  92.  
  93. iii)    Where to start
  94.     --------------
  95.  
  96. First off you'll need to rebuild the kernel with networking compiled
  97. into the linux kernel. You do this by removing the '#'s in
  98. linux/net/Makefile on lines 13,14 and 26 if they haven't already been
  99. removed. Next you'll need to calibrate  your network card. Decide what
  100. IRQ setting you'll need for the network card.
  101.     Anyway for those who are frexible, the standard kernel parameters
  102. for this are :-
  103.  
  104.     INT        =    5
  105.     mem        =    D0000
  106.     i/o addr    =    280
  107.     memory start    =    D0000
  108.     memory end    =    D2000    (8K block for 8003, make it D4000
  109.                      16k for the wd8013 )
  110.  
  111. but these can be changed on lines 12-17 (16,17 being the most important)
  112. of the file linux/net/tcp/Space.c
  113.  
  114. *NOTE* if you have problems with the memory start addr, please get in touch 
  115. with bir7@EDU.Stanford.leland
  116.  
  117.     Future versions of the TCP/IP code will be setable at boot time via
  118. ioctl's. For those of you who do not have the wd8013 card, please refer to 
  119. the ethernet board documentation on the jumper settings you may have to change.
  120.  
  121.     Right, compile the kernel (You may need to do a 'make clean dep Image')
  122. and hopefully on the next reboot with the new kernel it should detect your card
  123. telling you of the ethernet number it is, and also that a new family of
  124. sockets  (AF_INET) are available.
  125.     If your card is incorrectly inserted (I know you wouldn't) it could
  126. cause all kinds of errors to be reported.
  127.  
  128.     At this stage you have a kernel which supports tcp/ip via the
  129. ethernet board in your machine but knows nothing of networking, that is
  130. where the software in the tcpip suites becomes important as it is this
  131. software that understands networking protocols.
  132.  
  133.  
  134.  
  135. iv)    The tcpip-0.8.0/tcpip-0.8.1 suites (the history/differances)
  136.     ------------------------------------------------------------
  137.  
  138. History of ethernet on linux (by Ross Biro (member of the League for
  139. ------------------------------------------------------------------------
  140. Programming Freedom LPF)) 'cos I am not worthy, I am not worthy, I am...
  141. ------------------------------------------------------------------------
  142.  
  143. In reality, I did almost all the work myself, and all from scratch.  The 
  144. jump from slow ftp to the pace we have now was really just some minor
  145. patches. This is how it really happened, including why I chose to switch
  146. to Linux in the first place.
  147.     Before I came to Stanford, I had already decided Unix was the way
  148. to go and had a 386/20 running Microport (This was just before Microport
  149. went chapter 11.(an American bankrupcy (sp?) law)  Unix.  At stanford I had
  150. the opportunity to connect my machine to the Internet (networks have
  151. always interested me.)  Unfortuneately I couldn't get any sort of networking
  152. code for Microport, so instead I bought Esix.  Esix had some networking
  153. problems, but it was ok.  As of 3.2 rev d it had just learned to talk
  154. to computers off campus.  I spent a lot of time porting networking code
  155. to Esix and ran an anon ftp site for it.
  156.     Then I heard about Linux 0.10.  Since my file system had been
  157. damaged beyond the ability of fsck to do a complete repair (There was a
  158. file in /lost+found with the name " /etc/something"  which I couldn't
  159. get rid of.  This was a file, not a subidirectory or anything.)  I decided
  160. to back up everything, low-level format my drive and make a linux partition.
  161. After repartitioning my hard drive, I discovered my backup tape was 
  162. unreadable.  At that point I made a decision.  Since I was going to 
  163. have to start over I decided to start over with linux.  I installed
  164. version 0.12 and decided to try my hand at kernel hacking.  I wrote a
  165. buggy version of ptrace which Linus fixed and included in the kernel
  166. (Actually first he included it, then he fixed it.)  By this time I was
  167. tired of switching to DOS everytime I wanted to use telnet or ftp, so I
  168. grabbed the 386bsd source (or is it bsd386) and copied the wd8003 driver.
  169. Since It had to be rewritten to work with Linux and I had no clue what
  170. it was doing, I introduced many bugs, but it worked well enough to telnet
  171. and ftp out using ka9q, so I uploaded it to tsx and posted something to
  172. the net.
  173.     After a while I decided I wanted real networking code, and
  174. after my experience with Esix bsd compatible sockets were the way to
  175. go.  About this time Zorst was just completing the port of X and
  176. needed some sort of socket library.  He wrote the Unix domain sockets
  177. leaving hooks to included other types of sockets later.  Which made it
  178. unnecessary for me to worry about the kernel/user interface.  After
  179. serveral hectic months where I moved in with my SO, lost my internect
  180. connection and most of the reason for writting the networking code, I
  181. finally had something that would let me connect to and from a pc
  182. running Clarkson's telnet.  I managed to get minamal versions of ftp
  183. and telnet to compile and released the first alpha version of the
  184. networking code.  (The code was all written from scrach by me with out
  185. looking at the bsd code.)  The things like assuming all ethernet
  186. boards are memory mapped was because mine was and I assumed that was
  187. the cheapest/simplest way.  The ethernet board is not it's own device
  188. because that would have required debugging code that was not
  189. completely necessary.
  190.     The first message I recieved about the code was how it had caused
  191. the loss of someones hard drive (I've forgotten who, but It was one of
  192. the testers who really deserves mentioning.)  After 3 or 4 releases with
  193. some patches posted to the net channel in between, I began to get the
  194. first glimmering of successes from Dirk Hondel (sp?)  who was probably
  195. the most important of the testers.  He provided alot of debugging output
  196. and probably risked his file system more than once.  About this time
  197. Mitch Dsouza(sp?)  began to complain that he couldn't even get the 
  198. patches to compile.  After a lot of working (and atleast another release
  199. or 2)  it worked (sort of) on his machine and many others.  At this
  200. point Bob Harris started fixing the wd8003 driver (which had suffered
  201. from my port from 386bsd).  And Russ Nelson at cymwr software began
  202. to tell me how other cards worked, and some of what was wrong with
  203. my design.  Bob Harris also wrote an icmp echo routine so you could
  204. ping your linux machine. 
  205.      At this point 0.8.0 was released and I descovered the need
  206. for slow start (remeber, I've never been able to test my code on the
  207. internet, I've always had to leave that to others.)  Not too long after that
  208. 0.8.1 was released and my advisor discovered I hadn't gone away for the
  209. summer.  (Fortuneatly I had been thinking about math enough that he wasn't
  210. too upset with my progress.)  0.8.1 was included in the kernel, but none
  211. of the support code (mostly config.c) went with it.  The rest is mostly
  212. just bug fixes and such released with every new version. 
  213.  
  214. (Thank you Ross and a big hand from everybody for his efforts)
  215.  
  216. Now an important hint, the config file from 0.8.0 isn't 'good' so please
  217. recompile the source 'config.c' from the 0.8.1 distribution and you should
  218. find that the protocol not supported message will evapourate.
  219.  
  220. v)    The files that you should have and setup info
  221.     ---------------------------------------------
  222.  
  223. Ok i'll stop blethering and start talking about hard fact files that you
  224. should have and where they are supposed to be.
  225.  
  226. the 0.8.0/0.8.1 suites have reasonable enough documentation to get the
  227. various working parts out into somewhere useful on your system, typically
  228. /usr/etc/inet and /etc
  229.  
  230. having followed the net install shell script you'll probably find that it
  231. asked some questions that you hadn't a clue about,... well ok lets look at
  232. it.
  233.  
  234.  
  235.     Enter Ip Address for (your host) (aaa.bbb.ccc.ddd)
  236.  
  237. here you are being asked what network address you would like to be known
  238. as. Ip address are unique numbers so as to identify you machine from 
  239. another on a multiuser network. Normally if you reside in the Internet you
  240. will have a network address assigned by the NIC or your local network
  241. controller and you really must stick to it there is no room for you to
  242. bugger up the network by using someone elses ip address. If you do not
  243. have a connection to the Internet, you will have less of a problem although
  244. it would still be a good idea to apply for a internet class c/d network
  245. number depending on your setup.
  246.     Ip numbers are typically of the 0-255.0-255.0-255.0-255 range
  247. so valid answers are 243.123.4.23 or 192.35.173.3 etc but 324.234.545.2
  248. is completely wrong.
  249.  
  250.     Enter Net Address for (your hostname) (aaa.bbb.ccc.0)
  251.  
  252. Here you are being asked for your subnetwork address. This requires a
  253. bit of explaination. Subnets are a 'unit' of connectivity which
  254. depict how many possible hosts 'live' on the same piece of cable as you
  255. do (typically this never exceeds 253 on one piece on cable)
  256. a quick way of getting the question right is to type in whatever you 
  257. have for your ip address but make the last number 0 eg if my ip address
  258. was 135.56.33.155, my 'safe' Net address would be 135.56.33.0
  259. 0.0.0.0 means the whole world and is probably what slip people shoul use.
  260.  
  261.     Enter Router Address for (your hostname) (aaa.bbb.ccc.ddd)
  262.  
  263. Wibble! Ok here what is being asked is if you have a gateway machine
  264. through which ip traffic can be passed to the great blue yonder. We 
  265. are sneekily getting the routeing machine to do some hard work for us.
  266. Routers tend to have 2 ethernet boards in them whith differing network
  267. numbers for them so that they can 'bridge' between different numbered
  268. networks, eg you could not talk directly to a ip address of 192.35.173.12
  269. from an ip address of 192.35.175.15 but a machine in the middle with
  270. two ip address 192,35.173.4 and 192.35.175.3 can 'collect' the data from
  271. the xxx.xxx.173.xxx network and transfer it to the xxx.xxx.175.xxx network
  272. All we have to do here is stick in the ip address of the local router
  273. in this case it would be 192.35.173.4 (clear as mud I know but it's as good
  274. as it gets) If you don't have a router,... just stick in 0.0.0.0 meaning
  275. don't route anything.
  276.  
  277.     Enter Domain name for (your host)
  278.  
  279. This isn't too bad, domain names are 'convenient' labels eg uwe.ac.uk
  280. is the domain name that appends to all the machines on site so that a sun
  281. called csd would be known as csd.uwe.ac.uk This is so that you don't have 
  282. to know the full ip number of the host, it's more convient to call out
  283. a semi inteligable name eg 192.35.175.1 = csd.uwe.ac.uk but the 192.35.175
  284. is aliased to uwe.ac.uk (University in the West of England, academic
  285. community, United Kingdom) Again this should be given to you with a 
  286. registered ip address but for now you could put in 'at.linux.net' it can
  287. be changed later.
  288.  
  289.     Name Server for Domain (aaa.bbb.ccc.ddd)
  290.  
  291. If your networked to the local Uni/technical collage your in luck and it
  292. shoul be able to serve you with a name server service, find out from your
  293. local network controller what machine distributes the service. If you are
  294. unlucky enough NOT to have a nameserver, just stick in your own IP address,
  295. you'll just have to run your own nameserver.
  296.  
  297. Ok time for a quick check of what you *SHOULD* have
  298. in /usr/etc/inet
  299.  
  300. config        - This sets up the ethernet ip tables
  301. inetd        - Daemon process that invokes other network daemons
  302. inetd.conf    - Configuration file for inetd about the other daemons
  303. install.net    - The semi automatic script I just talked about
  304. named-xfer    - Used for updating the nameserver records
  305. named.reload    - used to load in the named
  306. named.restart    - user to stop and restart the named process
  307. rc.net        - a network rc file called from /etc/rc.local from /etc/rc!
  308. services    - a file specifying what 'port' numbers certain services are 
  309.           available on
  310. telnetd        - daemon for connecting reqesting external sites to your 
  311.           machine for interactive logins
  312. named        - the nameservice daemon
  313.  
  314. time for some explainations I think,...
  315. config is a general do it all fix your ether board to your local setup
  316. command. It was configured when you ran the install.net script and if you
  317. look at the rc.net file you'll see where it plugged in all the IP stuff that
  318. you fed the script with,... a bit technical but otherwise nothing to worry
  319. too much about provide that your original information was correct. One thing
  320. though, I have found that it is best to edit the rc.net file and 'hard wire'
  321. the ip addresses directly in rather than relying on the grep search from
  322. /etc/hosts but you may disagree (personal preferance) it's the only time that
  323. /etc/hosts is actually used as far as I can tell.
  324.  
  325. *** stop press ***
  326. Ross: That's a bug. It should be used if /usr/etc/inet/resolv.conf is missing
  327. or there is no named running on the machines refered to by resolv.conf.
  328. However,
  329. it is low on my list of priorities, and probably will not be fixed (by me) any
  330. time soon.
  331.  
  332.     'inetd' is a daemon process that wait's for certain events to happen
  333. upon which it will select which process to run eg if no network is happening,
  334. only inetd will be running but if a telnet session is requested by a remote
  335. machine, inetd will start running telnetd for that incoming call to connect
  336. to.
  337.     Of much more intrest is inetd.conf which has information about what
  338. services to run and where to find them
  339. example
  340.  
  341. sevice name    ip/tcp/udp        run as                name
  342. |        |            |                |
  343. |    format    |    wait/nowait    |    program to run          |
  344. |       |       |       |               |       |                       |
  345. |    |    |    |        |    |            |
  346. telnet    stream    tcp    nowait        root    /usr/etc/inet/tenetd    telnetd
  347. talk    dgram    udp    wait        root    /usr/etc/inet/talkd    talkd
  348. echo    dgram    tcp    nowait        root    internal
  349.  
  350. most utilities will tell you what should be included in here should it require
  351. editing for to make them run.
  352.  
  353.     Services is a file which informs the tcp/ip code what port number
  354. a particular program will run on for example if you telnetted to port 7 on
  355. a sun you would be connected to an echo service which would send
  356. back a carbon copy of what you typed in but that service has a specially
  357. allocated port number referenced in the /etc/services file of both machines
  358.  
  359. There is a complete standardized services file in circulation from Ross Biro
  360. and is included here for your sanity
  361.  
  362. Ross: This is the one I made from the relevant rfc.  It has some typos
  363. and such here, but it is probably ok for most use.
  364.  
  365. tcpmux        1/tcp         # TCP Port Service Multiplexer
  366. rje        5/tcp        # remote job entry
  367. echo        7/tcp
  368. echo        7/udp
  369. discard        9/tcp        sink null
  370. discard        9/udp        sink null
  371. systat          11/udp          users
  372. systat        11/tcp        users
  373. daytime         13/udp
  374. daytime        13/tcp
  375. daytime        13/udp
  376. netstat         15/udp
  377. netstat        15/tcp
  378. qotd            17/udp          quote
  379. quote        17/tcp        # quote of the day
  380. chargen        19/tcp        ttytst source
  381. chargen        19/udp        ttytst source
  382. ftp-data    20/tcp
  383. ftp        21/tcp
  384. telnet        23/tcp
  385. smtp        25/tcp        mail #Simple Mail Transfer
  386. nsw-fe        27/tcp        # NSW User System FE [24, RHT]
  387. msg-icp        29/tcp        # MSG ICP [85, RHT]
  388. msg-auth    31/tcp        # msg authentication
  389. dsp        33/tcp        # display support protocol
  390. lp        35/tcp        # any private printer server [JBP]
  391. time            37/udp          timserver
  392. time        37/tcp            timerserver    # time
  393. rlp             39/udp          resource
  394. rlp        39/tcp        # resource location protocl
  395. graphics    41/tcp        # Graphics
  396. name        42/tcp        nameserver
  397. name        42/udp        nameserver
  398. whois           43/udp          nicname
  399. whois        43/tcp        nicname
  400. mpm-flags    44/tcp
  401. mpm        45/tcp
  402. mpm-snd        46/tcp
  403. ni-ftp        47/tcp
  404. log        49/tcp        #login host protocol
  405. la-maint    51/tcp        # imp local address maintenance
  406. nameserver    53/tcp          domain
  407. nameserver    53/udp          domain
  408. isi-gl        55/tcp        # isi graphics language
  409. apts        57/tcp        # private terminal access
  410. apfs        59/tcp        # private file services
  411. ni-mail        61/tcp        # ni mail [5, SK8]
  412. via-ftp        63/tcp        # VIA Systems - ftp
  413. tacacs-ds    65/tcp        # tacacs-database service
  414. bootps          67/udp          bootp
  415. bootps        67/tcp        # bootstrap protocol server
  416. bootpc          68/udp
  417. bootpc        68/tcp        # bootstrap client
  418. tftp            69/udp
  419. tftp        69/tcp        # trivial file transfer
  420. netrjs-1    71/tcp        # remote job service
  421. netrjs-2    72/tcp        # " "
  422. netrjs-3    73/tcp        # ""
  423. netrjs-4    74/tcp        # ""
  424. priv-dial    75/tcp        # private dial out services
  425. rje        77/tcp            netrjs  # any private rje service
  426. finger        79/tcp
  427. hosts2-ns    81/tcp          hosts2    #  hosts2 name server
  428. mit-ml-dev    83/tcp        # MIT ML Device [DPR]
  429. mit-ml-dev    85/tcp        # ditto
  430. link        87/tcp          ttylink    # private terminal link
  431. su-mit-tg    89/tcp        # su/mit telnet gateway
  432. mit-dov        91/tcp        # mit dover spooler
  433. dcp        93/tcp        # device control protocl
  434. supdup        95/tcp        # supdup [27, MRC]
  435. swift-rvf    97/tcp        # swift remote virtual file protocol
  436. tacnews        98/tcp        # tac news
  437. metagram    99/tcp        # metagram relay
  438. newacct        100/tcp        # unauthorized use
  439. hostnames    101/tcp            hostname    # nic host name server
  440. iso-tsap    102/tcp         tsap    # [16, MTR]
  441. x400        103/tcp
  442. x400-snd    104/tcp
  443. csnet-ns    105/tcp        # csnet mailbox name nameserver
  444. rtelnet        107/tcp        # remote telnet service
  445. pop2        109/tcp         pop postoffice    # post office protocol version 2
  446. pop3        110/tcp        # post office protocol version 3
  447. sunrpc          111/udp
  448. sunrpc        111/tcp        # SUN remote procedure call
  449. auth        113/tcp            authentication    # authentication service
  450. sftp        115/tcp        # simple file transfer protocol
  451. uucp-path    117/tcp        # uucp path service
  452. nntp        119/tcp        # network news transfer protocol
  453. erpc            121/udp
  454. erpc        121/tcp        # encore Epedited remote proc. call
  455. ntp             123/udp
  456. ntp        123/tcp        # network time protocol
  457. locus-map    125/tcp        # locus pc-interface net map server
  458. locus-con    127/tcp        # locus PC-interface CONN server
  459. pwdgen        129/tcp        # password generator protocol
  460. cisco-fna    130/tcp        # cisco FNATIVE [WX8]
  461. cisco-tna    131/tcp        # CISCO TNATIVE
  462. cisco-sysmaint    132/tcp        # CISCO sysmaint
  463. statsrv         133/udp
  464. statsrv        133/tcp        # statistics service
  465. ingres-net    134/tcp        # ingres-net
  466. loc-srv        135/tcp        # location services
  467. profile         136/udp
  468. profile        136/tcp        # profile naming service
  469. netbios-ns    137/tcp        # netbios name service [JBP]
  470. netbios-dgm    138/tcp        # netbios datagram service
  471. netbios-ssn    139/tcp        # netbios session service
  472. emfis-data    140/tcp        # emfis Data Service [GB7]
  473. emfis-cntl    141/tcp        # emfis control service
  474. bl-dim        142/tcp        # britton-lee idm
  475. imap2        143/tcp        # interim mail access protocol v2
  476. NeWS        144/tcp         news
  477. uaac        145/tcp        # uaac protocl [DAG4]
  478. iso-tp0        146/tcp            iso-ip0
  479. is0-ip        147/tcp        # [MTR]
  480. cronus        148/tcp        # [135, JXB]
  481. aed-512        149/tcp        # aed 512 emulation service
  482. sql-net        150/tcp
  483. hems        151/tcp
  484. bftp        152/tcp        # background file transfer program
  485. sgmp        153/tcp        # sgmp
  486. netsc-prod    154/tcp        # [SH37]
  487. netsc-dev    155/tcp        #
  488. sqlsrv        156/tcp
  489. knet-cmp    157/tcp        # knet/vm command message protocol
  490. pcmail-srv    158/tcp        # pcmail server
  491. nss-routing    159/tcp
  492. sgmp-traps    160/tcp
  493. snmp            161/udp
  494. snmp        161/tcp
  495. snmp-trap       162/udp
  496. snmptrap    162/tcp
  497. cmip-manage    163/tcp        # cmip/tcp manager
  498. cmip-agent    164/tcp
  499. xns-courier    165/tcp        # Xerox
  500. s-net        166/tcp        # Sirius Systems
  501. namp        167/tcp
  502. rsvd        168/tcp
  503. send        169/tcp
  504. print-srv    170/tcp        # network postscript
  505. multiplex    171/tcp        # network innovations multiplex
  506. cl/1        172/tcp
  507. xyplex-mux    173/tcp
  508. mailq        174/tcp
  509. vmnet        175/tcp
  510. genrad-mux    176/tcp
  511. xdmcp        177/tcp        # X dispaly manager control protocol
  512. nextstep    178/tcp
  513. bgp        179/tcp        # Border Gateway Protocol
  514. ris        180/tcp        # Intergraph
  515. unify        181/tcp
  516. unisys-cam    182/tcp
  517. ocbinder    183/tcp
  518. ocserver    184/tcp
  519. remote-kis    185/tcp
  520. kis        186/tcp        # KIS protocol
  521. aci        187/tcp
  522. mumps        188/tcp
  523. qft        189/tcp        # queued file transport [WXS]
  524. gacp        190/tcp        # gateway access control protocol
  525. prospero    191/tcp
  526. osu-nms        192/tcp        # osu network monitoring protocol
  527. irq        194/tcp        # internat relay chat
  528. dn6-nlm-aud    195/tcp        # DNSIX Network Level Module Audit
  529. dn6-smm-red    196/tcp
  530. dls        197/tcp
  531. dls-mon        198/tcp
  532. at-rtmp         201/udp
  533. at-rmtp        201/tcp        # AppleTalk Routing Maintenance
  534. at-nbp          202/udp
  535. at-nbp        202/tcp        # AppleTalk Name Binding
  536. at-3            203/udp
  537. at-3        203/tcp        # AppleTalk Unused
  538. at-echo         204/udp
  539. at-echo        204/tcp        # appletalk echo
  540. at-5            205/udp
  541. at-5        205/tcp        # appletalk Unused
  542. at-zis          206/udp
  543. at-zis        206/tcp        # zone info.
  544. at-7            207/udp
  545. at-7        207/tcp
  546. at-8            208/udp
  547. at-8        208/tcp
  548. sur-meas    243/tcp        # survey measurment
  549. dsp3270        245/tcp        # display systems protocol
  550. link        245/tcp        # link
  551. biff            512/udp         # used by mail system to notify users
  552. exec        512/tcp
  553. who             513/udp         # maintains data bases showing who's
  554. login        513/tcp
  555. syslog          514/udp
  556. cmd        514/tcp
  557. syslog        514/udp
  558. printer        515/tcp        # spooler
  559. talk        517/udp
  560. ntalk           518/udp
  561. utime           519/udp         unixtime
  562. router          520/udp         #local routing process (on site);
  563. efs        520/tcp        # extended file name server
  564. timed           525/udp         #timeserver
  565. tempo        526/tcp        # newdate
  566. courier        530/tcp            rpc
  567. conference    531/tcp            chat
  568. netnews        532/tcp     readnews
  569. netwall         533/udp         #for emergency broadcasts
  570. uucp        540/tcp     uucpd
  571. klogin        543/tcp
  572. kshell        544/tcp        krcmd
  573. new-rwho        550/udp         new-who
  574. dsf        555/tcp
  575. remotefs    556/tcp        # rfs server
  576. rmonitor        560/udp         rmonitord
  577. monitor         561/udp
  578. chshell        562/tcp        chcmd
  579. meter        570/tcp        demon
  580. meter           571/udp         udemon
  581. pcserver    600/tcp        # sun IPC server
  582. nqs        607/tcp
  583. mdqs        666/tcp
  584. elcsd           704/udp     errlog # copy/server daemon
  585. loadav          750/udp
  586. rfile        750/tcp
  587. pump        751/tcp
  588. qrh        752/tcp
  589. rrh        753/tcp
  590. tell        754/tcp        send
  591. nlogin        758/tcp
  592. con        759/tcp
  593. ns        760/tcp
  594. rxe        761/tcp
  595. quotad        762/tcp
  596. cycleserv    763/tcp
  597. omserv        764/tcp
  598. webster        765/tcp
  599. phonebook    767/tcp        phone
  600. vid             769/udp
  601. vid        769/tcp
  602. cadlock         770/udp
  603. rtip        771/tcp
  604. cycleserv2    772/tcp
  605. notify          773/udp
  606. submit        773/tcp
  607. acmaint_dbd     774/udp
  608. rpasswd        774/tcp
  609. acmaint_transd  775/udp
  610. entomb        775/tcp
  611. wpages          776/udp
  612. wpages        776/tcp
  613. wpgs        780/tcp
  614. mdbs_daemon    800/tcp
  615. device        801/tcp
  616. maitrd        997/tcp
  617. puparp          998/udp
  618. busboy        998/tcp
  619. puprouter       999/udp        applix
  620. garcon        999/tcp
  621. cadlock         1000/udp
  622. blackjack    1025/tcp     #network blackjack
  623.  hermes          1248/udp
  624. bbn-mmc        1347/tcp    #multi-media conferencing
  625. bbn-mmx        1348/tcp    # ""
  626. ingreslock    1524/tcp
  627. orasrv        1525/tcp     oracle
  628. issd            1600/tcp
  629. nkd             1650/tcp
  630. dc              2001/tcp
  631. wizard          2001/udp       curry
  632. globe           2002/udp
  633. emce            2004/udp       CCWS mm conf
  634. mailbox         2004/tcp
  635. berknet         2005/tcp
  636. oracle          2005/udp
  637. invokator       2006/tcp
  638. raid-cc         2006/udp       raid
  639. dectalk         2007/tcp
  640. raid-am         2007/udp
  641. conf            2008/tcp
  642. terminaldb      2008/udp
  643. news            2009/tcp
  644. whosockami      2009/udp
  645. pipe_server     2010/udp
  646. search          2010/tcp
  647. raid-cc         2011/tcp       raid
  648. servserv        2011/udp
  649. raid-ac         2012/udp
  650. ttyinfo         2012/tcp
  651. raid-am         2013/tcp
  652. raid-cd         2013/udp
  653. raid-sf         2014/udp
  654. troff           2014/tcp
  655. cypress         2015/tcp
  656. raid-cs         2015/udp
  657. bootserver      2016/udp
  658. bootclient      2017/udp
  659. cypress-stat    2017/tcp
  660. rellpack        2018/udp
  661. terminaldb      2018/tcp
  662. about           2019/udp
  663. whosockami      2019/tcp
  664. xinupageserver  2020/udp
  665. servexec        2021/tcp
  666. xinuexpansion1  2021/udp
  667. down            2022/tcp
  668. xinuexpansion2  2022/udp
  669. xinuexpansion3  2023/udp
  670. xinuexpansion4  2024/udp
  671. ellpack         2025/tcp
  672. xribs           2025/udp
  673. scrabble        2026/udp
  674. shadowserver    2027/tcp
  675. submitserver    2028/tcp
  676. device2         2030/tcp
  677. blackboard      2032/tcp
  678. glogger         2033/tcp
  679. scoremgr        2034/tcp
  680. imsldoc         2035/tcp
  681. objectmanager   2038/tcp
  682. lam             2040/tcp
  683. interbase       2041/tcp
  684. isis            2042/tcp
  685. isis            2042/udp
  686. isis-bcast      2043/udp
  687. rimsl           2044/tcp
  688. rimsl           2044/udp
  689. cdfunc          2045/udp
  690. sdfunc          2046/udp
  691. dls             2047/tcp
  692. dls             2047/udp
  693. dls-monitor     2048/tcp
  694. shilp           2049/tcp
  695. shilp           2049/udp
  696. NSWS            3049/tcp
  697. rfa             4672/tcp       # remote file access server
  698. commplex-main   5000/tcp
  699. commplex-link   5001/tcp
  700. rmonitor_secure 5145/udp
  701. padl2sim        5236/tcp
  702. xdsxdm          6558/udp
  703. man             9535/tcp
  704. isode-dua       17007/udp
  705.  
  706.  
  707.  
  708. vi)    Name Service concepts and what /etc/hosts is about
  709.     --------------------------------------------------
  710.  
  711. The internet protocol document defines names, addresses and routes as follows:
  712.  
  713.     A name indicates what we seek. An address indicates where it is.
  714.     A route indicates how to get there.
  715.  
  716. Every network interface attached to a tcp/ip network is identified by a 
  717. unique 32-bit IP address. A name (hostname) can be assigned to any device that
  718. has an IP address. Names are assigned to devices because, compared to numeric
  719. Internet addresses, names are easier to remember and type correctly. In use,
  720. most of the tcp/ip software on linux can interchangeably use name or ip 
  721. address but whichever is chosen, it is always the IP address that is used
  722. to make connections. Translating names into addressses isn't simply a 'local'
  723. issue. The command telnet on.a.linux.net is expected to work correctly on 
  724. every host that is connected to the network. If the machine is connected to
  725. the Internet, hosts all over the world should be able to translate the
  726. name into a valid IP address, therefore, some facility must exist on the net
  727. for to translate te name into the numeric IP address.
  728.     There are two methods for doing this,... one involves using a local
  729. lookup table (/etc/hosts) and the other uses DNS to remotely interigate the
  730. network for the IP address.
  731.     /etc/hosts is a very simple file which contains a numeric IP address
  732. followed by a hostname eg
  733.  
  734.     # note that the hash is a comment, no text is processed after
  735.     # it until the next <cr>
  736.     #
  737.     123.45.67.20    csd    csdsun    csd.uwe.ac.uk    csdsun.ac.uk
  738.     123.45.67.21    manic    manic.uwe.ac.uk    # Tom's machine
  739.     123.45.67.22    chef    chef.uwe.ac.uk    # Main waste of money
  740.     # other nets
  741.     192.35.173.1    hal    hal-9000    # local hidden host
  742.     192.35.173.2    slave    slave.uwe.ac.uk    # linux engine 485 25
  743.     192.35.173.30    zen    zen.uwe.ac.uk    # Interactive 2.2.1 386 33
  744.     192.35.173.35    thing
  745.     # external nets
  746.     162.34.32.22    weird.emer.cty.oz
  747.  
  748. but clearly this has a limitation in that on large networks ALL machines would
  749. have to have this information on disk and that could have 1000's of entries
  750. Just think what that means if an extra 120 machines were added! 1000's of
  751. machines would have to have their /etc/hosts table updated either by hand or
  752. automatic shell scripts calling the list from a main machine,... (see where
  753. this is leading?) Enter the DNS service...
  754.     DNS (Domain Name System) scales well. It doesn't rely on a single large 
  755. table; it is a distributed database system that doesn't bog down as the 
  756. database grows. DNS currently provides information on approximately 700,000
  757. hosts. DNS also guarentees thst the new host information will be disseminated 
  758. to the rest of the network as it is needed.
  759.  
  760.  
  761. vii)    DNS nameserver configuration files and how to fix them
  762.     ------------------------------------------------------
  763.  
  764. DNS configuration reqires that a numbet of files be editted
  765. in the case of Linux these files are minimally
  766. (resolv.conf can be optional)
  767.     /usr/etc/inet/
  768.         resolv.conf
  769.     or
  770.         named.boot
  771.         a_hosts_table (normally called named.hosts)
  772.  
  773. named.boot:    domain    uwe.ac.uk
  774.         primary    uwe.ac.uk    /usr/etc/inet/a_hosts_table
  775.  
  776. resolve.conf:    domain        uwe.ac.uk
  777.         nameserver    192.35.173.2
  778.  
  779. a_hosts_table:    @    IN    SOA    slave.uwe.ac.uk. root.slave.uwe.ac.uk. (
  780.                 1.1    ;serial
  781.                 3600    ;refresh every 10 hours
  782.                 300    ;retry every 6 minutes
  783.                 36000000;expire after 1000 hours
  784.                 3600    ; default dtl is 100 hous )
  785.             IN    NS    slave.uwe.ac.uk.
  786.         slave    IN    A    192.35.173.2
  787.         hal     IN    A    192.35.173.1
  788.         zen    IN    A    192.35.173.30
  789.         .
  790.         .
  791.         .
  792.         mother    IN    A    192.35.173.69
  793.  
  794.  
  795. For most people, a nameserver will be available in which case the only file
  796. really needed is resolv.conf which would contain only the domain name of the
  797. site and a nameserver ip address to point to all the named functions are thus
  798. the responsibility of the nameserver and not your machine (crafty huh?)
  799.     Now unfortunately there are those of us that were just plain born
  800. unlucky and had to RTFM so,... where a nameserver is not available it is
  801. possible to run a nameserver service on your local machine.
  802.     The following is a list of flies that you will eventually need
  803. although just named.boot and a_hosts_table will suffice
  804.  
  805.     named.boot:    Sets general named parameters and points to the
  806.             sources of the domain database information used
  807.             by this server. The sources can be local disks or
  808.             remote servers.
  809.     named.ca:    Points to the root domain servers
  810.     named.local:    Used to locally resolve the loopback address
  811.     named.hosts:    The zone info file that maps host names to IP addresses
  812.     named.rev:    the zone file for the reverse domain that maps IP 
  813.             addresses to host names (you'll prob never touch it
  814.             so i'm going to skip it's description unless people
  815.             get upset enough to lynch me)
  816.  
  817.  
  818. *** STOP PRESS ***
  819.  
  820.     I've just found out from Ross by sheer accident that there is a 
  821. program release in comp.sources.unix (volume25) called hostcvt (mutter mutter)
  822. which is supposidly capable of converting /etc/host entried into the nesessary
  823. corrisponding named files. I just pulled it down and it looks quite good
  824. although 'out of the box' you'll have to #define R_OK 4 in main.c and fix the
  825. bindir/mandir in the makefile. I've NOT run it cos I did all my configuration
  826. by hand so I'm too stubborn to let a meer machine do the job I did over 2 day's
  827. in 5 seconds. (ah that pride of mine). I know that there have been two
  828. patchlevels release but I only added patch1 cos it's a hassle for me to get to
  829. the internet (me being on x25 prtocol based JANET). As /etc/hosts file's are
  830. amazingly easy to generate this is a handy tool to have and I hope to see it
  831. included in the next tcp/ip util kit-bag.
  832.  
  833. *** RESUME PRESS ***
  834.  
  835. named.boot
  836. ----------
  837.     the named.boot file points to sources of DNS information. Some of these
  838. sources are local files; others are remote servers. You only need to create the
  839. files referanced in the primary and the cache statements.
  840.  
  841. commands    |    functions
  842. ----------------+--------------------------------------------------------------
  843. directory    |    Defines a directory for all subsequent file referances
  844. primary        |    Declares this server as primary for the specified zone
  845. secondary    |    Declares this server as secondary for the specified zone
  846. cache        |    Points to the cashe file
  847. forwarders    |    Lists servers to which queries are forwarded
  848. slave        |    Forces the server to only use the Forwarders
  849. ----------------^--------------------------------------------------------------
  850.  
  851. example setups
  852.  
  853. named.boot:
  854.     ; cache only server
  855.     ;
  856.     primary    0.0.127.IN-ADDR.ARPA    /usr/etc/inet/named.local
  857.     cache    .            /usr/etc/inet/named.ca
  858.  
  859. The loopback domain is an in-addr.arpa domain that maps the address 127.0.0.1
  860. to the name localhost. The idea of resolving your own loopback address makes
  861. sense to most people, so most named.boot files contain this entry.
  862.  
  863. named.boot:
  864.     ; Primary name server boot
  865.     ;
  866.     directory                /usr/etc/inet
  867.     primary        big.cty.com        named.hosts
  868.     primary        54.152.IN-ADDR.ARPA    named.rev
  869.     primary        0.0.127.IN-ADDR-ARPA    named.local
  870.     cache        .            named.ca
  871.  
  872. the directory statement tells named that all subsequent filenames are relative
  873. to the /usr/etc/inet directory. The first primary statement declares that this
  874. is the primary server for the big.cty.com domain and that the data for that 
  875. domain is loaded from the file named.hosts. The second primary statement points
  876. to the file that maps IP addresses from 152.54.xxx.xxx to hostnames. This
  877. statement says that the local server is the primary server for the reverse
  878. domain 54.152.in-addr.arpa and that the data for the domain can be loaded from
  879. the file named.rev
  880.  
  881. Standard Resource Records
  882. -------------------------
  883.  
  884.  
  885. Resource Record        Record type    function
  886. -----------------------------------------------------------------------------
  887. Start of authority    SOA        Mark the beginning of a zone's data,
  888.                     and define parameters that affect the
  889.                     entire zone
  890. Name server        NS        Identifies a domain's name server
  891. Address            A        Converts a host name to an address
  892. Pointer            PT        Converts an address to a hostname
  893. Mail Exchange        MX        Identifies where to deliver mail for a
  894.                     given domain name
  895. Canonical name        CNAME        Defines an alias host name
  896. Host information    HINFO        describes a hosts hardware and OS
  897. Well Known Service    WKS        Advertises network services
  898. ------------------------------------------------------------------------------
  899.  
  900. These resourse records are defined in RFC 1033.
  901. The format of DNS resourse records is:
  902.     [name] [ttl] IN    type data
  903.  
  904.     name:    This is the name of the domain object the resource record
  905.         references. It can be an individual host or an entire domain
  906.     ttl:    time-to-live defines the length of time in seconds that the
  907.         information in this resource record should be kept in the
  908.         cache. Usually this field is left blank and the default ttl
  909.         set in the SOA is used.
  910.     IN:    Identifies the record as an internet DNS resource record. There
  911.         are other classes of records, but they are not used by the DNS
  912.     type:    Identifies what kind of resourse record this is
  913.     data:    the information specific to this type of resourse record
  914.  
  915.  
  916. The cache Initialization file
  917. -----------------------------
  918.  
  919. The basic named.ca file contains NS records that name the root servers and
  920. 'A' records tha provide the addresses of the root servers. A basic named.ca
  921. is shown here
  922.  
  923.     named.ca:
  924.         ; named.ca - typical setup
  925.         ;
  926.         ; Servers for the root domain
  927.         ;
  928.         99999999    IN    NS    tsx-11.mit.edu.
  929.         99999999    IN    NS    nic.funet.fi.
  930.         ;
  931.         ; Root servers by addresses
  932.         ;
  933.         tsx-11.mit.edu.    99999999    IN    A    231.232.21.12
  934.         nic.funet.fi.    99999999    IN    A    123.45.67.32
  935.  
  936. note that the ttl is 99999999 the largest possible size so that the root
  937. servers are never removed from the cache
  938.  
  939.  
  940. The named.local file
  941. --------------------
  942.  
  943. The named.local file is used to convert the address 127.0.0.1 (the loopback
  944. address) into the name localhost. It's the zone file for the reverse domain 
  945. 0.0.127.in-addr.arpa. because ALL systems use 127.0.0.1 as the loopback
  946. address, this file is virtually identical on every server.
  947.  
  948.     named.local:
  949.         @    IN     SOA    slave.uwe.ac.uk. root.slave.uwe.ac.uk. (
  950.                     1    ;    serial
  951.                     36000    ;    refresh every 10 hrs
  952.                     3600    ;    retry after 1 hr
  953.                     3600000    ;    expire after 1000 hrs
  954.                     36000    ;    default ttl is 10 hrs
  955.                     )
  956.             IN    NS    slave.uwe.ac.uk.
  957.         1    IN    PTR    localhost.
  958.  
  959.  
  960.  
  961. The named.hosts file
  962. --------------------
  963.  
  964. The named.hosts file contains most of the domain information. This file
  965. converts
  966. host names to IP addresses, so 'A' records predominate, but it also contains
  967. 'MX', CNAME and other records. 
  968.  
  969.     ; named.hosts file example
  970.     ;
  971.     @    IN     SOA    slave.uwe.ac.uk.    probs.slave.uwe.ac.uk. (
  972.                 1    ;    serial
  973.                 36000    ;    refresh every X seconds
  974.                 3600    ;    retry every X seconds
  975.                 3600000    ;    expire after X seconds
  976.                 36000    ;    default time to live X seconds
  977.                 )
  978.     ; define nameservers and mailservers
  979.         IN    NS    slave.uwe.ac.uk.
  980.         IN    MX    csd.uwe.ac.uk.
  981.     ;
  982.     ; define localhost
  983.     ;
  984.     localhost    IN    A    127.0.0.1
  985.     ;
  986.     ;hosts in this zone
  987.     ;
  988.     loghost        IN    A    192.35.173.1
  989.     hal        IN    A    192.35.173.1
  990.     zen        IN    A    192.35.173.30
  991.     thing        IN    A    192.35.173.35
  992.     slave        IN    A    192.35.173.2
  993.             IN    MX    2    192.35.173.2
  994.     servent        IN    CNAME    slave.uwe.ac.uk.
  995.     mother        IN    A    192.35.173.69
  996.     ;
  997.     ; outside domains now follow
  998.     ;    
  999.     csd        IN    A    192.35.175.1
  1000.             IN    MX    5    192.35.175.1
  1001.     csdsun        IN    CNAME    csd.uwe.ac.uk.
  1002.     chef        IN    A    192.35.176.1
  1003.     ;
  1004.     ;fictional outside gateway
  1005.     midway        IN    A    166.23.44.2
  1006.     ;
  1007.     ; etc until you have built a reasonable host table
  1008.     ; that you feel will be adaquate for your network
  1009.  
  1010.  
  1011.  
  1012. vii)    NFS - the network filing system
  1013.     -------------------------------
  1014.  
  1015. Network filing systems are convenient mechinisms which allow your machine
  1016. axcess to more disk space that it actually has by 'borrowing' disk space
  1017. from another networked machine for either sharing of common data or if allowed,
  1018. the storing of data generated by your machine.
  1019.     NFS is still in alpha testing and has the unfortunate handicap of not
  1020. being able to run binaries over the interface due to mmap support not being
  1021. available at the moment but shell scripts can be run.
  1022.     NFS has several benifits,
  1023.  
  1024.     1)    it reduces local disk storage requirements because
  1025.         a network can store a single copy of a directory, while
  1026.         the directory continues to be fully axcessible to everyone
  1027.         on the network.
  1028.     2)    NFS simplifies central support tasks, becaue files can be
  1029.         updated centrally, yet be available throughout the network
  1030.     3)    NFS allows users to use familiar UNiX commands to manipulate
  1031.         files with rather than learning new ones. There is no need
  1032.         to use rcp/tftp/ftp to copy files, just 'cp' will do
  1033.  
  1034. NFS is controlled by several files
  1035.  
  1036.     /etc/exports
  1037.     /usr/etc/inet/rc.net
  1038.     
  1039.  
  1040. The /etc/exports file
  1041. ---------------------
  1042.  
  1043. /etc/exports allows your machine to decide what local filesystems it will
  1044. allow remote clients to NFS mount and decide what access those clients
  1045. should have to your filespace.
  1046.     Example (I just love examples):
  1047.     /etc/exports allows your machine to decide what local filesystems it will allow
  1048. remote clients to NFS mount and decide what access those clients
  1049. should have to your filespace.
  1050.     Example (I just love examples):
  1051.  
  1052.     /    -access=slave:moonbeam
  1053.     /usr    -ro
  1054.     /home    -root=slave:csdsun,-access=slave,csdsun
  1055.  
  1056. --------v---------------------------------------------------------------
  1057. flag    |    function
  1058. --------+---------------------------------------------------------------
  1059. ro    |    read only, if this is not specified, the directory is mounted
  1060.     |    as read/write.
  1061. rw    |    read and write, used to explicitly show that the FS is read
  1062.     |    and write
  1063. root    |    normally root cannot use root privillages on an NFS FS as that
  1064.     |    id is untrusted, :. you would not be able to make a root owned
  1065.     |    shell. Unless the root option is used, a UID of 0 translates 
  1066.     |    to 65536
  1067. access    |    list of hosts who may mount the specified filesystem
  1068. --------^---------------------------------------------------------------
  1069.  
  1070.  
  1071. The /usr/etc/inet/rc.net file
  1072. -----------------------------
  1073.  
  1074. This rc file is used to start the named services and nfs
  1075. the suggested setup is as follows:
  1076.     
  1077.     .
  1078.     .
  1079.     .
  1080.     if [ -f /etc/portmap ]
  1081.     then
  1082.             echo "Starting portmapper..."
  1083.             /etc/portmap
  1084.         echo "Starting nfsd..."
  1085.         /etc/nfsd
  1086.         echo "Starting mountd...."
  1087.         /etc/mountd
  1088.         echo
  1089.         mount -vt nfs fish:/pub /pub &
  1090.         mount -vt nfs sparky:/mnt/a /test &
  1091.     fi
  1092.  
  1093. Here if the portmapper isn't running it is started. Once started, it is now
  1094. possible to hang the nfsd daemon on it as well as the mountd daemon.
  1095. The two mount commands are from the modified mount command that come
  1096. with the NFS package and both are run in the background so that if one
  1097. of the servers were unreachable the system would continue to try while
  1098. going on to finish the system setup and allow root/users to login.
  1099. The '-vt nfs' bit isn't nessessary as the mount program understands the nfs
  1100. syntax and mounts it as an nfs system but I include it anyway.
  1101.  
  1102.  
  1103. ==============================================================================
  1104.  
  1105. Touble shooting
  1106. ---------------
  1107.  
  1108.  
  1109. One of the most common complaints requards the config command
  1110. what isn't often noted is that this has to be recompiled from the 0.8.1
  1111. sources (available currently on tsx-11.mit.edu: as 
  1112. /pub/linux/ALPHA/tcpip/tcpip-0.8.1.tar.Z). Another problem that crops up is
  1113. that some binaries that are distributed requires libc.2.2.2 to be present
  1114. (mine I've no idea what version/wher it came from but it's 173060 bytes long if
  1115. it helps!)
  1116.     Other people think that it's their version of libraries that casue the
  1117. problem but can't find the source code for the various utils to recompile.
  1118. Well sorry folks you are out of luck, the source code for those utils like ftpd
  1119. and inetd are jealously held back because they are buggy and full of ugly hacks
  1120. so rather than have the net flooded with complaints, they have been compiled
  1121. into binary form and shoved out the door with innocent looks about them. Of
  1122. note are inetd and named from the BSD sources, someone needs to port them as
  1123. the current ones are erm.. well not really inetd/named. A new telnetd will
  1124. probably be available after the kernel pty's are fixed which looks as though
  1125. it'll break a lot of ioctl code.
  1126.  
  1127.  
  1128. Several things that can help
  1129.  
  1130.     1)    upgrade your kernel to the latest one that you can grab 
  1131.         a copy of (currently at time of writting 0.98.4)
  1132.     2)    join the NET mail channel, you can learn an awful lot
  1133.         from the guys on this channel (like the various new
  1134.         copyrighted techniques for tearing out your hair)
  1135.     3)    try and upgrade your C compiler and libraries to at least
  1136.         version 2.2.2d7
  1137.     4)    binary distributions of various network probrams can be
  1138.         found on sunsite.unc.edu,.. always read the README files
  1139.         they are there for a reason! (personal show/contacts/etc..)
  1140.     5)    Depending on your type of problem, contacting the author
  1141.         of the software or the person who ported the software would
  1142.         be a better choice.
  1143.     6)    Complain bitterly to me if I haven't covered your problem 
  1144.         and I'll get it sorted for the next FAQ
  1145.  
  1146.  
  1147. Cast of this production
  1148. -----------------------
  1149.  
  1150. Ross Biro    -    Without whom all this wouldn't be possible
  1151.             and who pointed out holes in my documentation.
  1152.             Also contributed the history of tcp/ip on linux
  1153.             after he saw my rather perverted view of it.
  1154.  
  1155. Mitch DSouza    -    Constant alpha tester. Also pointed out mistakes
  1156.             and made critical and helpfull suggestions (like
  1157.             getting a spell checker). Also gave me his Tel No.
  1158.             which I used to annoy him with.
  1159.  
  1160. Rick Sladkey    -    The current Author of the NFS client server code
  1161.             who with the help of Doug Quale repatched the
  1162.             kernel to support networking filesystems.
  1163.  
  1164. The pioneers    -    Mentioned in the history of TCP/IP 0.8.[01] by
  1165.             Ross earlier in this FAQ
  1166.  
  1167. The supporting    -    You know who you are (probably, depending on how
  1168. extras            much virtual beer you had last night) for contributing
  1169.             to the network code.
  1170.  
  1171. Linus Torvolds    -    The elusive ecentric UNiX kernel coder who probably
  1172.             burns more CPU time on compiling than anyone else
  1173.             Here's to a long and healthy kernel development
  1174.             program and a Nobel equiv award for his efforts.
  1175.  
  1176. Myself        -    The only sad person to take on the FAQ because I was
  1177.             getting annoyed at the number of 'petty' tcp/ip code
  1178.             problems being asked on the net. Besides of which I
  1179.             wanted to give something useful towards Linux which
  1180.             I've used since 0.10 (does this make me a vetrian?)
  1181.  
  1182.                                                         
  1183. Phil    (The non spell checking insomniacial/palagerist who never learnt
  1184. =--=     english grammer)
  1185.  
  1186.  
  1187. p_copela@uk.ac.uwe.csd on JANET in the UK and p_copela@csd.uwe.ac.uk elsewhere
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195. -- 
  1196.  
  1197. ===============================================================================
  1198.   (c) 1992 Philip Copeland - alias 'Bryce'                    (SysAdmin)
  1199.   JANET      : p_copela@uk.ac.bristol-poly.csd
  1200.  
  1201.                                   "... I can resist anything but temptation..."
  1202. -------------------------------------------------------------------------------
  1203.