端口设置:波特率为9600,8位数据位,1位停止位,无奇偶校验,无流控。console口可直接接入各种异步终端,也支持通过modem远程接入。参见第一部分第二章 图1-2-3
路由器和计算机主机串行口的连接如图2-1-1所示:

2 unix下配置路由器
以sco unix 3.2v4.2为例。
用超级用户root登录,按如下方法进行设置。(其中象uuinstall这种字体代表用户输入)
# uuinstall
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 : 3
at a prompt, enter the text followed by [return]. use "?"[return] to get help, "q"[return] to quit back to the menu, "-"[return] for an unwanted entry, or just [return] to keep the default text shown.
display or update direct- or dial-out lines (devices)
=====================================================
1. display the devices file
2. add a new device entry
3. delete a device entry
4. change a device entry
choose an option (1-4), or q to quit : 2
there is no entry in the devices file
device type acu
tty line tty1a
dialer line -
speed range 1200-2400 9600
dialer hayes2400 -
new entry is accepted :
device type acu
tty line tty1a
dialer line -
speed range 9600
dialer direct
display or update direct- or dial-out lines (devices)
=====================================================
1. display the devices file
2. add a new device entry
3. delete a device entry
4. change a device entry
choose an option (1-4), or q to quit : q
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
devices file successfully updated.
use main menu option 5 to check files.
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 : 4
at a prompt, enter the text followed by [return]. use "?"[return] to get help, "q"[return] to quit back to the menu, "-"[return] for an unwanted entry, or just [return] to keep the default text shown.
display or update direct- or dial-in lines (/etc/inittab)
=========================================================
1. display inittab file
2. enable login on a line
3. disable login on a line
choose an option (1-3), or q to quit : 2
]]] there is no entry in /etc/gettydefs file
lines currently enabled in /etc/inittab:
sc_m:tty01 sc_m:tty02 sc_m:tty03 sc_m:tty04 sc_m:tty05 sc_m:tty06
sc_m:tty07 sc_m:tty08 sc_m:tty09 sc_m:tty10 sc_m:tty11 sc_m:tty12
lines currently disabled in /etc/inittab:
m:tty1a
line ? tty1a
mode ? 2
display or update direct- or dial-in lines (/etc/inittab)
=========================================================
1. display inittab file
2. enable login on a line
3. disable login on a line
choose an option (1-3), 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 : q
#
在进行完以上设置后,采用cu程序即可。
在命令提示符下键入cu-s9600-l/dev/tty1a dir,其中-s参数为传输速率,-l参数为通讯线路的设备文件,dir说明是直连。