What Devices there are-- the port FileNext: How to Dial a Up: UUCP Configuration Files
Previous: Restricting Call TimesWhat Devices there are-- the port FileThe port file tells uucico about the available ports.
These may be modem ports, but other types such as direct serial lines
and TCP sockets are supported as well.Like the sys file, port consists of separate entries
starting with the keyword port, followed by the port name.
This name may be used by in the sys file's port
statement. The name need not be unique; if there are several ports
with the same name, uucico will try each in turn until it finds
one that is not currently being used.The port command should be immediately followed by the
type statement that describes what type of port is described.
Valid types are modem, direct for direct
connections, and tcp for TCP sockets. If the port
command is missing, the port type defaults to modem.In this section, we will cover only modem ports; TCP ports and direct
lines are discussed in a later section.For modem and direct ports, you have to specify the device for calling
out using the device directive. Usually, this is the name of
a device special file in the /dev directory, like
/dev/cua1.In the case of a modem device, the port entry also determines what type
of modem is connected to the port. Different types of modems have to be
configured differently. Even modems that claim to be Hayes-compatible
needn't be really compatible with each other. Therefore, you have to
tell uucico how to initialize the modem and how to make it dial
the desired number. Taylor UUCP keeps the descriptions of all dialers
in a file named dial. To use any of these, you have to specify
the dialer's name using the dialer command.Sometimes, you will want to use a modem in different ways, depending
on which system you call. For instance, some older modems don't
understand when a high-speed modem attempts to connect at 14400bps;
they simply drop the line instead of negotiating a connect at, say,
9600bps. When you know site drop uses such a dumb modem, you
have to set up your modem differently when calling them. For this, you
need an additional port entry in the port file that specifies a
different dialer. Now you can give the new port a different name,
such as serial1-slow, and use the port directive
in drop system entry in sys.A better way is to distinguish the ports by the speeds they support.
For instance, the two port entries for the above situation may look
like this:The system entry for site drop would now give serial1
as port name, but request to use it at 9600bps only. uucico
will then automatically use the second port entry. All remaining
sites that have a speed of 38400bps in the system entry will be called
using the first port entry.Next: How to Dial a Up: UUCP Configuration Files
Previous: Restricting Call TimesAndrew AndersonThu Mar 7 23:22:06 EST 1996u
Wyszukiwarka
Podobne podstrony:
node16 GODBFK5634PBFWVNA3UPTJRZV4WGQGEJ7SSFRMYnode16node165 EYWTER4QOOPPTB7A5NRUVJ4ZVVPUNXDA6ECCQLYnode167 JPQTN5MGFD2SNEYOAIQQVLWSEZIDMOMI5QWSGCAnode168 BO2QQSVLT3BZRGFU3AHZIAG6SJ4GJTEO2RRSAGQnode163 YOK5VWAGL4X2JDXZLPHQVTD7IEKII4GSR3LN3LYnode162 VC6TQ454LWNKDPYCEQV2MYAKQ2BTN3IQZ4RE3LInode16node16node16node16 TMALCYKTFOKBTNDS234A3GORBQ3ERTZCWHTWK6Ynode161 NXSOFDVKVCZF55IMDAZPKBT25CP4VFCRIJ2DHOYnode160 TKBX44M2PY3NO5DZJ5I7T3JV5D77ZBEHEHFPYVYnode169 Z73D4H7RVQEWZCMKMDJO7SZ2BKJIUZOHQYZ7DYAnode164 AVDFVDJGBODYNUP754BW6CVG32552TS2JC2M4TYnode16więcej podobnych podstron