> > Assuming you haven't modified the original /etc/gettydef, change "3" to "o".
> No. I haven't.
> > Don't use dialers, create your own atdialer script with
> Is it really needed? I don't dialout. I just have to serve dial-in links?
Yes, no, maybe and of course.
Strictly speaking, you do not need anything in /usr/lib/uucp/Devices
for a dial-in line to work. However, getty does *use* information
from that file to reset the modem after a session, so you may
*want* to have an entry there.
However, my approach to these things is to work from simplicity:
get the most basic things working, and then build from there. I
often have to deal with people who have non-functional modems,
and what I want to do is just get it working at a basic level
so that I can dial in and do more. In your case, you want to
get it working at a basic level so that you can have a working
starting place, to which you add more functionality.
So, my suggestion is to start by forgetting about PPP. Yes,
you want inbound PPP, but you need a working dial-up login
first.
Second, clean out /usr/lib/uucp/Devices. Copy it to a Devices.safe
first, and then use vi, and do "1,$s/^/#/". This will comment out
EVERYTHING, so there is no possibility of a conflict, getty can't
possibly reset you to some unexpected value, and you are starting
fresh.
Now add ONE line to the very top of the file:
Direct tty1a - 38400 direct
Note that's a LOWER-CASE a.
Now disable the port:
disable tty1a
disable tty1A
One or both of these may say "already disabled"; that's OK.
Now cu, using:
cu -ltty1a dir
(that's minus-ell and tty-ONE-a)
Issue the appropriate command to set your modem to fixed DTR. For
most Hayes clones, including US Robotics, that's AT&B1. It's
possible that you may want other settings (you certainly
cannot ignore S0, for example), but the idea here is to keep
it SIMPLE. You can worry about flow control and everything
else later. We just want a login. Get that, and the rest
can be added in stages.
Now edit /etc/inittab and change the tty1A (upper case) to have
"o" at the end of the line. Again, there are better things
we can do involving new entries in /etc/gettydefs, but we
just want to get it working. Don't bother with /etc/conf/init.d/sio
for now, but do remember to come back to that later.
Finally, enable tty1A (upper case). Dial in using another machine.
If you DO NOT get a garbage free login, start over again with 19200
and "n" instead. Modern equipment should not have to do this,
but real crappy old stuff might even have to drop to 9600. That's
still better than the 2400 you are using now, though.
Again, please see the article at
http://www.aplawrence.com/unixarticles.html entitled "High Speed
Modems" for more information and details.
--
SCO ACE
Microsoft MCSE
http://www.aplawrence.com