On Mon, Jan 27, 2014 at 10:57:59AM +0000, Zé Loff wrote: > On Thu, Jan 23, 2014 at 10:47:05AM +0000, Zé Loff wrote: > > Sorry if it's a dumb question, but I'm stuck... > > > > I have two machines (yesterday's current, one i386, one amd64) and I can > > properly setup a serial console on the i386 and access it on the amd64 > > (i.e. changes in boot.conf and /etc/ttys as per the FAQ). This tells me > > that the cable is OK, that there are no IRQ issues going on, that it all > > works at the set baud rate (9600), etc... > > > > However, I can't get a simple terminal on the same tty device (i.e. not > > the system's console). Without a /etc/boot.conf file, and an otherwise > > vanilla /etc/ttys except for the following line > > > > tty00 "/usr/libexec/getty std.9600" vt100 on secure > > > > I don't get a login prompt when connecting on the other machine, even if > > ps shows that there is a getty instance running for tty00. > > > > The ultimate goal is to be able to manage a couple of "com > > port-impaired" HP MicroServers using a couple of ATEN USB serial > > adapters, which can't be used for serial consoles for obvious reasons. > > That's why I need to get a login on a serial terminal other than the > > system's console... > > > > Any clues? > > Thanks in advance > > Zé > > > > Sorry for insisting, but no one has a hint of why with this /etc/ttys > > # name getty type status comments > console "/usr/libexec/getty std.9600" vt100 on secure <--- > tty00 "/usr/libexec/getty std.9600" vt220 off <--- > ... > > and this /etc/boot.conf > > stty com0 9600 > set tty com0 > > I can remotely connect, but with this /etc/ttys > > # name getty type status comments > console "/usr/libexec/getty std.9600" vt220 off secure <--- > tty00 "/usr/libexec/getty std.9600" vt100 on secure <--- > ... > > and no /boot.conf I can't? Cluebats welcome. >
I think what is tagged as "console" automatically gets the "local" flag set. Altough, my whole experience with serial console is with sparc/vax not i386/amd64, things may differ in that world. Try in /etc/ttys: tty00 "/usr/libexec/getty std.9600" vt100 on secure local If you don't want to reboot, look at ttyflags(8). Good luck.