SCO Unix OSR5.05.
I had pb when dial (with cu) to an OSR5.05 with an available line in
/usr/lib/uucp/Devices.
So I did what Roberto Zini said in message ("Dial-in pb" found in
dejanews.com).
So I works when dial-in, but when I want to dial-out from this Unix box,
I get "No devices available".
How can I resolve this ?
Thank's.
F. STOCK
By getting your Devices and Systems files in sync with each
other or by dialing direct.
Thee are three ways to dial out using cu. The first needs a
"Direct" entry in /usr/lib/uucp/Devices for the port you
want to use. It might be:
Direct tty1a - 57600 direct
If that's true, and /dev/tty1a is owned by cu, you can then
say:
cu -ltty1a dir
and you'll be connected to the modem and can type atdt etc.
The other way uses dialers. You'd have an ACU entry,
something like this:
ACU tty1A - 57600 atdialUSR
With that entry, you could say:
cu 18005551212
(though most of us would use "cu -x9" so we could watch the
connection).
The final way is to have an entry in your Systems file.
This would look like
world Any ACU 38400 16177399753 ogin: xxx/rppp sword:
xxxxxxxx
(the login and password info is NOT used by cu but is used
by ppp)
If I had the above entries, I'd get that No Devices
available message if I said
cu -x9 world
The reason is that speeds don't match. The Devices file
says 57600, but Systems says 38400. They need to match-
change one or the other.
Another thing to know is that there is nothing magic about
ACU- that can be any label you like, but again, it's got to
match in both files. Having your own labels can be useful
when you need particulat behavior for certain sites, such as
only using a specific modem. If you had, for example
ACU tty1A - 57600 atdialUSR
ACU tty2A - 57600 atdialUSR
SPC tty1A - 57600 atdialUSR
in Devices, and
world Any ACU 57600 16177399753
europe Any ACU 57600 15555555555
in Systems, then a "cu world" would use either tty1A or 2A,
whichever was available, but a "cu europe" would only use
tty1A.
--
Tony Lawrence (to...@aplawrence.com)
SCO/Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com