sco拨号详解( 二 )


4. Display or update direct- or dial-in lines (/etc/inittab)
5. Check consistency of UUCP files
6. Test connection with remote site
7. Convert old UUCP files to new format

Choose an option (1-7), or q to quit : 1

Display or update site or Machine name (/etc/systemid)
======================================================

1. Display local site name and machine names
2. Update local site name and machine names

Choose an option (1-2), or q to quit :q

UUCP Administration Utility
===========================

1. Display or update site name
2. Display or update list of remote sites (Systems)
3. Display or update direct- or dial-out lines (Devices)
4. Display or update direct- or dial-in lines (/etc/inittab)
5. Check consistency of UUCP files
6. Test connection with remote site
7. Convert old UUCP files to new format

Choose an option (1-7), or q to quit : 2

At a prompt, enter the text followed by . Use "?"
to get help, "q" to quit back to the menu, "-" for
an unwanted entry, or just to keep the default text shown.

Display or update list of remote sites (Systems)
================================================

1. Display the Systems file
2. Add a new site entry
3. Delete a site entry
4. Change a site entry

Choose an option (1-4), or q to quit : 2

Site names listed in the Systems file :

sosco scolon


Which entry do you want to COPY (or to see all) ? sosco
----------------
Site name : sosco
Schedule : Any
Device type : ACU
Speed range : 2400-9600
Phone number : scz4253502
Expect login : -rd-ogin:-Kd-ogin:-Kd-ogin:
Send login : uusls
----------------这是原来的配置
Site name ? sosco test
Schedule ? Any
Device type ? ACU
Speed range ? 2400-9600 9600
Phone number ? scz4253502 62177722
Expect login ? -rd-ogin:-Kd-ogin:-Kd-ogin: -
----------------修改的

实际上系统编辑的是 /usr/lib/uucp/Systems文件 。


注意最后一行只输入一个小“-” 。用户名和密码不在这里输入 。

说明:系统本来有两个模版,选择添加的时候会提示你 。**建议不要修改原来的模版**,选择copy为好,还有不要用退格擦去原来的信息,直接在后面填上你的信息就可以了 。

之后屏幕显示:

New entry is accepted :

Site name : yzpp
Schedule : Any
Device type : ACU
Speed range : 9600
Phone number : 6052733
Expect login : -

Display or update list of remote sites (Systems)
================================================

1. Display the Systems file
2. Add a new site entry
3. Delete a site entry
4. Change a site entry


Choose an option (1-4), or q to quit : q

修改完后会提示你是否写入文件,选择y.

Changes have been made. These should now be written to the file,
or otherwise they will be discarded. Write out to file (y/n) ? y
Systems file successfully updated.
Use main menu option 5 to check files.

输入q回到主菜单,选择5 测试文件的一致性 。通过后选择6,测试uucp的连接 。



Choose an option (1-7), or q to quit : 5

Check consistency of UUCP files
===============================

This option checks the consistency of the files
Systems, Devices, Dialcodes and /etc/inittab, but
does not modify them nor attempt any connection.
Use main menu option 6 to test connections.

Errors are shown on screen, and also saved in
the file /usr/lib/uucp/Checklog.

Proceed to checking (y/n) ? y

Reading the Systems file ...

Reading the Devices file ...

Reading the Dialcodes file ...

Reading the Dialers file ...

Reading /etc/inittab file ...

Checking the Systems file ...

Checking the Devices file ...

推荐阅读