home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ctcoll95.zip / BASTELST / PAPI020.ZIP / README.EUN < prev    next >
Text File  |  1993-10-06  |  13KB  |  374 lines

  1. When connecting to a POP of the EUNET in Germany their are two choices.
  2.  
  3. First choice use the ka9q stuff:
  4. Be sure to fulfill the copyright requirements!
  5.  
  6. Suppose the PAPI packet driver is in directory c:\capi and is called papi.exe
  7. Suppose the ka9q net program is in c:\ka9q and is called net.exe
  8. The termin program comes with the packet driver set together with wd8003e
  9. and other packet drivers for ethernet cards.
  10.  
  11.  
  12. ----------- Start of EUNET.bat: --------------------
  13.  
  14. call c:\telescom\starts0.bat
  15. c:\capi\papi -v -n <Telno of POP> -o 2 -w 240
  16. c:\bin\wd8003e 0x61 -o 5 0x240 0xdc00
  17. c:\ka9q\net -d c:\ka9q c:\ka9q\autoexec.net
  18. c:\ka9q\termin 0x60
  19. c:\ka9q\termin 0x61
  20. c:\telescom\stops0
  21.  
  22. ------------- end ----------------------------------
  23.  
  24. Where <Telno of POP> is the number of the POP  i n c l u d i n g  their
  25. "EAZ". Ask them for the full number. Which is usually ending in a 2.
  26. Assume your network has the IP-address 199.198.197
  27. Your gateway has the name gate and the IP-address 199.198.197.1
  28. You got the IP-address 139.138.137.2 from EUNET.
  29. And the IP-address of the EUNET POP is 139.138.137.1
  30. Your domain name server is 199.198.197.2
  31. If you do not have a domain name server forget the line starting domain ...
  32. Then the following is a working example of an autoexec.net for KA9Q.
  33. It is not optimized!
  34.  
  35. ----------- Start of autoexec.net ------------------
  36.  
  37. hostname gate
  38. domain suffix your_domain.de
  39. ip address [199.198.197.1]
  40. attach packet 0x60 slip 8 1500
  41. attach packet 0x61 eth 8 1500
  42. route add default slip 139.138.137.1
  43. route add [199.198.197]/24 eth
  44. ip ttl 32
  45. tcp mss 1500
  46. tcp window 15000
  47. ifconfig slip ip 139.138.137.2
  48. ifconfig slip mtu 1500
  49. smtp gateway 199.198.197.2
  50. domain addserver 199.198.197.2
  51. log c:\ka9q\net.log
  52. start ftp
  53. start echo
  54. start discard
  55. # THE END
  56.  
  57. If you have a NICCY 3008 the maximal supported buffer size is 1024.
  58. Please ask EUNET to set the buffersize to 1020. And use the following
  59. templates:
  60.  
  61. ----------- Start of EUNET.bat: --------------------
  62.  
  63. call c:\telescom\starts0.bat
  64. c:\capi\papi -v -n <Telno of POP> -o 2 -w 240 -s 1024
  65. c:\bin\wd8003e 0x61 -o 5 0x240 0xdc00
  66. c:\ka9q\net -d c:\ka9q c:\ka9q\autoexec.net
  67. c:\ka9q\termin 0x60
  68. c:\ka9q\termin 0x61
  69. c:\telescom\stops0
  70.  
  71. ------------- end ----------------------------------
  72.  
  73. and
  74.  
  75. ----------- Start of autoexec.net ------------------
  76.  
  77. hostname gate
  78. domain suffix your_domain.de
  79. ip address [199.198.197.1]
  80. attach packet 0x60 slip 8 1020
  81. attach packet 0x61 eth 8 1500
  82. route add default slip 139.138.137.1
  83. route add [199.198.197]/24 eth
  84. ip ttl 32
  85. tcp mss 1500
  86. tcp window 15000
  87. ifconfig slip ip 139.138.137.2
  88. ifconfig slip mtu 1020
  89. smtp gateway 199.198.197.2
  90. domain addserver 199.198.197.2
  91. log c:\ka9q\net.log
  92. start ftp
  93. start echo
  94. start discard
  95. # THE END
  96.  
  97.  
  98. ------------- end ----------------------------------
  99. ------------- end of first choice ka9q -------------
  100.  
  101.  
  102.  
  103.  
  104. Another and in the mean time preferred choice is pcroute.
  105.  
  106. Pay attention pcroute is a - very - black box. You do not get
  107. output on display. Finally I prefer programs like that.
  108.  
  109. You have to make a bootable floppy disk.
  110.  
  111. Install the ISDN-CAPI lets suppose in a:/teles
  112. copy config.exe and pkts.exe of the pcroute binaries to a:
  113. copy your preferred ethernet packet driver to a:
  114. PLEASE test before you go on that the packet driver is configured right.
  115. It is hard to debug pcroute when you are in reality debugging the ethernet
  116. driver or the configuration of the ethernet card.
  117.  
  118. make an autoexec.bat following this scheme:
  119.  
  120.  
  121. ----------- Start of autoexec.bat ------------------
  122.  
  123.  
  124. @echo off
  125. COMMAND /C a:\teles\starts0.bat
  126. a:\papi -V 0 -v -p 0x61 -n <Telno of POP> -o 2 -w 240
  127. cls
  128. a:\wd8003e 0x60 -o 10 0x240 0xc800
  129. cls
  130. a:\pcroute
  131.  
  132. ------------- end ----------------------------------
  133.  
  134. Where <Telno of POP> is the number of the POP  i n c l u d i n g  their
  135. "EAZ". Ask them for the full number. Which is usually ending in a 2.
  136. papi is configured to give a status message in the first line of the display.
  137.  
  138.  
  139. Assume your network has the IP-address 199.198.197
  140. Your gateway has the IP-address 199.198.197.1
  141. You got the IP-address 139.138.137.2 from EUNET.
  142. And the IP-address of the EUNET POP is 139.138.137.1
  143.  
  144. Now you have to go to a: and run config and start a dialog
  145.  
  146. ----------- Start of config ------------------------
  147.  
  148. a:
  149. cd \
  150. config
  151.  
  152. This program creates/edits the pcroute.cfg file
  153.  
  154. Configuring an interface
  155. Address for the interface [0.0.0.0] ? 199.198.197.1
  156. Subnet mask for the interface [0.0.0.0] ? 255.255.255.0
  157. Flag Meanings (if set)
  158.     Bit 0 (1h)  - Don't send routing updates out this interface
  159.     Bit 1 (2h)  - Don't listen to routing updates from this interface
  160.     Bit 2 (4h)  - Proxy Arp for all subnets
  161.     Bit 3 (8h)  - Turn off directed broadcasts
  162.     Bit 4 (10h) - Turn off the issuing of ICMP redirects
  163.     Bit 5 (20h) - Broadcast using old (0's) format
  164. Flags (HEX) for the interface [0H] ? 5
  165. Routing Metric (HEX) for the interface [1H] ? 1
  166.  
  167. Configuring an interface
  168. Address for the interface [0.0.0.0] ? 139.138.137.2
  169. Subnet mask for the interface [0.0.0.0] ? 255.255.255.252
  170. Flag Meanings (if set)
  171.     Bit 0 (1h)  - Don't send routing updates out this interface
  172.     Bit 1 (2h)  - Don't listen to routing updates from this interface
  173.     Bit 2 (4h)  - Proxy Arp for all subnets
  174.     Bit 3 (8h)  - Turn off directed broadcasts
  175.     Bit 4 (10h) - Turn off the issuing of ICMP redirects
  176.     Bit 5 (20h) - Broadcast using old (0's) format
  177. Flags (HEX) for the interface [0H] ? b
  178. Routing Metric (HEX) for the interface [1H] ? 1
  179.  
  180. If you wish to configure static routes do so here.  To stop type a '.'
  181.  
  182.   Flag Meanings (if set)
  183.       Bit 0 (1h)  - Local route, do not propagate it
  184.       Bit 1 (2h)  - Transient route, subject to RIP protocol
  185.  
  186. Network [0.0.0.0] ? 0.0.0.0
  187. Gateway [0.0.0.0] ? 139.138.137.1
  188. Metric (HEX)  [9H] ? 2
  189. Flags (HEX) [0H] ? 0
  190.  
  191. Network [0.0.0.0] ? .
  192.  
  193. If you wish to forward bootp packets please enter the address
  194.   of the address to forward it to.  This address can be a
  195.   directed broadcast.  0.0.0.0  means don't forward
  196.  
  197. Address to forward bootp packets [0.0.0.0] ? 
  198.  
  199. Once PCroute boots up, it sends all log messages to a network
  200.   host running a BSD UNIX syslogd daemon.  To disable
  201.   logging enter 0.0.0.0
  202.  
  203. Host to send loging info to [0.0.0.0] ? 199.198.197.2
  204. Mask Meanings (0 = Log, 1 = Don't log)
  205.     Bit 0 (1h)  - System
  206.     Bit 1 (2h)  - Routing
  207.     Bit 2 (4h)  - Monitor
  208.     Bit 3 (8h)  - Localtalk
  209. Logging mask for this router [0H] ? 0
  210. There are 8 routing 'levels' supported
  211.     0 - Emergency    1 - Alert    2 - Critical    3 - Error
  212.     4 - Warning      5 - Notice   6 - info        7 - Debug
  213. Only messages with a level less than the logging level are sent
  214. Logging level [0H] ? 7
  215.  
  216. ------------- end ----------------------------------
  217.  
  218. Test the boot disk by resetting the pc.
  219.  
  220. After some time their will be an empty screen.
  221. Reset the machine and look at the contents of pcroute.log
  222. It should look like this - only the "Ethenet" Address and the values
  223. chosen for your environment will be different.
  224.  
  225.  
  226. ----------- Start of pcroute.log -------------------
  227.  
  228. ******* PCroute starting *******
  229. Interface 1 (ethernet)
  230.     Address    199.198.197.1
  231.     NetMask 255.255.255.0
  232.     Flags     0005H
  233.     Metric    0001H
  234.     The Ethenet Address 0000H
  235.     The Ethenet Address C0B3H
  236.     The Ethenet Address 3D24H
  237. Interface 2 (packet slip)
  238.     Address       139.138.137.2
  239.     NetMask 255.255.255.252
  240.     Flags     000BH
  241.     Metric    0001H
  242. STATIC ROUTES
  243.     Route to network         0.0.0.0
  244.     Through gateway        139.138.137.1
  245.     Metric 0002H
  246.     Flags  0000H
  247.  
  248. Forwarding BOOTP requests to               0.0.0.0
  249. Logging messages to SYSLOGD on host    199.198.197.2
  250. Logging level 0000H
  251. Logging mask 0007H
  252. ******* PCroute closing log file *******
  253.  
  254. ------------- end ----------------------------------
  255.  
  256. Running and Testing.  
  257.  
  258. When config completes, insert the floppy into the PC that is was
  259. configured for and boot it. Log on to some host on your net and
  260. try to PING 199.198.197.1. If this works, try pinging 139.138.137.2 from 
  261. your host, and next 139.138.137.1  If these work try ftp from your
  262. host on your net to some host on the remote net.
  263. Finally log on to the logging host and check to see if PCrouter sent the
  264. message that it is 'coming up' to the logging host.
  265.  
  266. If all works your are done.
  267.  
  268. If some of these tests fail, refer to the document TROUBLE.DOC
  269. and follow the instructions there.
  270.  
  271.  
  272. TROUBLE.DOC from the pcroute collection:
  273.  
  274.                             IN CASE OF TROUBLE
  275.  
  276.     Here is a list of common problems and their solutions as well as some
  277. very useful debugging techniques.  Using these techniques should enable you
  278. to find most problems.  Please let me know if this guide is insufficient.
  279.  
  280. In general there are three sources of good information for debugging PCroute
  281. they are.
  282.         
  283.         PCROUTE.LOG   - This file is created and written to when PCroute
  284.                         first starts up.  PCroute writes out all its 
  285.                         configuration data to insure that is it what you
  286.                         think it is, and to make sure the hardware is
  287.                         working properly.
  288.  
  289.         Logging host -  Once PCroute boots up, it sends diagnostic information
  290.                         to the logging host.  This is useful for debugging
  291.                         dynamic problems.
  292.  
  293.         3rd Party    -  Much information can be gained by using PING 
  294.                         (either to or though the router) traceroute (if you
  295.                         have it) and examine the routing tables (for 
  296.                         RIP problems).
  297.  
  298. ----------------------------------------------------------------------------
  299. PROBLEM: Can't PING PCroute from either local net (PCroute seems dead).
  300.  
  301.     The first thing to check is the PCROUTE.LOG file on the floppy.
  302.  
  303.         PCROUTE.LOG does not exist
  304.             Make sure the floppy is not write protected.
  305.             Make sure the floppy is bootable and that PCroute
  306.                 is run in the autoexec file.  
  307.             If necessary install a monitor and check the boot sequence
  308.  
  309.         If PCROUTE.LOG says the configuration file is corrupt, you must
  310.             rerun config.exe.  If that does not work make sure you are
  311.             using the config.exe that came with the version of PCroute that
  312.             you are running.  If that does not work, delete PCROUTE.CFG
  313.             and rerun config.exe from scratch.
  314.  
  315.         Check the ethernet addresses in the PCROUTE.LOG file.  If any 
  316.             are FFFFFFFFF, that means the card does not have the I/O 
  317.             address set properly, and the software cannot find the card.  
  318.  
  319.         Check that the IP addresses in PCROUTE.LOG are correct.  Remember 
  320.             for the precompiled PCroute.exe interface 1 is the card with
  321.             I/O address 280H, and interface 2 is the card with I/O
  322.             address 2A0H.  Make sure they are not mixed up.
  323.  
  324.         Check the ethernet card to make sure it is set for the correct
  325.             type of ethernet (THIN or THICK)
  326.  
  327.         Check the cabling to the ethernet.
  328.  
  329. ----------------------------------------------------------------------------
  330. PROBLEM: The network comes to a halt when PCroute is brought up
  331.  
  332.     This symptom indicates a broadcast storm.  This is caused not by
  333.     PCroute but by some other (OLD) IP host.  Try turning off directed
  334.     broadcasts on all interfaces of PCroute (Bit 3 of the interface flags)
  335.     This usually stops the problem, but the real solution is to update
  336.     all old networking software.
  337.         
  338. ----------------------------------------------------------------------------
  339. PROBLEM: PCroute can be pinged, but no messages are received by the 
  340.          logging host.
  341.         
  342.     Check PCROUTE.LOG to make sure that the logging host IP address is
  343.         correct.
  344.  
  345.     Try Pinging PCroute from the logging host, if you cannot there is
  346.         a routing problem (see below).  If possible, chose a logging
  347.         host that is on a local network.
  348.  
  349.     Maybe you simply filtered out all of the messages, so that PCroute
  350.         SHOULD send nothing.  Good production settings for the filter
  351.         parameters are (mask 0, priority 7), for debugging you should
  352.         use (mask 0, priority 8) and if you set it to (mask 0 priority 9)
  353.         PCroute will send 'I'M ALIVE' messages every minute.
  354.  
  355.     Make sure that the /etc/syslog.conf file is set up properly it should
  356.         be listening for logging messages from facility 'local0' and
  357.         priority 'debug' (everything).  
  358.  
  359. ----------------------------------------------------------------------------
  360. PROBLEM: PCroute can be pinged from a local net, but not a remote net.
  361.  
  362.     This is either a a routing problem or a subnetting problem, to
  363.         test if it is a subnet problem, ping a host OUTSIDE your subnet
  364.         from a host that must route through PCroute to get there.  In the
  365.         example, pinging any host that does NOT begin with 129.105 from
  366.         a host on net A will do the job.  If this ping succeeds, the subnetting
  367.         mask is wrong and needs to be changed.
  368.  
  369.     If it is a routing problem, try inserting a static route, it that solves
  370.         the problem, make sure that the other gateways are broadcasting 
  371.         RIP properly.
  372.  
  373.  
  374.