Click to See Complete Forum and Search --> : make modem answer


sapient
01-05-2001, 07:27 PM
how do you make a modem answer for a remote session?

PS. there are two modems shareing a line, US robotics and 3com lanmodem.

twofoolish2b
01-05-2001, 09:11 PM
To get your modem to pickup an incoming phone call:

Assumptions: *modem is on /dev/ttyS1, COM 2.

1: edit /etc/inittab
after the tty's are getty'd, near the bottom of the file, add the following:
s1:2345:respawn:/sbin/uugetty ttyS1 38400 vt100
save the changes

2: Check for /etc/gettydefs:
ls -l /etc/gettydefs
If missing then:
cp -p /usr/getty_ps 2.0.7j/Examples/gettydefs /etc/gettydefs

3: Check for /etc/default/uugetty.autoanswer:
ls -l /etc/default/uugetty.autoanswer
If missing then:
cp -p /usr/getty_ps 2.0.7j/Examples/default/uugetty.autoanswer
/etc/default/uugetty.autoanswer

4: Edit /etc/default/uugetty.autoanswer
Find the line ALTLOCK and change the device to your modem device
ALTLOCK=ttyS1
Save

5: Copy the uugetty info to a device specific config file:
cp -p /etc/default/uugetty.autoanswer /etc/default/uugetty.ttyS1

6: Reboot:
shutdown -r now
or re-init:
telinit -q


This works for me under Slackware 7.1. My problem is that after the modem connects I am unable to see anything in Hyperterminal from Windows. After I connect I will not even see a login prompt.

If anyone knows what that could be please let me know.

sapient
01-05-2001, 09:25 PM
thanks Ill give it a whirl this weekend.

Originally posted by twofoolish2b:

This works for me under Slackware 7.1. My problem is that after the modem connects I am unable to see anything in Hyperterminal from Windows. After I connect I will not even see a login prompt.


Am I to assume that you have no probs conecting from linux being that you have only mentioned hyperterminal issues?