Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!soda.berkeley.edu!tmonroe From: tmonroe@soda.berkeley.edu (Anthony Monroe) Newsgroups: comp.os.386bsd.questions Subject: Re: FreeBSD: Kermit - set line /dev/tty00 hangs Date: 11 Jul 1994 18:08:21 GMT Organization: Computer Science Undergraduate Association, UC Berkeley Lines: 34 Message-ID: <2vs1ql$gg4@agate.berkeley.edu> References: <MATHEZER.94Jul10130217@fsj.cpsc.ucalgary.ca> NNTP-Posting-Host: soda.berkeley.edu In article <MATHEZER.94Jul10130217@fsj.cpsc.ucalgary.ca>, Stephen Mathezer <mathezer@cpsc.ucalgary.ca> wrote: > >With FreeBSD 1.1.5.1, I am trying to use Kermit to set up my SLIP >and/or PPP lines and therefore want to run it out of a script. The >problem is that 'set line /dev/tty00' sort of hangs kermit. Depending >on the incarnation of Kermit, a Ctrl-'\' may or may not help. It will >break me out no matter what, but depending on the Kermit it sometimes >will break out without having set the line. Regardless, this won't >help me when running it from a script. One way to get around it (and it doesn't matter if /dev/tty00 is your mouse or modem or whatever) is stty -f /dev/tty00 clocal. On my machine, when I start up kermit, it takes a LONG time and my modem (/dev/tty01) doesn't work without it. If this doesn't work ask one with more knowledge than I. As for running SLIP (like I am), it is most secure if the only scripting you do is your .kermrc file, which contains only setup information. Here's my .kermrc, for starters: set modem hayes set line /dev/tty01 set speed 57600 set parity none set flow rts/cts set terminal bytesize 8 set file type binary If you need a password for SLIP (and I assume that you do) it's a bad idea to keep it in plain text anywhere in the system. It's worth the trouble of typing it in every time. If you need any more help with SLIPping in with kermit, ask me by email. Tony