(个人观点 - 我知道有些人对“易用性”的执着就像我对“符合标准”的执着一样。这就是为什么他们提供你可以自行构建的源代码 :-) )
因为恕我直言,目前这是事实上的标准 UUCP 实现。有成千上万的站点拥有经验丰富的管理员,并且有很多地方可以获得关于 HDB 设置的非常好的信息。
此外,如果你知道 HDB 是什么,你就不应该阅读这篇 HOWTO :-)
使用 /usr/sbin
中的 uuconv
实用程序来转换不同模式之间的配置文件。
如果你在 Devices 文件中使用 "Direct" 设备,现在编译时内置了 10 秒的超时。将设备名称改为 "Direct" 以外的任何名称。如果你调整了提供的示例 /etc/uucp
文件,你就不会遇到这个问题。
如果你遇到聊天脚本超时,你可以通过编辑 uuconf/syssub.c
文件中的第 323 行并将默认超时时间从 10 秒更改为更大的值来调整源代码。
如果你遇到聊天脚本超时,通常是连接到其他 Taylor 站点时,在登录后暂停一下可以解决这个问题。
feed Any ACU,ag 38400 5551212 ogin: \c\d "" yourname word: passwd
一些内核在几秒钟后会遇到调制解调器挂断的情况。Ian Taylor 发送的以下补丁可能会有所帮助。
*** conn.c.orig Mon Feb 22 20:25:24 1993
--- conn.c Mon Feb 22 20:33:10 1993
***************
*** 204,209 ****
--- 204,212 ----
/* Make sure any signal reporting has been done before we set
fLog_sighup back to TRUE. */
+ /* SMR: it seems to me if we don't care about SIGHUPS, we should clear
+ the flag before we return */
+ afSignal[INDEXSIG_SIGHUP] = FALSE;
ulog (LOG_ERROR, (const char *) NULL);
fLog_sighup = TRUE;
Taylor 在 HDB 模式下似乎对空格和空行很敏感。为了安全起见,请确保 Permissions 文件中没有空行或尾随空格。
最后,确保在 /usr/lib/uucp
或 /etc/uucp
中有一个名为 remote.unknown
的文件,并且它不是可执行的。
有关此文件的详细信息,请参阅 O'Reilly & Associates 出版的书籍 "UUCP 和 USENET 管理"
。
很可能,你正在尝试使用一个不存在的拨号器,或者你在端口文件中指定的拨号器与 dial 文件中的任何有效设备都不匹配。
以下是在 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 #----------------------------------------------------------------------
新的 v1.05 为 uucico 添加了一个 '-z' 开关,它将尝试远程系统的备用号码。
你也可以使用 Taylor 模式和 "systemyouarecalling-2"(有关更多详细信息,请参阅配置文件部分中的“sys”)