Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!reuter.cse.ogi.edu!news.co.intel.com!chnews!itnews.sc.intel.com!news.sprintlink.net!news-stk-200.sprintlink.net!news.sprintlink.net!new-news.sprintlink.net!newsreader.sprintlink.net!news.sprintlink.net!news-dc-5.sprintlink.net!news.sprintlink.net!news-dc-9.sprintlink.net!news.mathworks.com!newsfeed.internetmci.com!hunter.premier.net!netnews.worldnet.att.net!ix.netcom com!netcom.net.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Dialin modem/ttyd3 making me crazy Date: 26 Jun 1996 11:08:59 -0500 Organization: Coverform Ltd. Lines: 55 Message-ID: <4qrnar$b3@anorak.coverform.lan> References: <betts.192.03D705D9@onramp.net> NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Jeff Betts (betts@onramp.net) wrote: : All I want to do is be able to dial in and login to my shell -- no ppp or : anything fancy. Internal modem is on com4 (ttyd3/cuaa3) and I *can* talk to : the modem on cuaa3. So you've got an IRQ that doesn't conflict with COM2 (cuaa1) ? : When I call in to the modem from a remote modem, the 2 modems successfully : negotiate a connection and report 14400/ARQ, but that's where we get stuck. I : either get a stream of "diamonds" (ascii 4 on the pc) that does *not* seem to : match the signon banner, or nothing. Checking ps on the FBSD side shows getty : is still running on ttyd3 -- no login process has started. Does the dial-in-side have 8bits, no parity, 1 stop-bit ? : rc.serial is as distributed, but I confess that I don't understand what (if : anything) it does. It appears to have several functions, none of which get : called. Should I be calling one of them somewhere? Perhaps from rc.local? rc.serial allows you to set your sttys on the device. You should call it at least once, but you need to adjust it for your system - specifically the DTE speed (57600 by default), and uncomment one of the lines at the bottom.. : I have (I believe) locked DTE as I have seen suggested and am out of : ideas. Hopefully, one of you will have some ideas. : Following are relevant details -- probably more that anyone wants, but better : too much than too little :-) : /etc/ttys: : ttyd3 "/usr/libexec/getty std.38400" vt100 on I'd use 57600 (or 115200) if your modem supports those DTEs. You can get it to work outgoing, so you can figure out which DTEs your modem supports. : /etc/gettytab: : default:\ : :cb:ce:ck:lc:fd#1000:im=\r\nWelcome to FreeBSD (%h) (%t)\r\n : \r\n:sp#1200: : std.38400|38400-baud:\ : :np:sp#38400: Looks ok (but I'd use a different speed) : MODEM ACTIVE PROFILE: [detail deleted] I'd really suspect that the other end has not got 8 bits, no parity, 1 stop-bit as I said above. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....