Core dump with tip (ucom0 -> external modem)
Mike Hunter
mhunter at ack.Berkeley.EDU
Mon Apr 26 10:38:49 PDT 2004
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
More information about the freebsd-hackers
mailing list