Providing 1200 baud line-mode dialup connection to NetBSD server.

Submitted by foxpas
on August 14, 2008 - 7:26pm

I hope my question is appropriate to this forum. I can't find anything in the NetBSD archives (maybe I just don't know where to look). I am a retiree with a mostly software background supporting a small NetBSD 1.6.2 server. I've developed a need to connect via modem from early 80's vintage hardware - in line mode, of course (it's a hobby thing) - and have a "perfect" modem for the job in the form of a U.S. Robotics 1200 baud sportster - remember those? I've been floundering for some days now trying to get the modem and NetBSD configuration right. The modem answers my cellphone, but I've been unable to connect to it from a NetBSD login via Minicom to prove the NetBSD config, and so have not tested login from outside via the hardware I intend to use. All I want to do via Minicom is test access to it from within (modem and Minicom are both Hays compatible); actual usage will be in the other direction by dialing a phone number and entering a login$password. I've added the following to /etc/ttys and then performed a 'kill -s HUP 1'.

tty00 "/usr/libexec/getty d1200" vt100 on #software handshake

Is this correct, and what other NetBSD configuration (besides Minicom) do I need to perform?

Thanks,
Foxpas

The first thing you should

Anonymous (not verified)
on
August 15, 2008 - 1:38pm

The first thing you should do is to make certain that you can connect to the modem on the user side. E.g. connect via minicom, and make certain that you get responses to your AT commands. Do watch out though, as minicom by default will try to issue its own set first. I personally find this annoying and always strip those out when I start out down this path.

You don't mention whether you did that, but you won't be going very far if that isn't working.

Also, what kind of serial connector are you using? In particular, does it just have 2 wires going through (RX and TX)? Or does it do the full modem handshaking? In particular, is DCD (Data Carrier Detect) supported? Most connections are based upon the latter being raised by the modem when an incoming call comes through.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.