Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!cmcl2!brl-adm!adm!franco@MIKEY.BBN.COM From: franco@MIKEY.BBN.COM (Frank A. Lonigro) Newsgroups: comp.unix.wizards Subject: Re: Kermit for UNIX system III/V. Message-ID: <8582@brl-adm.ARPA> Date: Fri, 31-Jul-87 10:30:50 EDT Article-I.D.: brl-adm.8582 Posted: Fri Jul 31 10:30:50 1987 Date-Received: Sat, 1-Aug-87 22:14:24 EDT Sender: news@brl-adm.ARPA Lines: 94 Robin: You may or may not know this about kermit, but I wrote this memo for our engineers and felt that if you tried using kermit this way that if you still have a problem then I believe something changed with your connection to the remote host. >>>>>NOTE<<<<< Please note that if you are connecting to a remote computer thru a hard wired tty line the same steps apply except you set the baud rate to 9600 and you of course skip the modem commands. The memo follows: CONNECTION THRU MODEM: To establish a connection to dial out, you must first be sure the modem is connect to a non-login port (for Boeing and Hughes 801, tty03 is a login and tty02 is a non-login, for our vax, ttyh2 is free to be either a login or a non-login). Once the modem is connected and turned on, you can connect to it by typing the following: kermit -l /dev/tty02 -b 1200 -c /* connect to modem */ This will connect you to the modem connected to /dev/tty02 at 1200 baud. The "-c" tells kermit to establish an interactive connection. Once connected, you can talk to the modem as we have done before, i.e..(at, atDT1234567 and so on). TRANSFERRING FILES: Once you login to the computer you want to connect to, you must start up "kermit" in "server' mode. This will set up the connection to send and receive files back and forth between the machines. :::NOTE::: Before doing this you will need to be in the directory where you want to take files from or send files to. To put kermit in server mode just type: kermit -x /* start remote kermit in server mode */ After this command you will see some garbage characters which you should ignore. The next step is to get back to your local machine. To do so just type: ctrl-\c /* control backslash and then a lower case "c" */ /* "NOT" control backslash and then control "c" */ Now that you are back to the local machine you can either take files from or send files to the remote computer. TAKING FILES: To take files from the current directory on the remote machine you can use the standard shell wild cards such as "*", "?" or "[]" to form file names so multiple files can be taken. A typical command might be to take all the ".c" and ".h" files. kermit -l /dev/tty02 -b 1200 -g "*.[ch]" SENDING FILES: To send files to the current directory on the remote machine you can follow the same syntax as taking files. A typical command might be to send the files you made changes to. kermit -l /dev/tty02 -b 1200 -s "scndis.c scn.h" Both taking and sending commands give you statistics on the files kermit is transferring and tells you when the process is finished. CLOSING CONNECTION: Once you are done transferring files, you must take the remote kermit out of server mode. You might also want to do this if you need to re-connect to the remote computer and change directories or some such command as that. The following command will stop the remote server. kermit -l /dev/tty02 -b 1200 -f Once you do that, you can re-connect to the remote computer by doing the connection command above and then either log out or change directories and start the transfer process all over again or what ever you want, but be sure you eventually log out of the remote machine. If you log out from the remote computer, you will once again be talking to the modem itself, so you will need to enter the "ctrl-\c" command to finally close the connection thru the modem.