From owner-freebsd-questions@FreeBSD.ORG Mon Jun 29 04:03:15 2009 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 B3042106564A for ; Mon, 29 Jun 2009 04:03:15 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [74.1.12.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4E42A8FC0A for ; Mon, 29 Jun 2009 04:03:15 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 45431 invoked by uid 1008); 29 Jun 2009 05:08:31 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@24.193.246.51) by mail.el.net with ESMTPA; 29 Jun 2009 05:08:31 -0000 Message-ID: <4A483CD3.9040304@el.net> Date: Mon, 29 Jun 2009 00:02:27 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: serial modem 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: Mon, 29 Jun 2009 04:03:15 -0000 hi all... my first time using serial ports and modems. the modem is hooked up using RS-232 cable... modem specs: • Baud Rate: 115.2kbps • Bits: 8 • Stop Bits: 1 • Parity: none • Hardware Handshaking: Yes my /etc/ttys: ttyd0 "/usr/libexec/getty std.115200" dialup on ttyd1 "/usr/libexec/getty std.115200" dialup on then i do: # kill -HUP 1 ps shows: 62496 0.0 0.2 3184 952 ?? I 10:53PM 0:00.00 /usr/libexec/getty std.115200 ttyd0 62667 0.0 0.2 3184 1004 ?? I 11:37PM 0:00.00 /usr/libexec/getty std.115200 ttyd1 according to the handbook i would see the above. i'm not sure if i need both ttyd0 and 1 since i have hooked only one modem but there is no explanation about that in the handbook. messages says: Jun 28 23:37:17 moo getty[62667]: open /dev/ttyd1: No such file or directory and no other entries... so i guess that settles the need of ttyd1!?! ok. so now i put in /etc/remote: sio0|com1:dv=/dev/cuad0:br#115200:pa=none: and, following the instructions in the handbook, try reaching the modem doing: # tip -v cuad0 i get: tip: unknown host tip0 dmesg says: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] and in the /etc/gettytab i have: std.115200|115200-baud:\ :np:sp#115200: what next? thanks....