Date: Sat, 24 Dec 2011 07:17:19 -0500 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Matthew Luckie <mjl@luckie.org.nz> Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles Message-ID: <CAOgwaMsWU8XNhRFKxX1xmKnatQLEreN62xg%2BkHb4T486dHACsQ@mail.gmail.com> In-Reply-To: <4EF59C88.2010202@luckie.org.nz> References: <4EF59C88.2010202@luckie.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 24, 2011 at 4:34 AM, Matthew Luckie <mjl@luckie.org.nz> wrote: > Hi > > I'd like to be able to login using a null modem cable to a freebsd server, > from a freebsd laptop. It doesn't need to display boot messages, just > allow me to login after the system has booted. > > I've got a null modem cable connected to my freebsd server, and on the > other end is a USB serial port on my laptop. On the server I've got: > > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > > in /etc/ttys on the server: > > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > > and there is a getty running on that: > > $ ps xa| grep getty > 1825 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyu0 > > On the laptop, I have: > ugen1.2: <FTDI> at usbus1 > uftdi0: <USB to Serial Cable> on usbus1 > > as well as cuaU0 and ttyU0 entries in /dev. > > However, when I use cu on the laptop: > > sudo cu -l /dev/cuaU0 -s 9600 > > I never get a login prompt. If I press enter, the cursor scrolls down. > Likewise other characters echo back. I'm reasonably sure that I'm > connected to the appropriate com port on the server because if I plug it > into the other com port and press enter, nothing happens. > > It feels to me that I'm missing something basic. Can someone provide me > with some clue? > > Note: I'm reasonably sure the null modem cable and USB device are fine, > I've used them recently on an arm board (gateworks) running freebsd and it > worked fine then. > > Matthew > Perhaps the following pages will be helpful : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html#SERIAL-CABLES-PORTS http://www.freebsddiary.org/serial-console.php Thank you very much . Mehmet Erol Sanliturk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMsWU8XNhRFKxX1xmKnatQLEreN62xg%2BkHb4T486dHACsQ>