home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0600 / CCE_0674.ZIP / CCE_0674 / DOCS.LZH / DOCS / SAT.TXT < prev   
Text File  |  1992-02-05  |  34KB  |  829 lines

  1.           Notes on the use of NET with Satellites
  2.             (A beginners Guide to PE1CHL NET)
  3.  
  4.                     David Medley KI6QE 
  5.  
  6. INTRODUCTION
  7.  
  8. Many of us have heard or read about a program called TCP/IP and
  9. most of us ordinary mortals have been perplexed or even
  10. intimidated by what we have seen or read.
  11. So let us begin this discussion on the right foot by saying that
  12. although PE1CHL NET is a variant of TCP/IP it is really not
  13. necessary to know anything about it to use this excellent piece
  14. of software to enhance our enjoyment of our satellite operations.
  15. The few things we do need to know will be explained in the
  16. following pages in terms which, hopefully, will be understood by
  17. anyone interested. Those with PhD degrees and other Technical
  18. types need read no further as you will not only be bored but you
  19. will not learn anything you don't know already.
  20.  
  21. WHAT IS TCP/IP
  22.  
  23. The common definition says that TCP/IP is a set of protocols
  24. developed to allow cooperating computers to share resources
  25. across a network. Very clear Right ? Wrong, we still don't know
  26. what it is. Well lets try again. A protocol is a set of
  27. specifications which allows a software programmer to write a
  28. program which does something special such as manipulate files.
  29. So TCP/IP is a program which collects together a series of
  30. programs which allows computers to work efficiently in a network.
  31. It also allows your computer to do specific things without being
  32. hooked into a network so from here on we are going to forget
  33. about networks and all the theory and big words which go with
  34. network operations. We still don't know what TCP/IP really means
  35. and I am not going to divulge this secret because it is closely
  36. guarded. All I can tell you is that TCP and IP are two protocols
  37. which have something to do with the provision of services to the
  38. network and as this has nothing to do with this discussion lets
  39. forget it.
  40.  
  41. WHAT IS FTL0
  42.  
  43. OK more totally confusing mnemonics but this one we can explain.
  44. When Jeff Ward (G0/K8KA) and Harold Price (NK6K) prepared the
  45. protocol for the PACSAT system they called it "FILE TRANSFER
  46. LEVEL ZERO" which is now commonly known as ftl0 (lower case).
  47. This is starting to make sense at last and this describes what PG does,
  48. transfer files. Now we are getting somewhere and the light is dawning.
  49.  
  50. What has this to do with TCP/IP and PE1CHL? Well what Rob
  51. Janssen(PE1CHL) did was to take the TCP/IP NET (Rob is a 
  52. professional in these things and understands them) and add ftl0 
  53. to all the other protocols. What this does is allows us to do all 
  54. kinds of neat things with satellites on a stand alone basis or if 
  55. we are so inclined to hook into a TCP/IP terrestrial network. 
  56.  
  57. Of course there is more. What about the broadcast facility which
  58. many of us have learned to use and enjoy via PB. Well
  59. there is a protocol which describes this and Glory Be it is
  60. called BROADCAST. So Rob put this in NET as well so for the rest
  61. of this document we are going to talk about some simple
  62. applications of ftl0 and broadcast as applied to UOSAT3, also
  63. known as uo14.
  64.  
  65. PRELIMINARIES
  66.  
  67. All this is well and good but what has to be done first before we
  68. can even think about satellites and files and so on. I thought
  69. you might ask this question so lets provide some answers.
  70. The software program you need is called PE1CHL NET but will
  71. appear with names like PE91005.ZIP. You will find it on uo14 from
  72. time to time or you can get it from a friend or whatever. It is
  73. free ware and yours for the asking. If all else fails send me a
  74. formatted 720K or 1.2Mb disk with a mailer and enough return
  75. postage and I will mail you the latest version I have.
  76.  
  77. You should also look for a file called "HISTORY" which will be a
  78. great help to you later on but will confuse you totally until you
  79. have read and understood this enlightening document.
  80.  
  81. First thing you do of course is to unzip or unarc the file and
  82. this will give you at least three files. These will be called:-
  83.                         NET.EXE
  84.                         AUTOEXEC.NET
  85.                         ONEXIT.NET
  86.  
  87. NET.EXE is the file which starts and executes the NET program but
  88. it will only do this to your satisfaction after you do some
  89. mysterious and magic things with AUTOEXEC.NET as well as teaching
  90. your TNC to behave in ways which it may not have been familiar
  91. with up to this point or at least you may not have been familiar
  92. with. The TNC is probably smarter than you at this time but we
  93. are going to change that.
  94.  
  95. A sample of AUTOEXEC.NET will be found at Appendix A and you
  96. should follow it with the ensuing text.
  97.  
  98. The following discussion assumes that NET will be configured for
  99. UO14. The datalink to the computer will be 19,200 baud and the
  100. radio link 9600. Your TNC/9600 modem will be connected to COM1.
  101.  
  102. This is a long and perplexing document and is not particularly
  103. friendly mainly because, up until right now, there has been no
  104. other documentation. We are going to go through this item by item
  105. and make everything friendlier (I hope).
  106.  
  107. It starts off just fine.
  108.  
  109.        # PE1CHL-NET configuration file for the PC.
  110.  
  111. The # at the start means it is a comment or REM and so the computer
  112. ignores all lines starting with #. You should not ignore them however.
  113. Just make sure your version says PC and not ATARI or some other thing
  114. you don't have. Of course if you don't have a PC then you have another
  115. problem which I can't help you with but nevertheless much of what 
  116. follows is probably quite applicable and may even be helpful.
  117.  
  118. The next line says:
  119.  
  120. # insert your callsign (in lower case) etc.
  121.  
  122. Do just what it says. For our application it does not matter if 
  123. you use upper or lower case but it is important if you want to 
  124. use TCP/IP later. So do it now just in case.The line it is 
  125. referring to is:
  126.  
  127. setenv CALLSIGN ${CALLSIGN-ki6qe}
  128.  
  129. DO NOT CHANGE ANYTHING except the callsign (in lower case of 
  130. course).
  131. Next we come to:
  132.  
  133. # COM1 connected to NB96 modem(9k6)
  134. # Setup COM1 (second line) and COM2 (first line). don't change 
  135. parameters.
  136.  
  137. No I have not made a mistake. COM2 comes before COM1. You will 
  138. notice that the COM1 line has been REMed out with a # because we 
  139. are keeping this simple with only one TNC connected. Aha you say 
  140. but I want to connect my TNC to COM1. OK you can do that but you 
  141. must interchange the lines and the numbers 1 and 2. Your lines 
  142. will now look like this:
  143.  
  144. #attach com 2 ax25 psk 144 4800 n $CALLSIGN-2
  145. attach com 1 ax25 9k6 256 19200 n $CALLSIGN-7
  146.  
  147. Note that 9k6 is a mnemonic for our TNC and we are going to use
  148. that quite often. There is no magic in 9k6. If you don't like it
  149. use something else, but be sure to change it wherever 9k6 appears.
  150.  
  151. (A big deal is made above of the order of COM1 and COM2. Actually 
  152. it is not a big deal and really doesn't matter in most 
  153. applications. You might run into a case later where it is 
  154. important so it is recommended you do as suggested above.)
  155.  
  156. We now we come to:
  157.  
  158. # AX25 configuration.
  159.  
  160. We all remember that AX25 is the protocol for normal packet 
  161. operation don't we ? We have puzzled about and wrestled with 
  162. Parameters ever since we started into packet radio. Some are more 
  163. important than others. Here we will see that we can understand 
  164. the first few lines which start with ax25 digipeat on. Similarly 
  165. the next four are in plain English and we can look these up in 
  166. our manual if we have forgotten. But please do not change these 
  167. unless you understand exactly what you are doing. Now the next 
  168. four lines appear to be secret as they set four parameters called 
  169. t1 t2 t3 and t4 and you won't find these in your manual, at least 
  170. not like this. But I am going to let you into the secret so long 
  171. as you don't change the numbers. Here is what they mean:
  172.  
  173. t1 is the retry timer. You know it as FRACK.
  174.  
  175. t2 is the response timer or RESPTIME.
  176.  
  177. t3 is the keep-alive timer or CHECK.
  178.  
  179. t4 is the idle timer. This is like the TIMEOUT in your local BBS 
  180. where it drops you off if you don't type something in a given 
  181. period of time.
  182. Actually none of these are used by ftl0 but they are used by 
  183. AX25. So if you ever want to use NET for ordinary packet then you 
  184. will have set these as you would normally.
  185.  
  186. So now you know and won't need to ask any questions will you ?
  187.  
  188. ax25 window 2048.
  189.  
  190. This is the number of bytes that can be received and buffered on 
  191. an AX25 connection before the program sends RNR. Yes I do know 
  192. what that means, Receive Not Ready.
  193.  
  194. Now we come to:
  195.  
  196. #Misc settings.
  197.  
  198. Some are obvious, some obscure to say the least.
  199.  
  200. escape F10 means what it says. Use F10 to escape.
  201. flow on.
  202.  
  203. If you don't know what this means and want to, read your TNC 
  204. manual.
  205.  
  206. log c:\net\netnew.log simply sets up a DOS path for a log file.
  207.  
  208. setenv PROMPT "[use EXIT to go back to NET] ${prompt-$p$g}
  209.  
  210. We are all used to EXIT with SHELL and the $p$g prompt most of us 
  211. use with our DOS.
  212.  
  213. Now the mysterious KISS mode. We find a line:
  214.  
  215. # KISS and AX25 stuff for each TNC connected.
  216.  
  217. Here we only have one TNC so we will only have one set of 
  218. parameters. You will note the others have been #ed out. (Pounded 
  219. out). You must remember to put your TNC in KISS mode before 
  220. running this program. We will discuss KISS more in a minute. The 
  221. parameters should all be familiar except perhaps ax25 persist.
  222. Again it is not important for satellite full duplex operation but
  223. is important for half duplex packet. (See below).
  224.  
  225. Now we come to the concept of virtual ports. We have already set 
  226. up COM1 for our TNC so what are all these other ports. Well they 
  227. are not really necessary for our satellite work but we might as 
  228. well try to understand what they are for. The NET program has 
  229. within it the ability to divide its attention between several 
  230. connectees coming in on our COM1 port and performing different 
  231. functions. Each function is associated with a separate virtual 
  232. port and there is a different SSID for each of these ports. For 
  233. example an external station can use your station as a digipeater 
  234. through virtual port 1 using the SSID of 3. (KI6QE-3 for 
  235. example). Deeper discussion of virtual ports is beyond the scope 
  236. of this document.
  237.  
  238. Now we are getting to the nitty gritty and something is starting 
  239. to happen. We see:
  240.  
  241. # initialize KISS TNC on 430.
  242.  
  243. But would you believe it here is another set of secret codes. 
  244. What in the world are params 1 through 5. They sure look
  245. important. And indeed they are and here is the decode:
  246.  
  247.            Param 1 is TXDELAY.
  248.  
  249. You may need to experiment with this as it depends on the type of 
  250. equipment you are using. Values around 50 have been found useful. 
  251.  
  252.            Param 2 is p-persistance. This together with slottime
  253.                                      is a newer and better way
  254.                                      of performing the function
  255.                                      of DWAIT. DWAIT should be 0
  256.  
  257.            Param 3 is slottime.
  258.  
  259.            param 4 is holdtime
  260.  
  261.            param 5 is fullduplex (Yes/No) If you do not have
  262.                                      fulldup on you will never
  263.                                      transmit. Very frustrating.
  264.  
  265. The next five commands start the servers for the virtual ports 
  266. discussed above:
  267.  
  268. ax25 start bridge.
  269.  
  270. This starts a conference bridge on virtual port 4.
  271.  
  272. ax25 start mheard.
  273.  
  274. This starts the mheard (Calls heard) function on virtual port 3.
  275.  
  276. ax25 netdigi. This starts the digipeater we mentioned above on 
  277.               virtual port 2
  278.  
  279. ax25 start tnc "= Connect Text =" . This starts a "tnc", where 
  280.                                     you can be connected.
  281.  
  282. ax25 start tnc2 3=144 4=430. This starts a TNC emulator which is 
  283.                              beyond the scope of this discussion.
  284.  
  285. Actually you can #out all these AX25 functions if you are sure 
  286. you may never need them. Best advice is to leave them in. They 
  287. won't do any damage.
  288. (If you want to see what they are all about in a practical sense
  289. and after you have got the program up and running, you can 
  290. connect to NET (if you have another packet system) and play with 
  291. these functions.)
  292.  
  293. Finally we have to describe what it is we really want to do. In 
  294. this case we would like to access UO14 for all the functions of 
  295. the ftl0 protocol and we would like to receive and instigate 
  296. broadcasts.
  297.  
  298. broadcast start "\net\bcst"
  299. broadcast server uo14 9k6 uosat3-11 256 2 4 1 3 pblist
  300.  
  301. These are the lines which set up the Broadcast function.
  302.  
  303. ftl0 homedir "\net\ftl0"
  304. ftl0 server uo14 9k6 uosat3-12 256 2 4 1 3 bbstat "Open"
  305.  
  306. These are the lines which set up the ftl0 function. 
  307.  
  308. In each case the first entry specifies a path to a directory in
  309. which the relevant files will be found.
  310. The second line describes the "server" which will perform the
  311. functions.
  312.  
  313. Now a word about servers. We can't quite get away from TCP/IP
  314. talk. A server is the hardware and associated software which is
  315. going to carry out the specific function. The NET package
  316. provides both servers (services) of its own, as described
  317. above, and allows access to other servers like the UO14 ftl0
  318. server. The "ftl0 server" commands provide the information it
  319. needs for that, and gives a handle ("uo14" in this case) for
  320. later reference.
  321.  
  322. ftl0 server uo14 9k6 uosat3-12 256 2 4 1 3 bbstat "Open"
  323.  
  324. This says that we are going to ask uo14 to perform ftl0
  325. functions. It reminds the software that uo14 is 9600 baud (9k6)
  326. and that its callsign is uosat3-12. 256 indicates packet length.
  327. When you finally get around to loading NET it is going to wait
  328. until it detects a bbstat "Open" frame from uo14 before it does
  329. anything. More on this later.
  330.  
  331. Oh Boy now we have got to the end of that we should be able to
  332. start something useful.
  333.  
  334. STARTUP
  335.  
  336. OK now you have completed the changes necessary to autoexec.net
  337. but there are two more things to think about before we can
  338. actually load the program.
  339.  
  340. First the TNC. Net is written for KISS mode TNCs and you need to
  341. be sure that your TNC is capable of this mode and then to put it
  342. into KISS. (KISS means "Keep it simple Stupid" but whoever
  343. devised this mnemonic must have had a strange sense of humor. It
  344. is anything but simple, at least to us mere mortals.)
  345.  
  346. Actually it is simple as some regard the KISS protocol as too
  347. simple but where the confusion arises is for us to distinguish
  348. between conv trans and kiss and how to get our TNCs into and out
  349. of these modes. Perhaps a few simple words might be helpful.
  350.  
  351. Conversational Mode (conv) is where you talk to the TNC to give
  352. it commands. You cannot talk to a connected station when the
  353. TNC's prompt says cmd.
  354.  
  355. Transparent Mode (trans) is when your TNC is transparent to you
  356. and you can talk to someone you are connected with. You cannot
  357. give your TNC commands when in the transparent mode.
  358.  
  359. To get from transparent to conversational mode is usually no more 
  360. than cntrl-C and typing trans when at the cmd prompt has the 
  361. reverse effect.
  362.  
  363. Now KISS. When in KISS mode the TNC is transparent like in trans 
  364. but it passes through binary data to the computer without much 
  365. manipulation such as converting it to ASCII.
  366.  
  367. Older TNCs such as TNC1 and early PacComm and MFJ units did not
  368. have KISS capability. Read your manual carefully to insure you
  369. have a KISS TNC. If you have an AEA TNC you are probably in good
  370. shape but there are a couple of tricks as we will see in a
  371. minute.
  372.  
  373. Lets assume we have a TINY2 (a TNC-2 close clone) and a PC clone
  374. computer. First we need a communications program such as PC-TALK
  375. or better PROCOMM. Load this and be sure it is configured for the
  376. port and speed we set up in AUTOEXEC.NET. (Remember we set the
  377. speed at 19,200 and the Port at COM1). Turn on the TNC and you
  378. should get a regular sign on message. Now type KISS ON and you
  379. will see a cmd. prompt if all is well. Now type RESTART and you
  380. will see nothing on the screen. In fact if you try to type
  381. anything nothing happens. This is as it should be because your
  382. TNC is in KISS mode which means that it is virtually transparent
  383. to you and does not want or need to talk to you anymore.
  384.  
  385. If you have an AEA TNC, PK232 for example, there is one thing you
  386. should know. As soon as you type KISS ON it becomes dumb and won't let
  387. you type RESTART. Do not worry, it has done all this for you.
  388. Just carry on as above.
  389.  
  390. If it says Eh? or What? when you type KISS ON your TNC does not have KISS
  391. mode. If you are lucky all you will need is some updated firmware.
  392. Contact the TNC manufacturer about this.
  393.  
  394. Another little matter which is confusing sometimes. If your TNC has a
  395. battery in it it will remain in KISS mode for the life of the battery.
  396. Turning it on and off a zillion times will not get it out of KISS
  397. mode. Nor will RESET. So once you have it in KISS you do not have to
  398. go through all the stuff above each time you turn it on.
  399.  
  400. On the other hand maybe you want to use your TNC in another mode
  401. sometimes and it is pretty infuriating to have to take it out of the
  402. cabinet, remove the battery jumper, wait X number of minutes, replace
  403. the jumper etc. No no you do not have to do this. Buried inside your
  404. manual somewhere you will find the secret of getting out of KISS. For
  405. the TINY2 what you do is:
  406.                   1. Depress NUMLOCK on your keypad.
  407.                   2. Hold down ALT and type 192 on the keypad.
  408.                   3. Release ALT
  409.                   4. Hold down ALT and type 255 on the keypad.
  410. The TNC will then reset, with the sign on message and default
  411. parameters and return to COMMAND mode.
  412.  
  413. Now exit from PROCOMM (Alt-X) and change to whatever directory
  414. you have NET.EXE in. NET is recommended.
  415.  
  416. Resist the temptation to type NET at this time because if you do 
  417. you will get a screen full of moderately unintelligible messages 
  418. which will dismay you somewhat. On the other hand if you feel 
  419. adventurous , try it. You will end up with an enigmatic prompt 
  420. which says net>. Type EXIT  and you will get back to the NET 
  421. directory. What we have not done yet is to load the port driver 
  422. and for this discussion we will use MBBIOS which you should have 
  423. found among the files that came with PE1CHL.NET. You will also 
  424. find a file called MBBCONFG. This program will allow you to set 
  425. up drivers for up to four COM ports and is tricky in the extreme 
  426. for us ordinary folk. However if we only need one or two COM 
  427. ports it is quite benign. Type MBBCONFG and you will get a fairly 
  428. explanatory screen which should look something like this: 
  429.  
  430.      SLOT        COM#         IRQ             SLOT TYPE
  431.      ----        ----         ---    -------------------------------
  432.       1           1            4     IBM Async card addressed as COM1
  433.  
  434.       2           2            3     IBM Async card addressed as COM2
  435.  
  436.       3                              Slot is unused.
  437.  
  438. If this is what you see and if you have COM1 and COM2 active in your
  439. machine you are lucky so hit F10 and forget about it.
  440.  
  441. If you do not have COM2 then enter a 2 in the box at the bottom of the
  442. screen and hit enter. You will be confronted with a very puzzling
  443. screen but not to worry if we only need to get rid of COM2.
  444. Right at the top in the menu you will see an item A. Slot is unused.
  445. Simply enter A into the highlighted box and hit F3 twice and you will
  446. be back to the NET prompt.
  447.  
  448. If you want to do something more complicated like set up COM3 and
  449. COM4, good luck. This is beyond the scope of this dissertation.
  450.  
  451. Now type MBBIOS and your machine will respond with a nice polite
  452. message which says "MBBIOS loaded and ready."
  453.  
  454. When you have finished running NET and want to do something else 
  455. it is important to unload MBBIOS. You do this by typing
  456.  
  457.                     MBBIOS /U
  458.  
  459. and it will again respond with a nice polite message which says:
  460.  
  461.                     MBBIOS successfully unloaded.
  462.  
  463. If you fail to do this and try and run PG.EXE for example you 
  464. will unpredictable and usually unwanted results.
  465.  
  466. There are several other port drivers which may be used and are 
  467. less touchy than MBBIOS. One that will be mentioned here is 
  468. X00.SYS. This has to be installed at startup of your computer by 
  469. including this line in your config.sys file:
  470.  
  471.              device = X00.sys E 2
  472.  
  473. The big disadvantage of this driver is that to unload it you have 
  474. to take it out of the config.sys file and reboot your computer. 
  475. Not always convenient and like MBBIOS, if you try and run 
  476. software which uses I/O functions you will run into trouble.
  477.  
  478. THE NET PROGRAM 
  479.  
  480. NOW at long last you can type NET without incurring the wrath of your
  481. machine.
  482.  
  483. After a short while you will see a Commercial telling you about the
  484. nice folks who prepared this magic and then a simple prompt which says
  485.                net>
  486.  
  487. At this point this program is somewhat unfriendly and the remainder of
  488. this document will try and help you make it a friend for life. You
  489. can, of course, type HELP. It will respond to this with a screen full
  490. of TCP/IP commands. Just that. No explanation. HELP (Command) does not
  491. do much to alleviate this situation but (Command)? sometimes 
  492. gives you some rather terse reminders. However be not dismayed 
  493. because there is now a world of data magic awaiting your 
  494. commands. 
  495.  
  496. If you look carefully at this HELP screen you will see ftl0 and
  497. Broadcast included therein. These are the commands we are going to use
  498. and you can ignore all the others.
  499.  
  500. Now type ftl0 (Enter). Your machine will respond with a message which
  501. says "ftl0 takes at least one argument". OK lets give it an argument.
  502. Type ftl0 ZZ (Enter). Your machine will respond with this message.
  503. ftl0 sub commands: cancel directory download homedir kick post status
  504.           trace and upload.
  505. Now it has condescended to tell us a little more about what it wants
  506. so let us explore further.
  507.  
  508. BASIC OPERATIONS
  509.  
  510. Directory
  511.  
  512. The first thing we must understand about NET is that it is a real time
  513. on line type program. It works with a satellite, in this case uo14, so
  514. we are not going to see much activity unless signals are being received.
  515. It will not even activate your transmitter unless the satellite is in view.
  516.  
  517. Well the first thing we need is a directory unless we already have one
  518. from PG. So let us consider a command like:
  519.            ftl0 dir uo14 t KI6QE 9111111230
  520.  
  521. This is not so bad. ftl0 is the protocol, dir (Directory),uo14 is the
  522. server, t(to), KI6QE (call sign), 911111230 (Hightime or date/time in
  523. ordinary language).
  524. After you type this in you will find that nothing will happen for a while.
  525. DO NOT TYPE IT IN AGAIN. This will only result in the command 
  526. being executed twice. If you must type something to boost your 
  527. morale try:
  528.  
  529.            ftl0 status uo14
  530.  
  531. and the computer will respond with the command you typed in 
  532. above. This means that it has got the message and wants to be 
  533. left alone.
  534.  
  535. This is useful to be able to confirm that it has got a batch of 
  536. stacked commands as we will see below.
  537.  
  538. Do not be alarmed. Nothing is supposed to happen until NET 
  539. detects a BBSTAT "Open" frame. As soon as this occurs you will 
  540. see the BBSTAT message on the screen and if there is a free slot 
  541. available NET will attempt to connect to UO14. As soon as it 
  542. connects it will ask for the directory of Private Messages to 
  543. KI6QE from the time indicated above. It will then proceed to 
  544. download this directory and place it in a file called dirfile.dl 
  545. and then disconnect. Unfortunately it does not tell you what is 
  546. in the directory at this stage so we have more work to do. Now 
  547. among the TCP\IP commands we have SHELL which allows us to exit 
  548. from NET WITHOUT UNLOADING IT and to execute commands from DOS. 
  549. We can read the directory by using PFH or a little more elegantly 
  550. by writing a little batch file to do this. Here is a sample.
  551.         File LISTDIR.BAT
  552.         pfh -c
  553.         c:\net\ftl0\uosat\dirfile.dl pfh -d
  554.         c:\net\ftl0\uosat\dirfile.dl > dir14.1st jtedit dir14.1st 
  555.  
  556. This will put on the screen the most recent directory, with the most
  557. recent entry first just by typing listdir ( jtedit is a little screen editor.
  558. You can use any one you wish). After you have done this and noted the file
  559. names, type EXIT to return to NET.
  560.  
  561. Other possible directory commands include:
  562.  
  563.                 ftl0 dir uo14 t *KI6QE* 9111111230
  564.  
  565. This will get multiple address files which include KI6QE as well as
  566. files just addressed to KI6QE
  567.  
  568.                 ftl0 dir uo14 t ALL 9111111230
  569.  
  570. This will get files addressed to ALL
  571.  
  572. Uploading
  573.  
  574. To upload a file we must have it already prepared with the PACSAT header
  575. (use PFH or PFHADD) and placed in the directory c:\net\ftl0\uosat3.
  576.  
  577. If this file is named CA1410T1.OUT, then the appropriate command is:
  578.  
  579.            ftl0 upload uo14 c:\net\ftl0\uosat3\ca1410t1.out delete
  580.  
  581. If you have several files to upload you can type the instructions in one
  582. after the other before the satellite comes over the horizon. In fact it is
  583. better to do this to save time during the actual pass. NET will listen for
  584. an OPEN frame and upload all the files you have "stacked" commands for. You
  585. will be able to see its progress on the screen. After the file has been
  586. uploaded it will be deleted from your disk. If you do not want to do this
  587. simply omit the word "delete".
  588.  
  589. Downloading
  590.  
  591. To download a file you must first get a directory (see above) and note the
  592. filenames of those files you wish to download. Let us say these are 33e0 and
  593. 33dc. You would stack two commands like:
  594.  
  595.                  ftl0 download uo14 33e0
  596.                  ftl0 download uo14 33dc
  597.  
  598. This will download as many files as you have stacked with a single connect.
  599.  
  600. Broadcasting
  601.  
  602. A much better and faster way to download files is by Broadcasting. (Just like
  603. PB). To do this we use the BROADCAST command like:
  604.  
  605.                  broadcast download uo14 33e0.
  606.  
  607. Instead of using the ftl0 protocol we are using broadcast. Use this as much
  608. as possible in place of download as it does not require a connect and
  609. therefore does not occupy a channel thus allowing others to use the satellite
  610. while you are still getting your files.
  611.  
  612. Summary to date.
  613.  
  614. Now we have the basics and can go ahead and use UO14. We could have included
  615. all of the above in one set of commands like:
  616.                 ftl0 dir uo14 t *ki6qe* 9111141230
  617.                 ftl0 upload uo14 c:\net\ftl0\uosat\ca1401t1.out
  618.                 broadcast download uo14 33e0
  619.                 broadcast download uo14 33dc
  620.  
  621. You can do this long before the satellite comes over the horizon and it
  622. will execute all of the above, even if you are not in the shack but rather
  623. in the sack.
  624. One problem, of course, is the directory. The above assumes you have obtained
  625. the file names 33e0 and 33dc from a directory obtained in a previous pass.
  626. We will address and solve this problem as we get into a discussion on
  627. automation.
  628.  
  629. AUTOMATION
  630.  
  631. One of the great things about NET is its great flexibility and really
  632. unfathomed potential. We can see from the discussion above that we have
  633. already achieved a degree of automation but we still have the problem of
  634. the directory which needs us to be there, SHELL out to get the file names,
  635. and then return and enter more commands while the satellite is in view.
  636. This is a pain, especially for those of us who are poor typists and it
  637. generally results in having to follow two passes and to use more 
  638. satellite time than we need. 
  639.  
  640. So what can we do without re-writing the software ? Well we have two very
  641. powerful tools at our disposal. Batch Processing and a TCP\IP command
  642. post. Batch processing we know about (more or less) but few of us have
  643. realized its enormous power and potential and you do not have to be a
  644. PhD or even a programmer to use it. We can write very simple little
  645. routines which will do gigantic tasks. We already gave an example above
  646. which co-ordinated two large software programs to do a needed task without
  647. us having to do a lot of typing and remembering complicated commands.
  648.  
  649. If you look at the very end of the example in the appendix you will see
  650. a line which you have probably been wondering about. It says
  651.  
  652.                     source /net/commands.net
  653.  
  654. What this means is that there is a file, commands.net, in the NET 
  655. directory which contains a bunch of stacked commands which we may 
  656. have prepared with a word processor or even by some other piece 
  657. of software. As soon as NET is loaded this tells it to look in 
  658. this file and load the commands that it contains. This now opens 
  659. the door to preparing sets of commands even when NET is not 
  660. loaded. A software module called "OUTMESS" which takes message 
  661. output from a Bulletin Board ,prepares the messages for upload 
  662. and writes the appropriate commands.net file is used extensively 
  663. in the Satellite Gateway System and will be described in another 
  664. document.
  665.  
  666. But we still have this pesky Directory and Download problem. This 
  667. is more complicated and takes more TCP\IP stuff to do it.
  668.  
  669. DOWNLOADING
  670.  
  671. The last line in the COMMANDS.NET file will look like this:
  672.              ftl0 post uo14 source dir
  673. Now let us see what this means and does. First note that this is
  674. the last of the stacked commands and NET will not execute it 
  675. until all commands above it have been completed. Remember that 
  676. one of these was a directory command for all private messages 
  677. addressed to you.
  678.  
  679. As soon as the stacked commands have been completed NET 
  680. disconnects from the satellite and looks for a source file called 
  681. "DIR" and executes the commands it finds there. This is DIR:
  682.                    shell /c clear14.bat
  683.                    source request
  684.                    ftl0 post uo14 source mail
  685. What this does is to SHELL to DOS and run a batch file called 
  686. clear14.bat. This uses two other programs called STAFIND and PFH
  687. and some DOS stuff to analyse the Directory just downloaded and 
  688. write a new file called REQUEST. This will look like this:
  689.                    ftl0 upload uo14 3693
  690.                    ftl0 upload uo14 35f6
  691. NET then executes these new commands by downloading all the files 
  692. that were in the directory, disconnects once more, and goes to 
  693. the next "POST" command in the last line of DIR. This points now 
  694. to another little source file called "MAIL" which looks like 
  695. this:
  696.                    shell /c inmess.bat
  697.                    ftl0 post uo14 #
  698.  
  699. So we execute another SHELL to DOS and run yet another batch file 
  700. called INMESS.BAT. This program uses PFH and PKUNZIP to strip off 
  701. the PACSAT header and extract the text (Messages) and consolidate 
  702. them into  a file called MAIL-IN.FBB. Presto we have solved the 
  703. Download problem and all has been accomplished automatically.
  704.  
  705. The above is a synopsis of a quite complex process and more 
  706. detail will be supplied in another document which will describe 
  707. in detail the setting up of an automated packet gateway.
  708.  
  709. CONCLUSION
  710.  
  711. This should provide you with enough information to get PE1CHL NET 
  712. up and running and to perform the same tasks that you have been 
  713. doing with PG and PB. You may be then tempted to try some 
  714. automation and it may also whet your appetite enough to explore 
  715. more complex applications and to venture into the world of 
  716. TCP/IP.
  717.  
  718. To become really familiar with NET you should now start reading 
  719. the HISTORY file which hopefully will now be a little easier to 
  720. follow and understand. If you run into any problems or things you 
  721. do not understand ask for HELP!!!! There are lots of people out 
  722. there who will come to your aid including PE1CHL himself.
  723.  
  724. Now as a final and exciting finale to this treatise I am ready to 
  725. announce that after countless hours of study and research I have 
  726. finally found out what TCP/IP stands for.
  727.  
  728.             TCP = TRANSMISSION CONTROL PROTOCOL
  729.              IP = INTERNET PROTOCOL
  730.  
  731. Isn't that exciting!!!!
  732.  
  733.  
  734.  
  735.  
  736.                         ATTACHMENT A
  737.  
  738. # PE1CHL-NET configuration file for PC as amended for KI6QE
  739. #
  740. # insert your callsign (in lowercase) instead of the callsign below.
  741. # don't add an SSID here, and change only the part between - and }
  742. #
  743. setenv CALLSIGN ${CALLSIGN-ki6qe}
  744. #
  745. # COM1 connected to NB96 modem(9k6)
  746. # Setup COM1 (second line) and COM2 (first line). don't change parameters!
  747. #
  748. #attach com 2 ax25 psk 120 4800 n $CALLSIGN-7
  749. attach com 1 ax25 9k6 240 19200 n $CALLSIGN-2
  750. #
  751. # AX25 configuration
  752. #
  753. ax25 digipeat on
  754. ax25 maxframe 4
  755. ax25 paclen 128
  756. ax25 pthresh 64
  757. ax25 retry 10
  758. ax25 t1 15000
  759. ax25 t2 1500
  760. ax25 t3 1800000
  761. ax25 t4 900000
  762. ax25 window 2048
  763. #
  764. # Misc settings
  765. #
  766. escape F10
  767. flow on
  768. #
  769. log c:\net\netnew.log
  770. setenv PROMPT "[use EXIT to go back to NET] ${PROMPT-$p$g}"
  771. #
  772. # KISS and AX25 stuff for each TNC connected
  773. #
  774. mheard 9k6 23
  775. mheard psk 23
  776. #mode 430 datagram
  777. #mode 144 datagram
  778. #ax25 digipeat 430 gate
  779. ax25 digipeat 9k6 gate
  780. ax25 persist 9k6 128 5 64 60 900
  781. ax25 persist psk 128 5 64 60 900
  782. ax25 digipeat psk gate
  783. # AX25 ports.  1=TNC 2=NetDigi 3=MHEARD 4=Bridge 5=TNC2 6=MBOX
  784. #
  785. ax25 port 1 conn $CALLSIGN
  786. ax25 port 1 digi $CALLSIGN-3 psk gate
  787. ax25 port 2 digi $CALLSIGN-8 9k6 gate
  788. #ax25 port 3 conn $CALLSIGN-3 144 multi
  789. ax25 port 3 conn $CALLSIGN-8 9k6 multi
  790. ax25 port 4 conn $CALLSIGN-6
  791. ax25 port 5 conn $CALLSIGN-12
  792. ax25 port 6 conn $CALLSIGN-1
  793. #
  794. # initialize KISS TNC on 430
  795. #
  796. param 9k6 1 50
  797. param 9k6 2 64
  798. param 9k6 3 30
  799. param 9k6 4 3
  800. param 9k6 5 1
  801. #
  802. # initialize KISS TNC on 144
  803. #
  804. param psk 1 50
  805. param psk 2 64
  806. param psk 3 30
  807. param psk 4 3
  808. param psk 5 1
  809. #
  810. # now we can safely start all servers
  811. #
  812. ax25 start bridge
  813. ax25 start mheard
  814. ax25 start netdigi
  815. ax25 start tnc "= Connect Text ="
  816. #ax25 start tnc2 3=144 4=430
  817. #
  818. broadcast start "\net\bcst"
  819. broadcast server uo14 9k6 uosat3-11 140 2 4 1 3 pblist
  820. broadcast server ao16 psk pacsat-11 244 2 4 1 3 pblist
  821. ftl0 homedir "\net\ftl0"
  822. ftl0 server ao16 psk pacsat-12 130 1 6 1 3 bbstat "Open"
  823. ftl0 server uo14 9k6 uosat3-12 140 2 4 1 3 bbstat "Open"
  824. ftl0 server lo19 psk lusat-12 130 1 6 1 3 bbstat "Open"
  825. ftl0 trace 00ff
  826. at 06:00 source \net\at0100.net
  827. #at 18:30 source \net\at0100.net
  828. source \net\commands.net
  829.