How Can I setup modem for dialin access?

Gray Fox

Registered
Greetings,

I guess that there are two parts to the question

1) How can I talk to the modem and turn auto answer on/off

2) How can I configure getty to spawn a login session on the
modem line ( tty.modem ?)

Thanks for any info....

--Jerry
 
Hi there!

I am also trying to setup dialing into a Mac OS X server machine.
Here is what I've figured out:

In the /dev directory there are 2 devices related to the internal modem: tty.modem and cu.modem.

tty.modem is for incoming calls
cu.modem is for outgoing calls

To verify the above in a terminal window type:
ioreg -c IOSerialBSDClient

You will get several lines of output. Locate the line IOSerialBSDClient, under that block you will
see the lines: "IODialinDevice", "IOCalloutDevice".

The Internet Connect application uses cu.modem to dial out.

In the /etc/ttys file I added the line:
tty.modem "/usr/libexec/getty std.9600" dialup on

In order to get a getty running on that port I typed in a terminal
window: kill -HUP 1

After giving the above command my machine got in a hang state for several seconds. I solved this hanging problem by installing
a new version of AppleSCCSerial kernel extension.

Now my modem connects, but I don't get a login prompt.

I believe the problem is because getty opens the modem port as soon as it runs. The getty process should be in an idle state and
open the port after the two modems have established a connection.

Thanks for any info.

Dimitris
 
Back
Top