Date: Mon, 12 May 2003 21:48:33 +0930 From: Malcolm Kay <Malcolm.Kay@internode.on.net> To: Ryan Merrick <sandshrimp@attbi.com>, Dirk-Willem van Gulik <dirkx@webweaving.org> Cc: freebsd-questions@freebsd.org Subject: Re: Serial Console woes Message-ID: <200305122148.33616.Malcolm.Kay@internode.on.net> In-Reply-To: <3EBEF59A.70009@attbi.com> References: <20030511122715.A903-100000@foem> <3EBEF59A.70009@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 May 2003 10:45, Ryan Merrick wrote: > Dirk-Willem van Gulik wrote: > > On Sun, 11 May 2003, Ryan Merrick wrote: > >>I am trying to setup a serial console between two freebsd 4.8 boxes. > >>The cable is known good and has been tested on a master power with > >>#tip cuaa0b. > >> > >> > >> ttyd0 "/usr/libexec/getty Xwindow" unknown on insecure > > > > You are not seting any speed. Try something like > > > > =09ttyd0 "/usr/libexec/getty std.9600" dialup on insecure > > > > or see the handbook for the above example. On the _OTHER_ machine > > you sould have a line like > > > > =09cuaa0b:dv=3D/dev/cuaa0:br#9600:pa=3Dnone: > > > > in your /etc/remote to match the 9600 baud rate. > > > > Also Xwindow is a bit of a strange terminal for a serial console. You= may > > want to change that to 'dialup' or something more begin like vt52. > > > >>When I try to connect I get a beep and connected message and a new > >> line but I don't see anything else. I then ~^D out of tip with a [E= OT] > >> . > > > > Make sure you try a few returns > > > > Dw > > No joy, > > I have changed my ttys to: > ttyd0 "/usr/libexec/getty std.9600" xterm on insecure > > #/etc/gettytab describes std.9600 as: > > 2|std.9600|9600-baud:\ > > :np:sp#9600: > > I am using xterm to connect with. Cuaa0c in my /etc/remote is: > cuaa0c|cua0c:dv=3D/dev/cuaa0:br#9600:pa=3Dnone: > I recall having some difficulty connecting a standard VT200 terminal and = after=20 some exploration getting it working. In gettytab std.9600 is for a modem including such things as carrier dete= ct. You need a local setting on ttyd0. My gettytab has a local.9600 entry which sets clocal and xon/xoff flow co= ntrol (which you probably don't want). You might need to create your own gettytab entry. Malcolm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305122148.33616.Malcolm.Kay>