From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 26 10:38:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A52416A4CF for ; Mon, 26 Apr 2004 10:38:49 -0700 (PDT) Received: from ack.Berkeley.EDU (ack.berkeley.edu [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B09E43D58 for ; Mon, 26 Apr 2004 10:38:49 -0700 (PDT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i3QHcmG25822 for freebsd-hackers@freebsd.org; Mon, 26 Apr 2004 10:38:48 -0700 (PDT) Date: Mon, 26 Apr 2004 10:38:48 -0700 From: Mike Hunter To: freebsd-hackers@freebsd.org Message-ID: <20040426173848.GA24490@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Core dump with tip (ucom0 -> external modem) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 17:38:49 -0000 Hey everybody, I am trying to set up a FBSD 5.2.1-RELEASE machine to be able to dial a number via tip as described here: http://docs.freebsd.org/doc/5.1-RELEASE/usr/share/doc/faq/serial.html (That page is a bit out of date, at least in that it says it applies to FBSD 2, 3, and 4.) My HW setup is an old pentium box with a USB to Serial cable attaching to a USR external 56k Modem. I added this to my /etc/remote tip115200|Dial any phone number at 115200 bps:\ :dv=/dev/ucom0:br#115200:at=hayes:pa=none:du: tip57600|Dial any phone number at 57600 bps:\ :dv=/dev/ucom0:br#57600:at=hayes:pa=none:du: cu115200|Use cu to dial any number at 115200bps:\ :dv=/dev/ucom0:br#57600:at=hayes:pa=none:du: tip9600|Dial any phone number at 9600 bps:\ :dv=/dev/ucom0:br#9600:at=hayes:pa=none:du: But the suggested command gives me core: tip -115200 23645 Segmentation fault (core dumped) Same result with -57600, -9600 and with cu syntax I have an entry for the usb serial device: usb1:dv=/dev/ucom0:br#9600:pa=none: And if I say tip usb1 I can issue dialer commands and it works. The ultimate goal here is having somebody be able to run a shell-script named "dial-funkybox" and have it dial and connect them. Sorry if I left out something important. Any thoughts? Thanks, Mike