下一页 上一页 目录

6. 关于 Linux UUCP 的常见问题解答

6.1 为什么这里的所有信息都是关于配置为 "Taylor" 而不是 "HDB" 模式的 UUCP?

(个人观点 - 我知道有些人对“易用性”的执着就像我对“符合标准”的执着一样。这就是为什么他们提供你可以自行构建的源代码 :-) )

因为恕我直言,目前这是事实上的标准 UUCP 实现。有成千上万的站点拥有经验丰富的管理员,并且有很多地方可以获得关于 HDB 设置的非常好的信息。

此外,如果你知道 HDB 是什么,你就不应该阅读这篇 HOWTO :-)

使用 /usr/sbin 中的 uuconv 实用程序来转换不同模式之间的配置文件。

6.2 当我升级到 uucp-1.04 时,为什么会遇到“超时”连接?

6.3 为什么 HDB 匿名 uucp 似乎不起作用?

Taylor 在 HDB 模式下似乎对空格和空行很敏感。为了安全起见,请确保 Permissions 文件中没有空行或尾随空格。

最后,确保在 /usr/lib/uucp/etc/uucp 中有一个名为 remote.unknown 的文件,并且它不是可执行的。

有关此文件的详细信息,请参阅 O'Reilly & Associates 出版的书籍 "UUCP 和 USENET 管理"

6.4 “no matching ports found”是什么意思?

很可能,你正在尝试使用一个不存在的拨号器,或者你在端口文件中指定的拨号器与 dial 文件中的任何有效设备都不匹配。

6.5 哪些是 HDB 模式下已知良好的配置文件?

以下是在 Linux 下 HoneyDanBer 模式中 Taylor 1.05 的“已知良好”配置文件。它们在 0.99-8 或更高版本的内核上工作。除非你调整了源代码将 uucp 库放在其他地方,否则所有文件都应该在 /usr/lib/uucp/etc/uucp 中。

如果你确实将东西放在了非标准位置,请注意像 sendmail 这样的程序可能会非常困惑。你需要确保所有与通信相关的程序都认同你对“标准”路径的理解。

#------------- Devices -------------
# make sure the device (cua1 here) matches your system
# cua N = COM N+1 
#
# here "scout" is the Digicom Scout Plus 19.2 modem I use
# tbfast etc. is for a Telebit Trailblazer Plus modem's various speeds
#
ACU cua1 - 19200 scout
ACU cua1 - 9600 tbfast
ACU cua1 - 1200 tbslow
ACU cua1 - 2400 tbmed

#------------- dialers --------------
# note the setting of the Trailblazer registers "on the fly"
# "scout" is a Digicom Scout Plus (Hayes-like) modem I use here
#
scout   =W-,    "" ATM0DT\T CONNECT
tbfast  =W-,    "" A\pA\pA\pT OK ATS50=255DT\T CONNECT\sFAST
tbslow  =W-,    "" A\pA\pA\pT OK ATS50=2DT\T CONNECT\s1200
tbmed   =W-,    "" A\pA\pA\pT OK ATS50=3DT\T CONNECT\s2400

#-------------- Systems -------------
# this is a very generic entry that will work for most systems
#
# the Any;1 means that you can call once per minute with using -f (force)
# the ACU,g means force "g" protocol rather than Taylor's default "i"
#
fredsys Any;1 ACU,g 19200 scout5555555 "" \r ogin:--ogin: uanon word: uanon 

#-------------------------------- Permissions -------------------------

# Taylor UUCP in HDB mode appears to be sensitive to blank lines.
# Make sure all Permissions lines are real or commented out.
#       
# this is a anonymous uucp entry
#
LOGNAME=nuucp MACHINE=OTHER \
READ=/var/spool/uucp/nuucp \
WRITE=/var/spool/uucp/nuucp \
SENDFILES=yes REQUEST=yes \
COMMANDS=/bin/rmail
# # this is a normal setup for a remote system that talks to us
# note the absolute path to rnews since this site puts things
# in locations that aren't "standard"
#
LOGNAME=fredsys MACHINE=fredsys \
READ=/var/spool/uucp/fredsys:/var/spool/uucp/uucppublic:/files \
WRITE=/var/spool/uucp/fredsys:/var/spool/uucppublic \
SENDFILES=yes REQUEST=yes \
COMMANDS=/bin/rmail:/usr/bin/rnews
#----------------------------------------------------------------------

6.6 让 uucico 呼叫备用号码

新的 v1.05 为 uucico 添加了一个 '-z' 开关,它将尝试远程系统的备用号码。

你也可以使用 Taylor 模式和 "systemyouarecalling-2"(有关更多详细信息,请参阅配置文件部分中的“sys”)


下一页 上一页 目录