Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 10:38:48 -0700
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        freebsd-hackers@freebsd.org
Subject:   Core dump with tip (ucom0 -> external modem)
Message-ID:  <20040426173848.GA24490@ack.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040426173848.GA24490>