From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 10:02:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7322E1065687 for ; Sat, 24 Dec 2011 10:02:39 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter36.ihug.co.nz (mailfilter36.ihug.co.nz [203.109.136.36]) by mx1.freebsd.org (Postfix) with ESMTP id 17A9A8FC08 for ; Sat, 24 Dec 2011 10:02:38 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=rLIBlA-vWZoA:10 a=8nJEP1OIZ-IA:10 a=4I9GS2+5MeiblGGCbOibBg==:17 a=r01N2pomi5wL5mTHProA:9 a=lkNeKTPGAReCyA6mq7cA:7 a=wPNLvfGTeEIA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EADOb9U52Xbq1/2dsb2JhbABDrDmBBoIxHiI9DQEIGAMCAQIBJxgZCAEBoBGfN4N9hHQBA4MaBJUCjgCESg X-IronPort-AV: E=Sophos;i="4.71,403,1320577200"; d="scan'208";a="113928259" Received: from 118-93-186-181.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.93.186.181]) by cust.filter6.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Dec 2011 22:33:31 +1300 Received: from mylar.luckie.org.nz ([192.168.1.24]) by spandex.luckie.org.nz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ReNys-0000dP-QN for freebsd-questions@freebsd.org; Sat, 24 Dec 2011 22:33:30 +1300 Message-ID: <4EF59C88.2010202@luckie.org.nz> Date: Sat, 24 Dec 2011 22:34:00 +1300 From: Matthew Luckie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 10:02:39 -0000 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: at usbus1 uftdi0: 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