\documentclass[letterpaper]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{ISP-Hookup-HOWTO}
\author{×÷Õß£ºEgil Kvaleberg, {\ttfamily egil@kvaleberg.no}\\ 
ÒëÕß:
Ð»À¥ÖÐ HSIEH Kun-Chung, Ì¨Íå ÖÐ»ªÃñ¹ú Taiwan, Republic of China (NOT People's Republic of China)
{\ttfamily (\onlynameurl{linuxer.bbs@cis.nctu.edu.tw} )}}
\date{ v1.26°æ£¬1998Äê 3ÔÂ 5ÈÕ ·­ÒëÍê³ÉÈÕ£ºv1.26°æ£¬ ÖÐ»ªÃñ¹ú 87Äê 11ÔÂ 5ÈÕ}
\abstract{Õâ·ÝÎÄ¼þÔÚÐðÊöÈçºÎÊ¹ÓÃ Linux À´¾­ÓÉ²¦½Ó modem Á¬½Óµ½ ISP ÍøÂ··þÎñ½Ó¹©ÒµÕßµÄÍøÂ·ÉÏ¡£\idx{TCP/IP} Á¬½Ó»¹ÓÐ»ù±¾µÄ²¦½Ó³ÌÐò¼°\idx{IP}
Êµ¼Ê²Ù×÷£¬ email ¼° news µÄ´¦ÀíÒ²°üº¬ÔÚÄÚ¡£}


\begin{document}
\maketitle
\tableofcontents





\section{½éÉÜ}

±¾ÆªÎÄ¼þÔÚÐðÊö¼°»Ø´ð¹Øì¶²¦½ÓÕÊºÅÊ¹ÓÃÕßÈçºÎ²¦½Ó \idx{dial-up} µ½\idx{ISP} (Internet Service Provider)
µÄÏà¹Ø½¨¹¹ÒÔ¼°Ê¹ÓÃ Linux µÄ·½·¨¡£

°ïÖúµÚÒ»´ÎÊ¹ÓÃ Linux »úÆ÷ÏëÁ¬½Óµ½ ISPµÄÅóÓÑ£¬Ïà¹Ø¿ÉÄÜ»áÔâÓöµÄÎÊÌâ
¶¼°üº¬ÔÚÕâ¡õ¡£ÕâÃâ²»ÁË»áÓÐÄ³ÖÖ³Ì¶ÈµØºÍÆäËûµÄ Linux Howto ÎÄ¼þÓÐÖØ¸²µÄµØ·½¡£ ***ÎóÉ¾***
\idx{LDP} Ïà¹ØµÄÊé¼®¡£²Î¿¼ÕâÐ©ÎÄ¼þ¿ÉÒÔÈÃÄãÓÐ¸üºÃ¸üÏêÏ¸µÄÁË½â¡£

Ä¿Ç°µÄÎÄ¼þÓÐºÜ¶à¶¼ÊÇÕë¶ÔÌØ¶¨³Ì¶ÈµÄÊ¹ÓÃÕßÀ´Ð´£¬ËùÒÔ¶Ô³õ´ÎÊ¹ÓÃÕßÀ´Ëµ¿ÉÄÜ
»¹ÊÇÓÐ¶ÔÒ»Ð©×ÊÑ¶»á²úÉúÎÞ·¨ÁË½âµÄÇé¿ö¡£

ÎªÁË¼ò»¯Æð¼û£¬ËùÓÐµÄÀý×Ó¶¼ÒÔÏÂÃæµÄ×ÊÑ¶ÎªÀý£º

 
\begin{itemize}
\item  Ê¹ÓÃÕß: {\ttfamily \cdx{dirk}}
\item  ÃÜÂë: {\ttfamily \cdx{PrettySecret}}
\item  ISP: {\ttfamily \cdx{acme.xz}}
\item  Email ËÅ·þÆ÷: {\ttfamily \cdx{mail.acme.xz}}
\item  News ËÅ·þÆ÷: {\ttfamily \cdx{news.acme.xz}}
\item  Name ËÅ·þÆ÷: {\ttfamily 193.212.1.0}
\item  µç»°»°Âë: {\ttfamily 12345678}
\end{itemize}


ÔÚÕâ¶ù£¬ {\ttfamily dirk} ³ÆºôËûÄÇÌ¨»úÆ÷½Ð {\ttfamily roderick}ºÃÁË¡£

µ±È»£¬ÉÏÃæµÄ²Î¿¼Öµ±ØÐëÒÀÕÕÄúµÄ×´¿ö¸ü¸ÄÎª·ûºÏÄãµÄ ISPµÄÉè¶¨¡£
»¹ÓÐ£¬²»Í¬µÄ ISP Ö»ÐèÒª¸ü¸ÄÒ»Ð©²»Í¬µÄµØ·½¼´¿É¡£Èç¹ûÄãÔÚÕâ¶ùÓöµ½ÎÊÌâ£¬Ï£ÍûÄúÒ²ÄÜ¸æËßÎÒÒ»Éù¡£




\subsection{°æÈ¨ Copyright}

Copyright (c) 1996,1997,1998 by Egil Kvaleberg. This document may
be distributed under the terms set forth in the LDP license at

{\ttfamily \onlynameurl{http://sunsite.unc.edu/LDP/COPYRIGHT.html}}




\subsection{³ýÍâÌõ¿î}

{\bfseries } No liability for the contents of this documents can be
accepted.  Use the concepts, examples and other content at your
own risk.

One of many possible setups will be described. In the Linux
world, there is usually a number of ways in which to accomplish
things.  Paragraphs containing hints to alternatives are marked
by {\bfseries \idx{ALT:}} Please also note that FTP-references
often will change slightly as new versions of programs arrive.

As far as I know, only programs that under certain terms may be
used or evaluated for personal purposes will be described. Most
of the programs will be available complete with source under
GNU-like terms.  




\subsection{·­Òë}

Õâ·ÝÎÄ¼þÒÑ¾­±»·­Òë³ÉÏÂÁÐµÄÓïÑÔ£º

µÂÎÄ, by Cristoph Seibert:

{\ttfamily \onlynameurl{http://tech.appl-opt.physik.uni-essen.de/LinuX/german-howto/DE-ISP-Verbindung-HOWTO.html}}

º«ÎÄ, by Kidong Lee:

{\ttfamily \onlynameurl{http://www.postech.ac.kr/\~{}cessi/howto/ISP-Hookup/ISP-Hookup-HOWTO.html}}

·¨ÎÄ, by Eric Jacoboni:

{\ttfamily \onlynameurl{http://www.minet.net/linux/HOWTO-fr/ISP-Hookup-HOWTO.html}}

²¨À¼ÎÄ, by Piotr Pogorzelski: {\bfseries URL TBA}

Norwegian:

{\ttfamily \onlynameurl{http://www.kvaleberg.com/no-linux.html}}




\subsection{Õâ·ÝÎÄ¼þµÄÐÂ°æ±¾}

Õâ·ÝÎÄ¼þµÄÐÂ°æ±¾»á¶¨ÆÚ±»¿¯ÔØÔÚ {\itshape comp.os.linux.answers\/}ÉÏ¡£
ËüÒ²»á±»ÁÐÈëÐí¶à¿ÉÒÔ¡õÃû·½Ê½½øÈëµÄ FTP ÍøÕ¾ÉÏ¡£ÕâÐ©ÍøÕ¾°üº¬£º

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO}}

´ËÍâ£¬Äã¿ÉÒÔ´Ó Linux ÎÄ¼þ¼Æ»­µÄÍøÕ¾¡õÕÒµ½ÕâÆªÎÄ¼þ¡£

{\ttfamily \onlynameurl{http://sunsite.unc.edu/LDP/}}

×îÐÂ°æ±¾Ò²»áÒÔ²»Í¬µÄ¸ñÊ½³ÊÏÖ£º

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/ISP-Hookup-HOWTO.txt}}

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/ISP-Hookup-HOWTO.ps.gz}}

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/ISP-Hookup-HOWTO.tar.gz}}

{\ttfamily \onlynameurl{http://www.kvaleberg.com/ISP-Hookup-HOWTO.html}}




\subsection{»ØÓ¦}

ËùÓÐµÄ½¨ÑÔ¡¢´íÎó±¨¸æÒÔ¼°ÆäâÅµÄ×ÊÑ¶»òÈÎºÎµÄÖ¸½ÌÇëÖ±½Ó¸úÎÒÁ¬Âç£º

{\ttfamily \onlynameurl{egil@kvaleberg.no}}

{\ttfamily \onlynameurl{http://www.kvaleberg.com/}}




\section{ÎÒÒªÔõÑù²ÅÄÜÓëÆäËûµÄÊÀ½çÁ¬½ÓÄØ ?}

Ê×ÏÈ¼ÙÉèÎÒÃÇÒÑ¾­°²×°ºÃÄãËùÊ¹ÓÃµÄ Linux ¹©Ó¦ÉÌ°æ±¾µÄÏµÍ³£¬°üº¬×ã¹»µÄÍøÂ·ÈíÌåÄ£×é¡¢
¶øÇÒÄãÒÑ¾­ÉèÁ¢ºÃÒ»¸ö´®ÁÐ²ºÀ´Á¬½ÓÊ¹ÓÃ \ncdx{/dev/modem} \url{/dev/modem}ÁË¡£

ÄÚ¶¨ÉÏÖ»ÓÐ{\ttfamily \cdx{root}}²Å±»ÔÊÐíÀ´½¨¹¹ \url{/dev/modem}¡£

ÒªÖ±½ÓµØÁ¬½Óµ½ ISP ÉÏ£¬ÒÔ¼°ÊµÑéÁ¬½ÓµÄË³Ðò£¬Äã¿ÉÒÔÊ¹ÓÃ\ncdx{minicom}
\url{minicom} Õâ¸ö³ÌÊ½£¬Ëü¿ÉÒÔÖ±½ÓµØÊ¹ÓÃ¡£




\subsection{»ù±¾½¨¹¹}

¿ÉÔÚÍøÂ·ÉÏÊ¹ÓÃµÄ»úÆ÷±ØÐëÊÇÒÔ {\ttfamily root}Ê¹ÓÃÕßÀ´½¨¹¹¡£ÔÚ½øÐÐÖ®Ç°£¬ÇëÈ·ÈÏ
\ncdx{/etc/hosts.deny} \url{/etc/hosts.deny} µµ°¸°üº¬ÁËÏÂÁÐ¸÷ÐÐ£º
\begin{tscreen}
\begin{verbatim}
ALL: ALL
\end{verbatim}
\end{tscreen}

Ò»°ãÄã¿ÉÄÜÏëÔÊÑ¯×Ô¼º£¬ËùÒÔ¼ÓÉÏÏÂÃæÕâÐÐµ½  \ncdx{/etc/hosts.allow}
\url{/etc/hosts.allow}µµ°¸¡õ£º
\begin{tscreen}
\begin{verbatim}
ALL: LOCAL
\end{verbatim}
\end{tscreen}

»òÊÇÈç¹ûÄã¼á³ÖµÄ»°:
\begin{tscreen}
\begin{verbatim}
ALL: 127.0.0.1
\end{verbatim}
\end{tscreen}

ÏÂÃæ¿ªÊ¼£¬¼ÇµÃ£¬ËüÃÇÖ»¶Ôì¶Ê¹ÓÃ¶¯Ì¬ IP Î»Ö·\idx{dynamic IP}µÄ\idx{PPP}Á¬½Ó·¨ÓÐÓÃ¡£
Èç¹ûÄãÓÐ¹Ì½ÓµÄÓÅÊÆ£¬ÓÐÐ©µØ·½ÊÇ²»Í¬µÄ¡£

ÄÜÒÔÒ»¸öÃû×ÖÀ´Á¬½ÓÒ»²¿»úÆ÷ÊÇºÜ°ôµÄ£¬¶Ôì¶¶¯Ì¬ IP µÄÊ¹ÓÃÕßÀ´Ëµ¿ÉÒÔÓÉËû£¯Ëý×Ô¼ºÀ´Ñ¡ÔñÕâ¸öÃû³Æ¾Í¸üºÃÁË¡£
ÔÚ \ncdx{/etc/HOSTNAME} ¡õÊäÈë±¾ÀýµÄ
\url{/etc/HOSTNAME}:
\begin{tscreen}
\begin{verbatim}
roderick
\end{verbatim}
\end{tscreen}


ÏÂÒ»²½ÖèÊÇÉèÁ¢Ò»¸öÃû³ÆËÅ·þÆ÷ (name server)£¬ÔÚ
\ncdx{/etc/resolv.conf} \url{/etc/resolv.conf}¡õÃæ:
\begin{tscreen}
\begin{verbatim}
search .
nameserver 193.212.1.0
\end{verbatim}
\end{tscreen}

Ãû³ÆËÅ·þÆ÷\idx{name server}±ØÐë±»Ö¸¶¨µ½Ò»¸öÊý×Ö IP Î»Ö·ÉÏ£¬¶øÃ¿Ò»¸ö ISP ¶¼²»Í¬¡£
ÒÀÄãËùÐè£¬Äã¿ÉÒÔÓµÓÐ×î¶àÈý¸ö²»Í¬µÄËÅ·þÆ÷£¬Ã¿Ò»¸ö¶¼ÔÚ²»Í¬µÄÏßÂ·ÉÏ¡£ËûÃÇ»á±»ÕÕË³ÐòµØ±»ÒªÇó¹¤×÷¡£

Èç¹ûÄãÏëÒªÊ¹ÓÃÏñ {\ttfamily somemachine} À´×öÎª {\ttfamily somemachine.acme.xz}µÄ¼ò³Æ£¬ÄÇ÷áÄã±ØÐë½«µÚÒ»ÐÐ¸ü¸ÄÎª£º
\begin{tscreen}
\begin{verbatim}
search acme.xz
\end{verbatim}
\end{tscreen}


µ±È»ÔÚ \ncdx{/etc/hosts} \url{/etc/hosts}¡õÓÐÒ»Ð¡²¿·Ý±ØÐëÒ²¸ü¶¯²ÅÐÐ¡£´ó²¿·ÝµÄÊ¹ÓÃÕß¿ÉÒÔÓÃ£º
\begin{tscreen}
\begin{verbatim}
127.0.0.1       localhost
0.0.0.0         roderick
\end{verbatim}
\end{tscreen}

 ÓÐ¹Ì¶¨ IP Î»Ö·µÄ»°½« 0.0.0.0 ¸Ä³ÉÄãµÄ IP¡£

ÁíÍâ£¬\ncdx{/etc/networks} Ò²ÐèÒªÐ¡²¿·ÝµÄÐÞ¸Ä£º
\url{/etc/networks} is:
\begin{tscreen}
\begin{verbatim}
loopback        127.0.0.0
localnet        0.0.0.0
\end{verbatim}
\end{tscreen}

 

ÄãÒ²¿ÉÒÔÔÚ\ncdx{/etc/mailname} \url{/etc/mailname}µµ¡õ
¸ü¸ÄÄãµÄÍâ²¿µç×ÓÓÊ¼þÇøÓò¡£

\begin{tscreen}
\begin{verbatim}
acme.xz
\end{verbatim}
\end{tscreen}


ÔÚ ISP ÉÏµÄÊ¹ÓÃÕßÃû³ÆÒÔ¼°ÃÜÂë±ØÐë±»Ö¸¶¨ÔÚ
\ncdx{/etc/ppp/pap-secrets}
\url{/etc/ppp/pap-secrets}¡õ
\begin{tscreen}
\begin{verbatim}
dirk * PrettySecret
\end{verbatim}
\end{tscreen}


¶Ôì¶²»Ê¹ÓÃ\idx{PAP}¶øÊ¹ÓÃ \idx{CHAP} µÄ ISP¹«Ë¾À´»°£¬ ÊÇÓÃ \ncdx{/etc/ppp/chap-secrets}
\url{/etc/ppp/chap-secrets}µµ¡£

×îáá£¬¶Ôì¶ÕâÐ©·³ÈËµÄÁ¬½ÓË³Ðò¶¼ÐëÔÚ PPP ¿ÉÆôÓÃÇ°ÅªºÃ¡£Õâ¿ÉÓÃ
\ncdx{/etc/ppp/chatscript} \url{/etc/ppp/chatscript}À´°ìµ½£º
\begin{tscreen}
\begin{verbatim}
TIMEOUT 5
"" ATZ
OK ATDT12345678
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT WAITING
TIMEOUT 45
CONNECT ""
TIMEOUT 5
"name:" ppp
\end{verbatim}
\end{tscreen}

  
  
µ±È»ÔÚÕâ¸öÀý×Ó¡õÄã¿ÉÒÔÉÔÎ¢×öÐ©µ÷Õû¡£µÚÈýÐÐµÄµç»°ºÅÂëµ±È»±ØÐë¶©¶¨¡£
Ä³Ð©Ê¹ÓÃÕß¿ÉÄÜÐè°Ñ  {\ttfamily ATZ} Êý¾Ý»ú³õÊ¼»¯×Ö´®¸ÄÎª×î¼Ñ»¯µÄ×Ö´®¡£×îááÒ»ÐÐ
Ö¸³öÔÚ {\ttfamily name:}ááÐèÒªÒ»¸öÌáÊ¾£¬¶øËüµÄ»ØÓ¦µ½´ïÊ±Ó¦¸ÃÎª {\ttfamily \cdx{ppp}}¡£
ÆäËûµÄÏµÍ³¿ÉÄÜÓÐ×Ô¼ºµÄ²½Öè¡£

ÒªÕæÕýµØ³õÊ¼Ò»Í¨²¦½Ó£¬ \idx{PPP} Ð­¶¨¿ÉÓÉÏÂÁÐÃüÁîÀ´Æô¶¯£º
\begin{tscreen}
\begin{verbatim}
exec pppd connect \
     'chat -v -f /etc/ppp/chatscript' \
      -detach crtscts modem defaultroute \
      user dirk \
      /dev/modem 38400
\end{verbatim}
\end{tscreen}

  
 
  
 ÏÖÔÚÎÒÃÇÓ¦¸ÃÔÚÏßÉÏ£¬Ö±µ½ÎÒÃÇ°´ Ctrl-C ½«Õâ¸ö³ÌÊ½É±µô¡£
 ÈÎºÎÓÐ¹Øì¶²¦½ÓµÄÑ¶Ï¢¶¼»á±»¼ÓÈëµ½ÏµÍ³ÈÕÖ¾¡õ¡£Òª¶ÁÈ¡ËûÃÇ£¬ÊÔÊÔ£º
\begin{tscreen}
\begin{verbatim}
tail /var/adm/messages
\end{verbatim}
\end{tscreen}

  or
\begin{tscreen}
\begin{verbatim}
dmesg
\end{verbatim}
\end{tscreen}


Ö»Òª PPP ÒÑÆô¶¯£¬Äã¾Í¿ÉÒÔÖ±½ÓÔÚ \idx{Internet} ÉÏåÛÓÎ£¬Ò²¿ÉÒÔÊ¹ÓÃÏñ \url{ftp},
\url{ncftp}, \url{rlogin}, \url{telnet},
\url{finger} µÈµÈµÄ³ÌÊ½¡£ÕâÐ©³ÌÊ½¶¼ÊÇÍøÂ·Ì×¼þµÄÒ»²¿·Ý¡£

¹Øì¶ PPP ¸üÏê¾¡µÄ×ÊÁÏ¿ÉÓÉÏÂÁÐµØ·½È¡µÃ£º

{\ttfamily \onlynameurl{/usr/lib/ppp/README.linux}}

{\ttfamily \onlynameurl{/usr/lib/ppp/README.linux-chat}}

×îáá£¬²¹³äÒ»ÏÂ£¬¹Øì¶°²È«ÐÔ \idx{security}¡£ÔÚ \ncdx{/etc/inetd.conf} \url{/etc/inetd.conf}
µµ°¸¡õÓÐÁÐÃ÷ÄãµÄ»úÆ÷ËùÌá¹©µÄÍâ²¿·þÎñ³ÌÊ½¡£¶øÔÚ \ncdx{/etc/hosts.deny} \url{/etc/hosts.deny}
µµ°¸ÄÚËùÁÐµÄÎÒÃÇ¾ÍÎÞ·¨×öÍâ²¿µÄ´æÈ¡¡£¶ø·ÅÔÚ \ncdx{/etc/hosts.allow} \url{/etc/hosts.allow}µµ°¸
¡õÃæµÄÔò¿ÉÒÔ±»ÔÊÐí´æÈ¡¡£
ÇøÄÚÍ¨Ñ¶Ôò¿ÉÒÔ
\begin{tscreen}
\begin{verbatim}
ALL: LOCAL
\end{verbatim}
\end{tscreen}

À´×¼Ðí¡£¿É²ÎÔÄ {\ttfamily man 5 hosts\_access}¡£  

×îáá£¬¹Øì¶ \idx{POP}Ð­¶¨Õâ¸öÃû³ÆËÆºõÓÐÒ»µã±»»ìÏýÁË¡£
ÔÚ \ncdx{/etc/services} \url{/etc/services} ¡õÓÐ¸ö¶¨ÒåÊÇËµËü¼¸ºõÓëÏÂÁÐÏàÈÝ£º
\begin{tscreen}
\begin{verbatim}
pop2            109/tcp         pop-2           # PostOffice V.2
pop3            110/tcp         pop-3 pop       # PostOffice V.3
\end{verbatim}
\end{tscreen}


{\bfseries ALT:} ÅÅ³ý \ncdx{chatscript}
\url{chatscript}²»ÓÃ£¬ÎÒÃÇ¿ÉÒÔÊ¹ÓÃ¸üÓÐµ¯ÐÔµÄ \ncdx{dip} \url{dip}¡£
µ«²»ÄÜÓë \ncdx{diald} \url{diald}Ïà¹ØÁ¬¡£

{\bfseries ALT:} ÓÐÓÀ¾ÃµÄ \idx{TCP/IP} Á¬½ÓµÄÐÒÔË¶ù£¬ÀýÈçÊ¹ÓÃ \idx{Ethernet}£¬ ¿ÉÒÔ°²È«µØ
²»ÓÃÀí»áÈÎºÎ¹Øì¶ \idx{PPP} µÄÊÂ£¬¶øÖ»Ðè×¨ÐÄµØ½«ËûÃÇµÄÍøÂ·¿¨Éè¶¨ºÃ¾ÍºÃÁË¡£

{\bfseries ALT:} ÓÐÐ©ÎÞ·¨Ê¹ÓÃ PPP£¬¶øÊ¹ÓÃ \idx{SLIP} µÄÅóÓÑ£¬ÒòÎªËüºÍ PPP µÄÖ§Ô®ÓÐµãÀàËÆ¡£
»¹ÓÐÏñ \idx{UUCP} £¬ÓÐÐ©ÑöÀµÓÉ \idx{SOUP} À´×öÎª½»»»ÐÂÎÅÌÖÂÛÓëµç×ÓÓÊ¼þµÄ¹¤¾ß¡£
×îááÒ»ÏîÄú¿ÉÓÉÏÂÃæµÄµµ°¸µÃµ½Ñ¶Ï¢£º

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/bjorn/Linux-offline.tgz}}

ÁíÍâ \idx{TERM} Õâ¸ö³ÌÊ½Ò²¿É×öÎªÑ¡ÔñÖ®Ò»£¬Äã¿É¿´¿´ {\itshape Term-HOWTO\/}¡£




\section{ÎÒÒªÔõ÷áÔÚÍøÂ·ÉÏ {\itshape ¹ä\/}ÄØ?}

Èç¹ûÄã¾õµÃÊ¹ÓÃ±¾ÎÄÊÇºÜÖØÒªµÄ£¬ÄÇ¿ÉÒÔÊ¹ÓÃ \idx{Lynx} ä¯ÀÀÆ÷¡£¿ÉÓÉ

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/Network/info-systems/lynx-2.3.bin2.tar.gz}}À´È¡µÃ

Èç¹ûÄãÒÑ¾­°²×°ÁË \idx{X} window ÏµÍ³£¬ÄãÒ²¿ÉÒÔÊ¹ÓÃÐí¶àµÄÍ¼ÐÎ½éÃæµÄä¯ÀÀÆ÷¡£\idx{Chimera}
¿ÉÒÔÓÉ

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/Network/info-systems/chimera-1.65.bin.ELF.tar.gz}}È¡µÃ

{\ttfamily \onlynameurl{http://www.unlv.edu/chimera/}}

\idx{Mosaic}

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/Network/info-systems/Mosaic-2.7b1-aout.tgz}}

{\ttfamily \onlynameurl{ftp://ftp.NCSA.uiuc.edu/Web/Mosaic/Unix/binaries/2.6}}

\idx{Netscape} (aka.  \idx{Mozilla}

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/Network/info-systems/netscape-v11b3.tar.gz}}

{\ttfamily \onlynameurl{ftp://ftp.cs.uit.no/pub/www/netscape}}

ÕâÐ©ä¯ÀÀÆ÷Í¨³£¶¼±£³Ö×îÐÂ°æ±¾£¬¶øÇÒ³£ÓÐÈÃÈË{\itshape ÐË·Ü\/}µÄ°æ±¾¡£

Ê¹ÓÃºÍÊÔÓÃÕâÐ©³ÌÊ½¶¼ÓÐÒ»¶¨µÄÔ¼¶¨Ìõ¿î£¬Çë×ÔÐÐÔÄ¶ÁÒ»ÏÂ¡£




\section{ÎÒÒªÔõ÷áÊÕ·¢µç×ÓÓÊ¼þ \idx{email}ÄØ}

Ê×ÏÈ£¬È·ÈÏÒ»ÏÂ \ncdx{sendmail} \url{sendmail} ÒÑ±»°²×°ÁË¡£  Sendmail »áÅÅÁÐÄÚ²¿¼°Íâ²¿µÄÓÊ¼þ
£¬¶øÇÒ»á½«Íâ²¿ÓÊ¼þÎÞ·¨±»¼Ä³öÈ¥Ê±×ö»º³å£¬µÈ´ýµ½Ëü¿ÉÒÔ±»´«ËÍ³öÈ¥ÎªÖ¹¡£

Sendmail ÊÇÒÔ \ncdx{/etc/sendmail.cf} \url{/etc/sendmail.cf}µÄÉè¶¨À´°ìÊÂ¡£
ÓÐ·ÝÊÊºÏ ISP Ê¹ÓÃÕßµÄÀý×Ó¿ÉÓÉÏÂ´¦ÕÒµ½£º

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/sendmail.cf}}
ÕâÊÇÒÔ \ncdx{procmail} \url{procmail} Îª»ù×¼À´µ±×öÒ»¸ö´«µÝ´úÀíÈË \idx{delivery agent}
£¬µ±È»Ò²ÄÜÒÔ \ncdx{deliver} \url{deliver}À´È¡´úËü¡£

Èç¹ûÔÚÐèÒªÒ»¸ö {\bfseries ÕýÊ½µÄ}ÍøÓò\idx{domain
address} ²ÅÄÜ¼ÄÍâ²¿ÓÊ¼þµÄ»°£¬ÄÇÐëÔÚ \ncdx{sendmail.cf} \url{sendmail.cf}µµ¡õ×öÖ¸¶¨£º
\begin{tscreen}
\begin{verbatim}
# who I masquerade as (null for no masquerading)
DMacme.xz
\end{verbatim}
\end{tscreen}

  Õâ¼ÙÉèÄãµÄ±¾µØ¶ËµÄÊ¹ÓÃÕßÃû³ÆÓëÄãÔÚ ISP ÉÏµÄÊ¹ÓÃÕßÃû³ÆÊÇÏàÍ¬µÄ¡£
Èç¹û²»Í¬µÄ»°£¬Ö»ÐèÁíÍâ½«È«ÃûÖ¸¶¨ÈçÏÂ£º
\begin{tscreen}
\begin{verbatim}
DMdick@acme.xz
\end{verbatim}
\end{tscreen}

Sendmail ÏÖÔÚÒÑ±»½¨¹¹³É {\bfseries Ö±½ÓµØ} ¼ÄËÍÐÅ¼þ¸øÊÕ¼þÈËÁË¡£Ïë±ÜÃâ
Á¬½Óµ½ÄÇÐ©ÊÕÐÅ¶ËºÜÂýÓÖ²»ºÜ¹æÂÉ¶ø»¨Ì«¶àÊ±¼ä»òÊÇÖØ¸²µÄÁ¬½ÓµÄ»°£¬Ê¹ÓÃ
Ò»¸ö ISP ×öÎª»º³å¾Í±È½ÏºÃÐ©¡£ÎÒÃÇ¿ÉÒÔÊ¹ÓÃ \idx{DS} À´Ö¸¶¨£º
\begin{tscreen}
\begin{verbatim}
# "Smart" relay host (may be null)
DSmail.acme.xz
\end{verbatim}
\end{tscreen}

×¢Òâ£¬ sendmail »á¶Ô \ncdx{sendmail.cf} ÄÚµÄÌø¸ñ×ÖÔª tab
ºÜÃô¸Ð¡£
\url{sendmail.cf}¡£Äã¿ÉÒÔÊ¹ÓÃ \ncdx{vi} \url{vi}ÎÄ×Ö±à¼­Æ÷
À´È·ÈÏÕâÐ© tab ×ÖÔªÃ»±»¸ü¶¯¡£

Email µÄ½ÓÊÕ³£¿ÉÒÔ¾­ÓÉÊ¹ÓÃ \idx{POP3} Ð­¶¨À´´ï³É£¬¶øËü¿ÉÒÔÔÚÃ¿´ÎµÄÁ¬½ÓÆô¶¯Ê±
¼´³õÊ¼»¯¡£ÏÂÃæÊÇÒ»¸ö²âÊÔÓÃÃüÁîÊÖ¸å£º
\begin{tscreen}
\begin{verbatim}
sendmail -q
popclient -3 -v mail.acme.xz -u dirk -p "PrettySecret" \
       -k -o /usr/spool/mail/dirk
\end{verbatim}
\end{tscreen}

 Õâ¸öÃüÁîÊÖ¸å¿ÉÒÔÔÚ PPP Á¬½Óáá¿ªÊ¼Ö´ÐÐ¡£×¢Òâ£¬Õâ¸öÃüÁîÊÖ¸å
Ö»ÊÇÓÃÀ´×ö²âÊÔÓÃ£¬ËùÒÔÇëÈ·ÈÏ±¾µØ¶ËµÄÓÊÍ²ÔÚËüÖ´ÐÐÊ±Ã»ÓÐ±»¶¯µ½¡£ {\ttfamily -k} Ñ¡ÏîÊÇ
ÓÊ¼þ±»{\bfseries ±£ÁôÔÚ} ISP µÄÓÊÍ²ÄÚ£¬ÄãÖ»ÊÇ¼òµ¥µØÈ¡µÃÒ»·ÝÓÊ¼þµÄ¿½±´¶øÒÑ¡£µ±È»Äã
ÈçÓÐ×ÔÐÅÄãµÄÉè¶¨¶¼¶ÔÁË£¬ÄÇÒ²¿É½«Õâ¸öÑ¡ÏîÒÆ³ý¡£

×¢Òâ£¬ÄãµÄÃÜÂë»á±»ÏÔÊ¾ÔÚÃüÁîÁÐÉÏ£¬»¹ÓÐ£¬ popclient ÒÑÓúÀ´ÓúÍËÁ÷ÐÐÁË£¬Äã¿ÉÒÔ¿¼ÂÇÊ¹ÓÃ
\ncdx{fetchmail} \url{fetchmail}¡£

Äã¿ÉÒÔÔÚÏÂÃæËùÁÐµÄµØ·½ÕÒµ½¸ü°²È«¸üºÃµÄÃüÁîÊÖ¸å°æ±¾¡£

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/pop-script.tar.gz}}

Õâ·ÝÃüÁîÊÖ¸åÐèÒª \ncdx{procmail} \url{procmail} ±»°²×°Öø£¬µ«Äã¾ø²»»ááá»ÚµÄ¡£
´ó²¿·ÝµÄ¹©Ó¦ÉÌ°æ¶¼ÓÐËü£¬ÄãÒ²¿ÉÒÔÊÔÊÔ£º

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/Mail/mailhandlers/procmail-3.10-2.tar.gz}}

Procmail ÊÇÒ»¸ö¼òµ¥ÓÖ¸»µ¯ÐÔµÄ¹¤¾ß£¬Ëü¿ÉÒÔÒÀ¸÷ÖÖ²»Í¬Çé¿öÀ´ÅÅÐòÊÕ½øÀ´µÄµç×ÓÓÊ¼þ¡£
²»½öÈç´Ë£¬»¹¿É×Ô¶¯»¯´¦ÀíÏñÓÐ¹Ø  \idx{vacation} µÈµÈµÄÑ¶Ï¢¡£

×¢£¬µ±ÎÒÃÇÏñÕâ¸öÀý×ÓÒ»ÑùÖ±½ÓÊ¹ÓÃ procmail Ê±£¬Õâ¸öÇéÐÎºÍ procmail µÄÎÄ¼þ¡õËùËµµÄÊÇ²»Ò»ÑùµÄ¡£
ÎÒÃÇ²¢{\bfseries ²»}ÐèÒª\url{.forward} £¬Ò²²»ÐèÒª \url{.procmailrc}¡£ááÕßÊÇµ±ÎÒ
ÃÇÐèÒªÅÅÐòÓÊ¼þÊ±²ÅÐèÒªÓÃµ½¡£

¶ÁÈ¡Óë¼ÄËÍµç×ÓÓÊ¼þµÄÊ¹ÓÃÕß½éÃæ¿ÉÒÔ±»ÕÒµ½Ïñ \ncdx{pine} \url{pine} »ò
\ncdx{elm} \url{elm}¡£

{\bfseries ALT:} \idx{Fetchmail} Ä¿Ç°ÒÑ¾­±ä³ÉÒ»¸ö popclient µÄ¸ÄÁ¼ááµÄÌæ´úÆ·ÁË¡£×îÐÂµÄ°æ±¾¿É
´ÓÏÂÁÐµØµãÈ¡µÃ£º

{\ttfamily \onlynameurl{ftp://ftp.ccil.org/pub/esr/fetchmail/fetchmail-3.3.tar.gz}}

{\bfseries ALT:}³£Ê¹ÓÃ²¦½Ó·½Ê½ÉÏÍøµÄ ISPÊ¹ÓÃÕß²¢²»ÊÇÕæµÄÐèÒªÈÃ \idx{sendmail} ¾«Áé\idx{daemon}
Æô¶¯¡£ÎªÁË¼õÉÙ×ÊÔ´µÄÊ¹ÓÃ»òÊÇ´íÎó·¢Éú£¬ÄãÒ²¿ÉÒÔ½«ÈÎºÎµÄ sendmail µÄÆô¶¯¶¼×¢½âÈ¡Ïû£¬Ïñ³£¼ûì¶
\url{/etc/rc.d/rc.M} µµÄÚµÄ(ÕâµãÒª¶ËÊÓ¹©Ó¦ÉÌ°æµÄ¶ø¶¨)¡£

{\bfseries ALT:} ÎªÈ¡´ú sendmail µÄ»°£¬ÄãÒ²¿ÉÒÔÊ¹ÓÃ¸ü¼òµ¥µÄ \ncdx{smail} \url{smail}¡£
Äã¿ÉÒÔÔÚ {\itshape Linux Network Administrator's Guide\/} ¡õÕÒµ½Ò»·ÝËüµÄºÜºÃÃèÊö(»¹ÓÐÕâ¶ùÌáµ½µÄÆäËûÊÂÏî)¡£

{\bfseries ALT:} »¹ÓÐÒ»¸ö \url{m4} ¾Þ¼¯Ì×¼þ£¬Ëü¿ÉÒÔ×ö¸öºÜÐÂµÄ \ncdx{/etc/sendmail.cf}
\url{/etc/sendmail.cf}¡£Ö»Òª¼òµ¥µØ°²×°£¬¾ÍºÃÏñÊÇÐÞ¸ÄÒ»¸öÒÑ´æÔÚµÄ½¨¹¹Ò»Ñù¡£

{\bfseries ALT:} »¹ÓÐÐí¶à¸ü¼òµ¥µ«È±·¦µ¯ÐÔµÄÌæ´ú³ÌÊ½¿ÉÒÔÓÃÀ´´¦Àíµç×ÓÓÊ¼þ¡£   \idx{Pine} Ö»Òª±»ÊÊµ±µØ½¨¹¹
¾Í¿ÉÒÔ¶ÀÁ¢Ö´ÐÐ£¬ÀýÈç£ºËü»¹¿ÉÒÔÊ¹ÓÃÆäËûÍøÒ³ä¯¡õÆ÷µÄ×îÐÂ°æ±¾¡£

{\bfseries ALT:} Many are very enthusiastic regarding the Emacs
companion \idx{Gnus} as an email and news handler. ÏêÏ¸µÄ×ÊÑ¶¿ÉÔÚÏÂÃæÕÒµ½£º

{\ttfamily \onlynameurl{http://www.ifi.uio.no/\~{}larsi/}}

{\bfseries ALT:} An alternative to \url{popclient} is
\url{pop-perl5}.  It is available from:

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/System/Mail/pop-perl5-1.1.tar.gz}}




\section{News ÐÂÎÅÌÖÂÛÈº}


\subsection{ÎÒÒªÈçºÎÉèÁ¢Ò»¸öÏßÉÏÐÂÎÅ¶ÁÈ¡Æ÷ÄØ ?}

 Ö»Òª PPP ÔÚÔË×÷ÖÐ£¬¾ÍÄÜ¶ÁÈ¡{\bfseries ÏßÉÏ}µÄÐÂÎÅÈº×é \idx{news}¡£
ÓÐÐí¶à´·ÊÖ¿ÉµÃµÄ³ÌÊ½£¬¼òµ¥½éÉÜÁ½¸ö³ÌÊ½£º\ncdx{rtin} \url{rtin} ºÍ \ncdx{trn}
\url{trn}.

Ïë¿ªÊ¼¶ÁÈ¡news£¬Ò»°ãÔÚ½¨¹¹Ê±Ö»ÐèÉè¶¨ \idx{NNTPSERVER} (Í¨³£Ö»ÐèÔÚ \ncdx{.profile} \url{.profile}
µµ¡õÉè¶¨Ò»´Î¼´¿ÉÒ»ÀÍÓÀÒÝ)£º
\begin{tscreen}
\begin{verbatim}
export NNTPSERVER=news.acme.xz
\end{verbatim}
\end{tscreen}


ÓÐÐ©³ÌÊ½ÔÚÒªÈ¡µÃÕýÈ·µÄÕÅÌù {\itshape À´Ô´\/}-Î»Ö·Ê±£¬{\itshape ¿ÉÄÜ»á\/}ÒªÇó£º
\begin{tscreen}
\begin{verbatim}
export NNTP_INEWS_DOMAIN=acme.xz
\end{verbatim}
\end{tscreen}





\subsection{ÎÒÒªÈçºÎÉèÁ¢Ò»¸öÀëÏßÐÂÎÅ¶ÁÈ¡Æ÷ÄØ ?}

 ÏëÔÚÀëÏß \idx{offline} Ê±¶ÁÈ¡ÐÂÎÅÈº×é \idx{news} À´
¼õÉÙµç»°ÕÊµ¥·ÑÓÃÒÔ¼°ÓµÓÐ¸ü´óµÄµ¯ÐÔ£¬ÎÒÃÇÐèÒªÉè¶¨Ò»»ò¶à¸öµÄ \idx{news-spool}¡£
ÕâÐèÒªÒ»Ð©½¨¹¹£¬µ±È»Ò²ÐèÊ¹ÓÃµ½Ò»¶¨µÄ´Åµú¿Õ¼ä£¬ÔÚ³õÊ¼»¯áá£¬»á²úÉú»ò¶à»òÉÙµÄÊÂ£¬µ«
Óç¶ø²ÅÐèÒªÈ¥ÁôÒâÒ»ÏÂ¡£

ÎÒÃÇÔÚÕâ¶ùËµÃ÷Á½ÖÖ½â¾ö·½°¸£º




\subsection{ÎÒÒªÈçºÎÉèÁ¢ C News?}

Õâ¸öËùÃèÊöµÄ½â¾ö·½°¸ÊÇÒÔ {\bfseries \idx{C News}} Õâ¸öÐÂÎÅÈº×éËÅ·þÆ÷Îª»ù´¡£¬
ÇÒÊ¹ÓÃ \idx{NNTP} Ð­¶¨µÄ¡£
\idx{C News} Ô­±¾ÊÇÒÔÆäËû½¨¹¹ÎªÄ¿±êµÄ£¬µ«ËüÒ²Âù·ûºÏ´¦ÀíÎÒÃÇµÄÇé¿öµÄ¡£
Ò²ÐíÓÐÈË»áÊ¹ÓÃ½Ï½üÆÚµÄ {\bfseries \idx{INN}} ÐÂÎÅÈº×éËÅ·þÆ÷\idx{news server}
£¬µ«ËüÈ´ÔÚ×ÊÔ´Ê¹ÓÃÉÏ¶àÁËÒ»Ð©¡£²»¹ÜÈÎºÎ·½·¨£¬ÇëÐ¡ÐÄ {\bfseries ²»Òª} Á½¸ö¶¼°²×°! ËûÃÇ
²»»áÄÇ÷áºÃÔÚÒ»ÆðÏà´¦µÄ¡£

ÒÔ {\ttfamily \cdx{news}}ÎªÊ¹ÓÃÕßÀ´Ç¨ÈëÏµÍ³À´×öÎªÐÂÎÅÈº×éµÄÎ¬»¤ÊÇºÜÖØÒªµÄ¡£
ËùÓÐµÄ½¨¹¹µµ°¸¶¼±»·ÅÖÃÔÚ \ncdx{/usr/lib/news} \url{/usr/lib/news}¡õ¡£
Òª´¦ÀíÕâ¸ö£¬ÎÒÃÇ¿ÉÒÔ {\ttfamily su news; cd}À´Ç¨ÈëÎª {\ttfamily \cdx{root}} À´´¦ÀíËü¡£



ÔÚ½¨¹¹¡õ£¬×îÖØÒªÒªµÄµµ°¸ÊÇ£º

 
\begin{itemize}
\item  \ncdx{active} \url{active} µµÊÇËùÓÐÆô¶¯µÄÐÂÎÅÈº×éµÄÇåµ¥¡£
Ëü¿ÉÓÉ \ncdx{addgroup} \url{addgroup}Ö¸Áî×ö¸üÐÂ£¬
ÀýÈç {\ttfamily addgroup comp.os.linux.networking y}¡£
\item  \ncdx{organization} \url{organization} µµÖ»»á°üº¬ÄãÔÚ{\itshape Organization:\/}
¡õËùÒªµÄ±êÌâÀ¸×ÊÁÏ¡£ÔÚÎÒÃÇµÄÀý×Ó¡õ£º
\end{itemize}

\begin{tscreen}
\begin{verbatim}
Dirk Gently's Holistic Detective Agency
\end{verbatim}
\end{tscreen}


 
\begin{itemize}
\item  \ncdx{mailname} \url{mailname} ÔÚÎÒÃÇµÄÀý×ÓÖÐÓ¦¸ÃÊÇÉè¶¨
{\ttfamily acme.xz}¡£
\item  \ncdx{whoami} \url{whoami} ±»Éè¶¨³ÉÎªÄãÔÚ \idx{Path:}Ö´ÐÐÐ÷ÖÐµÄÕ¾Ì¨ {\ttfamily \cdx{site}}
¡£
ÔÚÕâ¡õµÄÉè¶¨ÖÐ£¬Ê¹ÓÃ \ncdx{newsx} \url{newsx}£¬Õâ¸öÃû³Æ²»»áÀë¿ªÕâ¸ö»úÆ÷£¬
Äã¿ÉÒÔ½«ËüÉè¶¨³ÉÈÎºÎÖ»ÒªÄã·Ç³£ÈÏÎªËüºÜÌØ±ð¼´¿É¡£ Õâ¸öÀý×ÓÖÐ¼´ {\ttfamily roderick}¡£
\item Õâ¸ö \ncdx{sys} \url{sys}µµ°¸¿ØÖÆÁË×¥È¡¼°·ÖÅäÐÂÎÅÈº×éµÄ×ÊÑ¶£¬
ÎÒÃÇÔÚ´Ë¼ÙÉèÔÚÄãµÄ ISP ÖÐ£¬¼ÓÉÏ {\ttfamily acme.xz} µ½Â·¾¶ PathÉÏ£¬ÕâÒ²ÊÇÎÒÃÇËùÓµÓÐµÄ½öÓÐµÄÐÂÎÅÈº×éÀ´Ô´¡£
ÉÏÃæµÄÀý×Ó¸æËßÎÒÃÇ½«½ÓÊÜÈÎºÎµÖ´ïµÄÐÂÎÅÕÅÌù£¬ÎÒÃÇ½«Ö»ÕÅÌùÐÂÎÅµ½ {\ttfamily acme.xz} ÉÏ£¬ÕâÒ²ÊÇÎÒÃÇ´ÓÎ´¼û¹ý
µÄ£¬¶øËüÊÇÎÒÃÇÔ­±¾ÕÅÌùÔÚÎÒÃÇ×Ô¼ºµÄÍøÕ¾ÉÏµÄ¡£ÔÚÕâ¸ö¼ò»¯µÄÉèÁ¢ÖÐ£¬ÎÒÃÇ¼ÙÉèËùÓÐµÄÈº×é¶¼´Óµ¥Ò»Ô´Í·¶øÀ´¡£
{\ttfamily \cdx{/all}} ±íÊ¾¹©Ó¦ÉÌ°æ£¬ {\bfseries ±ØÐë} ½«ËüÃÇ°üº¬½øÈ¥¡£×ÖÔª {\ttfamily \cdx{F}} ±íÊ¾
(Ö¸³ö) ÏòÍâµÄÐÂÎÅÎÄÕÂ»á±»¡õ¼¯³Éµµ°¸¡£
\end{itemize}

\begin{tscreen}
\begin{verbatim}
ME:all/all::
acme/acme.xz:all,!junk/all:FL:
\end{verbatim}
\end{tscreen}


 
\begin{itemize}
\item  ÎÒÃÇ±ØÐëÎªÏòÍâµÄÐÂÎÅ½¨Á¢Ò»¸ö×ÓÄ¿Â¼£¬ÔÚÎÒÃÇµÄÀý×ÓÖÐ£º
\end{itemize}

\begin{tscreen}
\begin{verbatim}
mkdir /var/spool/news/out.going/acme
\end{verbatim}
\end{tscreen}


 
\begin{itemize}
\item  \ncdx{mailpaths} \url{mailpaths} ÊÇ×öÎª±»¹ÜÖÆµÄÐÂÎÅÈº×éµÄ¿ØÖÆ£¬ËäÈ»
Õâ¸ö¹¤×÷Í¨³£ÊÇÓÉ ISP À´×öµÄ¡£
\end{itemize}


C News ÐèÒªÃ¿ÌìÒ»¶¨³Ì¶ÈµÄÎ¬»¤£¬µ«Ò²¿ÉÖ»ÓÃÒ»´ÎÒ»ÀÍÓÀÒÝµÄ·½·¨        £¬
ÄÇ¾ÍÊÇÒÔ {\ttfamily news}µÄÉí·Ý£¬¾­ÓÉ {\ttfamily crontab -e}  ÃüÁî
¼´¿É´ï³É¡£½¨ÒéÉèÁ¢µÄ²½ÖèÈçÏÂ£¬Äã¿ÉÒÔÕÕÄãµÄÐèÒªÀ´µ÷Õû£º
\begin{tscreen}
\begin{verbatim}
# Î¬»¤½øÀ´ºÍ³öÈ¥µÄÅú´Î×ÊÁÏ
10,40 *  * * * /usr/lib/newsbin/input/newsrun

# Ã¿ÌìÍ£Ö¹ C News Ò»´Î
30 0  * * * /usr/lib/newsbin/expire/doexpire

# ÈçÓÐÐèÒª£¬¼à¿Ø²¢±¨¸æ×´¿ö
00 2  * * sat /usr/lib/newsbin/maint/addmissing
40 3  * * * /usr/lib/newsbin/maint/newswatch
50 3  * * * /usr/lib/newsbin/maint/newsdaily
\end{verbatim}
\end{tscreen}

\ncdx{newsrun} \url{newsrun} »áÒÆÈë¼°ÒÆ³öÎÄÕÂ (Ã¿Ð¡Ê±¶þ´Î)£¬ \ncdx{doexpire}
\url{doexpire} »áÔÚÎÄÕÂ±ä½Ï¾ÉÊ±É¾³ýËüÃÇ (Ã¿Ìì´ÓÁè³¿ 00:30¿ªÊ¼)£¬×îááÃæÄÇÈý¸öÃüÁî»á
×öÐí¶àµÄ¼à¶½Óë´íÎó¸üÕýµÄ¹¤×÷¡£

ÎÒÃÇ»¹Ó¦¸ÃÈ·ÈÏÔÚÆô¶¯»úÆ÷Ê±ÓÐÐ©ÊÂÇéÒÑ¾­±»ÇåÀíÇ¬¾»¡£ÒÔ rootµÄÉí·Ý£¬ÔÚ
\url{/etc/rc.d/rc.local}µµ¡õ¼ÓÈë£º
\begin{tscreen}
\begin{verbatim}
su news -c /usr/lib/newsbin/maint/newsboot
\end{verbatim}
\end{tscreen}

News ¿ÉÒÔÓÉ {\bfseries NewsX}³ÌÊ½À´¡õ¼¯¡£
»á´Ó \idx{NNTP-server} ÌôÑ¡×ÊÑ¶£¬Õâ¸ö³ÌÊ½¿É´ÓÏÂÃæÎ»Ö·ÕÒµ½£º

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/news/transport/newsx-0.9.tar.gz}}
Or:

{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/newsx-0.9.tar.gz}}

ÉèÁ¢ {\ttfamily \cdx{NewsX}} ·Ç³£¼òµ¥¡£
Ö»ÐèºÜÆ½³£µÄ²½Öè¼´¿É°²×°Ëü£º
\begin{tscreen}
\begin{verbatim}
make
su
make install
exit
\end{verbatim}
\end{tscreen}


ÔÚÕâ¶ùËù´óÖÂÃèÊöµÄÉèÁ¢ÖÐ£¬ÄãÖ»ÐèÒÔ\ncdx{addgroup} \url{addgroup} ÃüÁîÀ´½¨Á¢ÄãÒª¶ÁÈ¡µÄÈº×é
¼´¿É¡£

Òª×¥È¡ÎÄÕÂÊ±£¬ {\ttfamily \cdx{news}} Ê¹ÓÃÕßÖ»ÒªÏÂ´ïÏÂÁÐµÄÃüÁî (¼ÙÉèÊÇ¾­ÓÉ PPP »òÀàËÆµÄ)£º
\begin{tscreen}
\begin{verbatim}
newsrun
newsx acme news.acme.xz
newsrun
\end{verbatim}
\end{tscreen}


Õâ {\ttfamily -d} Ñ¡Ïî»áÔÚÓ©Ä»ÉÏ²»Í£µØÓ¡³ö¡£ÏêÇéÇë²ÎÔÄ NewsX ÎÄ¼þ¡£

NewsX Ò²»á×¢Òâµ½ÏòÍâÕÅÌùÐÂÎÅÌÖÂÛÎÄÕÂ¡£

ÔÚ¿ØÖÆÐÂÎÅÎÄÕÂ±ä¾ÉÊ±½«ËüÃÇ¶ªÆúµÄ¹¤×÷Ê±£¬¾ÍÐèÒª {\ttfamily \cdx{explist}} Õâ¸öµµ°¸ÁË¡£
ÔÚÏÂÃæµÄÀý×ÓÖÐ¾Í½âÊÍÁËÎÒÃÇÒª×öµÄÒ»ÇÐÊÂÁË£º
\begin{tscreen}
\begin{verbatim}
# hold onto history lines 14 days, nobody gets >120 days
/expired/                       x       14      -
/bounds/                        x       0-1-120 -

# retain these for 2 months
comp.sources,comp.os.linux.all  x       60      -

# noise gets thrown away fast
junk,control                    x       2       -

# default:  14 days, no archive
all                             x       14      -
\end{verbatim}
\end{tscreen}


{\bfseries ALT:} ÔÚÒ»¸öÐ¡ÐÍµÄ news-spool¡õ£¬Í¨³£ÊÇ²»Ì«ÐèÒª¶ÔÐÂÎÅÈº×éµÄ
{\ttfamily ¿ØÖÆ}µÄ¡£ÔÚ¿ÉÄÜÃ»ÓÐÓÃ´¦µÄ×´¿öÏÂ£¬½»Í¨Á÷Á¿ {\bfseries Ì«´ó}¡£
ÖØµãÊÇÐÂÎÅÕÅÌùµÄÎÄÕÂ»á±»È¡Ïû£¬¶øÐÂÎÅÈº×é»á±»×Ô¶¯µØ½¨Á¢¡£ÎªÁËÈ·ÈÏ
º¬ÓÐ{\ttfamily newgroup}µÄ¿ØÖÆÑ¶Ï¢²»»á°ÑÎÒÃÇ¸ø»ìÂÒÁË£¬ÓÐ¸ö½Ð
\ncdx{newgroupperm} \url{newgroupperm} µÄµµ°¸»áÖ¸¶¨
ÎÒÃÇËùÔÊÐíµÄÊÂÇé£º
\begin{tscreen}
\begin{verbatim}
comp.os.linux   tale@uunet.com  yv
all             any             nq
\end{verbatim}
\end{tscreen}

ÔÚÕâ¸öÀý×Ó¡õ£¬ËùÓÐÔÚ comp.os.linux ÏÂµÄºÏÊÊÌÖÂÛÈº×é¶¼»á±»½¨Á¢ (y)£¬¶ø {\ttfamily news} Ê¹ÓÃÕß»á±»
Í¨Öª (v)¡£ Æäì¶µÄ»á±»¾²¾²µØ (q) ºöÂÔµô (n)¡£×îááÒ»ÐÐÒÑ¾­×ã¹»ÈÃÄãÊÖ¶¯µØ½¨Á¢ËùÓÐµÄÈº×éÁË¡£

{\bfseries ALT:} »¹ÓÐÒ»¸ö NewsX µÄÌæ´ú³ÌÊ½ \url{suck}¡£




\subsection{ÎÒÒªÔõ÷áÉèÁ¢ Leafnode?}

»¹ÓÐÒ»¸ö²»Í¬µÄ½â¾ö·½°¸ÊÇ£¬°²×°ÕûºÏÌ×¼þ  \ncdx{leafnode} \url{leafnode}¡£
ËüÄÜ´¦ÀíËùÓÐ¸öÈË news spool µÄËùÓÐ¹¤×÷£¬¶øÇÒºÜÈÝÒ×½¨¹¹¡£Ëü¿É¾­ÓÉÏÂÁÐÎ»Ö·È¡µÃ£º

{\ttfamily \onlynameurl{http://www.troll.no/freebies/leafnode.html}}

ºÍ C News Ò»Ñù£¬ËùÓÐµÄ news Î¬»¤¹¤×÷¶¼Ó¦¸ÃÊÇÒÔ {\ttfamily news}Ê¹ÓÃÕßµÄÉí·ÝÀ´×ö£º

leafnodeµÄÎ»ÖÃÔÚ \url{/usr/lib/leafnode}¡£°²×°Ëü£¬Ö´ÐÐ£º
\begin{tscreen}
\begin{verbatim}
cd /usr/lib/leafnode
tar -xzvf leafnode-0.8.tgz
cd leafnode-0.8
make
su
make install
\end{verbatim}
\end{tscreen}


×¢Òâ£¬Èç¹ûÄã´ÓÒ»¸öÌ×¼þÖÐ°²×° leafnode µÄ»°£¬\url{/usr/local/sbin} Ó¦¸Ã¸Ä³É
\url{/usr/sbin}¡£

ÏñÖ®Ç°µØ£¬ÒÔ {\ttfamily root}Éí·ÝÀ´¸Ä±äÔÚ \ncdx{/etc/inetd.conf} \url{/etc/inetd.conf}µµ
¡õ¿ØÖÆ NNTP µÄÄÇÐÐ
\begin{tscreen}
\begin{verbatim}
nntp  stream  tcp  nowait  news  /usr/sbin/tcpd /usr/local/sbin/leafnode
\end{verbatim}
\end{tscreen}

Ê¹ÓÃÏÂÃæÃüÁîÀ´Æô¶¯Ëü£º
\begin{tscreen}
\begin{verbatim}
killall -HUP inetd
\end{verbatim}
\end{tscreen}


Ö´ÐÐ \url{exit}»Øµ½ {\ttfamily news}Ê¹ÓÃÕß¡£ÔÚ \ncdx{/usr/lib/leafnode/config}
\url{/usr/lib/leafnode/config} µµ¡õ¸Ä±ä¶¨Òå  NNTP ËÅ·þÆ÷µÄÄÇÐÐ¡£ÔÚÎÒÃÇµÄÀý×ÓÖÐ£º
\begin{tscreen}
\begin{verbatim}
server = news.acme.xz
\end{verbatim}
\end{tscreen}


ÒÔ{\ttfamily news}µÄÉí·ÝÏÂ {\ttfamily crontab -e} ÃüÁîáá£¬ Leafnode ¾Í»á
×ÔÒÑ¿¸ÆðÕÕ¹Ë×Ô¼ºµÄ¹¤×÷¡£
\begin{tscreen}
\begin{verbatim}
# Ã¿Ìì½áÊø LeafnodeÒ»´Î
0 4 * * * /usr/local/sbin/texpire
\end{verbatim}
\end{tscreen}


News µÄ½»»»Ò²ÊÇÒÔ {\ttfamily news}Ê¹ÓÃÕßÀ´Íê³É£¬ÒÔÏÂÃæµÄÃüÁî (¼ÙÉè PPP ÒÑ¾­¼ÜºÃÇÒÕýÖ´ÐÐÖÐ)£º
\begin{tscreen}
\begin{verbatim}
/usr/local/sbin/fetch
\end{verbatim}
\end{tscreen}


ÏëÔÄ¶ÁÐÂÎÅÌÖÂÛÈº×éµÄÊ¹ÓÃÕß¿ÉÒÔÓÃ {\itshape ÎÒÒªÈçºÎÉèÁ¢ÏßÉÏÐÂÎÅÔÄ¶ÁÆ÷ÄØ?\/}ÄÚµÄ´¦·½À´×ö£¬
³ý·ÇËüÃÇ½¨¹¹×Ô¼ºµÄ±¾µØ¶Ë»úÆ÷£¬ÀýÈç£º
\begin{tscreen}
\begin{verbatim}
export NNTPSERVER=localhost
\end{verbatim}
\end{tscreen}


Ïà¹Ø×ÊÁÏÓ¦¸Ã¶¼ÔÚÄÇ¶ù¡£Ê×ÏÈ£¬{\ttfamily \cdx{fetch}} »á´«µÝ¿É¶©ÔÄµÄÐÂÎÅÈº×éµÄÁÐ±í¡£
½ÓÖø Leafnode »á¼à¿ØÊ¹ÓÃÕßËùÒªÇóµÄÄÇÐ©Èº×é£¬²¢ÔÚ{\bfseries ÏÂ´Î}ËüÃÇ±»Æô¶¯Ê±½«
ËüÃÇ¼Ó½øÀ´¡£

×¢£ºÔÚ NNTP Ðè¾­ÊÚÈ¨²ÅÄÜÊ¹ÓÃÊ±£¬Leafnode ºÃÏñ¾ÍÎÞ·¨¹¤×÷ÁË¡£+.LP

{\bfseries ALT:}ÓÐÒ»¸ö\url{leafnode}µÄÌæ´úÆ· \url{nntpcache}¿ÉÓÉÏÂÃæÎ»Ö·È¡µÃ£º

{\ttfamily \onlynameurl{ftp://ftp.suburbia.net/pub/nntpcache/nntpcache.tgz}}
{\bfseries ALT:} »¹ÓÐ¸öÌæ´ú·½°¸ÊÇÊ¹ÓÃÓë\ncdx{slrn-pull} \url{slrn-pull} Ì×¼þ
Ò»ÆðµÄÐÂÎÅÔÄ¶ÁÆ÷ \ncdx{slrn} \url{slrn} ¡£ Õâ¸öÐÂÎÅÔÄ¶ÁÆ÷ÔÚ±»±àÒëÊ±
Éè¶¨ºÃ {\ttfamily spool} ¹¦ÄÜ¡£




\section{ÎÒÒªÔõ÷á½«Á¬½Ó³ÌÐò×Ô¶¯»¯ÄØ ?}

ÔÚ Linux ¡õÒª¿ØÖÆÐÂÎÅÈº×éÒÔ¼°µç×ÓÓÊ¼þÊÇ¼þºÜÈÝÒ××öµÄÊÂÇé¡£

Ê×ÏÈ×ö¸ö \ncdx{/usr/lib/ppp/ppp-on} \url{/usr/lib/ppp/ppp-on}
À´³õÊ¼Óë ISP µÄÁ¬½Ó¡£Í¨³££¬Õâ¸öµµ°¸Ö»°üº¬ÏÂÁÐ£º
\begin{tscreen}
\begin{verbatim}
/usr/sbin/pppd
\end{verbatim}
\end{tscreen}

 ¸ü¶àµÄÑ¡Ïî»áÔÚ
\ncdx{/etc/ppp/options} \url{/etc/ppp/options}¡õÖ´ÐÐ£º
\begin{tscreen}
\begin{verbatim}
connect "/usr/lib/ppp/chat -v -f /etc/ppp/chatscript"
crtscts
modem
defaultroute
asyncmap 00000000
user dirk
/dev/modem 38400
\end{verbatim}
\end{tscreen}


Òª½áÊøÁ¬½Ó£¬Ê¹ÓÃ±¾ÉíÌá¹©µÄ
\ncdx{/usr/lib/ppp/ppp-off}
\url{/usr/lib/ppp/ppp-off}¡£

ÔÚÊÔ¹ýÕâÁ½¸öÃüÁîÊÖ¸åµÄ¹¦ÄÜáá£¬Èç¹ûÄãÏëÐ´¸öÖ´ÐÐ²»Í¬¹¤×÷µÄÃüÁîÊÖ¸å¡£
ÉÏÃæÒÑÌá¹ý¡õ¼¯µç×ÓÓÊ¼þµÄÃüÁîÊÖ¸åÁË£¬ÎÒÃÇÔÚÕâ¶ù¼ÙÉèËüÃÇ(µç×ÓÓÊ¼þ)»á±»
·ÅÔÚ \url{/home/dirk/pop}¡õ¡£

ÎÒÃÇ¿ÉÒÔÖÆÔìÒ»¸ö½»»»µç×ÓÓÊ¼þµÄÃüÁîÊÖ¸å \url{/root/mail}£º
\begin{tscreen}
\begin{verbatim}
#! /bin/sh
#
# exchange mail
# 10 minutes timeout:
TIMEOUT=600
DT=10

# kick sendmail:
sendmail -q &

# retrieve mail:
su dirk -c /home/dirk/pop

# wait for sendmail to terminate:
t=0
while ! mailq | grep -q "Mail queue is empty"; do
    t=$[$t+$DT]
    if [ $t -gt $TIMEOUT ] ; then
     echo "sendmail -q timeout ($TIMEOUT).."
     exit 1
    fi
    sleep $DT
done

exit 0
\end{verbatim}
\end{tscreen}




½»»» news µÄÃüÁîÊÖ¸å·ÅÔÚ \url{/usr/lib/news/news}:
\begin{tscreen}
\begin{verbatim}
#!/bin/sh
#
# exchange news
# must be run as news:
cd /usr/lib/news

#update the outgoing batch (C News):
/usr/lib/newsbin/input/newsrun < /dev/null

#exchange news:
/usr/lib/newsbin/newsx acme news.acme.xz

#and flush the incoming batch:
/usr/lib/newsbin/input/newsrun < /dev/null
\end{verbatim}
\end{tscreen}

ÆäËûÁ¬½Ó¸÷Ê½¸÷ÑùÁôÖøµÄ×ÊÑ¶Ö®ÃüÁîÊÖ¸å¿É±»·ÅÖÃÔÚ \url{/root/news+mail}:
\begin{tscreen}
\begin{verbatim}
#!/bin/sh
#
# exchange news and email
# must be run as root
#
if ! /usr/lib/ppp/ppp-on; then
    exit 1
fi
trap "/usr/lib/ppp/ppp-off" 1 2 3 15

#exchange news+mail:
/root/mail &
su news -c ~news/news
wait

#disconnect..
/usr/lib/ppp/ppp-off

#update the incoming batch (C News):
su news -c /usr/lib/newsbin/input/newsrun < /dev/null &

exit 0
\end{verbatim}
\end{tscreen}


ÒªÎªÉÏÃæµÄÀý×Ó×öÀ©³äÊÇºÜÈÝÒ×µÄ£¬Ö»Ðèµ±ÏòÍâµÄµç×ÓÓÊ¼þ¼°ÐÂÎÅ²¼¸æ´æÔÚÊ±ÔÙ×öÁ¬½Ó¡£
ÎÒÃÇ¾Í½ÐËü \ncdx{/root/news+mail.cond} \url{/root/news+mail.cond}£¬
¼ÇµÃÏòÍâµÄ news-spool Ò²±ØÐë¸üÐÂÒÔÏàÅäºÏ£º
\begin{tscreen}
\begin{verbatim}
#!/bin/sh
#
# exchange news and email, only if outgoing news or mail
# (C News spool)
if [ -s /var/spool/news/out.going/acme/togo ] ||
    ! ( mailq | grep -q "Mail queue is empty"); then
     /root/news+mail
fi
\end{verbatim}
\end{tscreen}


ÏÖÔÚÖ»Ê£Ö¸¶¨ºÎÊ±ÕâÐ©ÊÂÒª·¢Éú¶øÒÑ¡£Õâ¿ÉÒÔ root µÄÉí·Ý£¬Ê¹ÓÃ {\ttfamily crontab -e} 
ÃüÁîÀ´´ï³É¡£¼ÙÉèÎÒÃÇÏ£ÍûÃ¿ÌìÔçÉÏ 07:00 Ê±×öÐÂÎÅÌÖÂÛ×ÊÁÏºÍµç×ÓÓÊ¼þµÄ½»»»¹¤×÷£¬Ö®áá
¼ÙÉèÃ¿ËÄÐ¡Ê±»áÓÐÏòÍâµÄµç×ÓÓÊ¼þºÍÐÂÎÅÌÖÂÛÒªËÍ£º
\begin{tscreen}
\begin{verbatim}
00 7            * * *   /root/news+mail
00 11,15,19,23  * * *   /root/news+mail.cond
\end{verbatim}
\end{tscreen}

ÔÚ½«ËüÃÇÁ¬½ÓÇ°£¬ÇëÈ·ÈÏÃ¿Ò»¸ö»·½á¶¼±»²âÊÔÃ»ÎÊÌâ¡£ÄãÒ²¿ÉÒÔÖ®ááÔÙ¼ÓÉÏ
ÆäËûÐí¶àµÄ¹¤×÷£¬ÀýÈçµ÷ÕûÈÕÆÚµÄÊ±¼ä (Ê¹ÓÃ \ncdx{ntpdate}
\url{ntpdate})£¬×Ô¶¯¸üÐÂ (Ó³Éä) ±¾µØ¶ËÎ¬»¤µÄ WWW ¼° FTP µµ°¸
µ½ ISP (Ê¹ÓÃ make ºÍ ftp)¡£

{\bfseries ALT:} ÒÀÕÕÃ¿¸öÈËµÄÏ²ºÃ²»Í¬£¬Ò²¿ÉÒÔµßµ¹Ë³Ðò¡£Ã¿´Î PPP Á¬½ÓÍê³Éáá£¬
\ncdx{/etc/ppp/ip-up} \url{/etc/ppp/ip-up} ÃüÁîÊÖ¸å¾Í»áÆô¶¯¡£
Äã¿ÉÒÔÔÚÕâ¶ù¼ÓÉÏ¸÷ÖÖ»¨ÑùÀ´Æô¶¯µç×ÓÓÊ¼þÓëÐÂÎÅÌÖÂÛÎÄÕÂµÄ½»»»¡£
ÏêÇé¿É²ÎÔÄ {\ttfamily man pppd} ¡£

{\bfseries ALT:} Ò²¿ÉÒÔµ±ÍøÂ·Á÷Í¨±»Õì²âµ½Ê±×Ô¶¯µØÁ¬½Ó PPP ¡£ºÃµÄ½â¾ö·½°¸ÓÐºÜ¶àÖÖ£¬
µ«ºÃµÄ½¨¹¹¶Ë¿´ËüÔõ÷áÀ´±ÜÃâÆµ·±µÄ(»¨Ç®µÄ)Á¬½Ó¡£ÏÂÃæÎ»Ö·ÓÐ¸ü¶àµÄ×ÊÑ¶£º

{\ttfamily \onlynameurl{http://www.dna.lth.se/\~{}erics/diald.html}}

Õâ¸ö{\ttfamily \cdx{diald}} ¹«ÓÃ³ÌÊ½¿ÉÓÉÏÂÃæµÄÎ»Ö·È¡µÃ£º

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/system/network/serial/diald-0.16.tar.gz}}

ÔÚÍ¬Ò»Î»ÖÃÉÏ£¬Äã»¹¿ÉÒÔ·¢ÏÖÊ¹ÓÃ PPP Á¬½ÓµÄÆäËû²»Í¬ÏîÄ¿¡£




\section{áá¼Ç}


\subsection{ÎÒÓ¦¸ÃÖªµÀµÄÆäËûÊÂÇé ?}

 
\begin{itemize}
\item  Õý³£ÉÏ£¬ÏµÍ³¡õÓÐºÜ¶à´íÎóÑ¶Ï¢¶¼»á±»ÒÔÄÚ²¿µç×ÓÓÊ¼þµÄ·½Ê½À´´«´ï¡£
ÏëÈ·ÈÏËüÃÇ¶¼»á±»ÕýÈ·µØ¶ÁÈ¡£¬ÎÒÃÇ¿ÉÒÔ½¨Á¢Ò»¸ö  \ncdx{/etc/aliases}
\url{/etc/aliases}µµ°¸¡£Ã¿Ò»´ÎÄã¸ü¶¯ËüÊ±£¬¼ÇµÃÓÃ {\ttfamily \cdx{newaliases}} Õâ¸öÃüÁî¡£
ÏÂÃæµÄÀý×Ó¼¸ºõ°üº¬ÁËËùÓÐÊÂÏîÁË£º
\end{itemize}

\begin{tscreen}
\begin{verbatim}
PostMaster: root
ftp: root
news: root
usenet: root
FaxMaster: root
fax: root
WebMaster: root
MAILER.DAEMON: root
\end{verbatim}
\end{tscreen}


 
\begin{itemize}
\item  ºÜ¶àµÄ Linux °æ±¾µÄ³ÌÊ½¿ÉÔÚ {\bfseries Sunsite}  ÉÏÕÒµ½£¬Õâ¸öÕ¾Í¨³£¶¼ºÜÃ¦Âµ¡£
µ«ÓÐºÜ¶àµÄÓ³ÉäÕ¾Ì¨ \idx{mirrors} ËüÃÇ»áÓÐÏà¶ÔÓ¦ì¶ \url{ftp://sunsite.unc.edu/pub/Linux/..}µÄµµ°¸£¬
ËùÒÔÄã¿ÉÒÔºÃºÃÀûÓÃÄÇÐ©¿¿Äã¼Ò½Ï½üµÄÓ³ÉäÕ¾£¬ÀýÈç
\url{ftp://ftp.nvg.unit.no/pub/linux/sunsite/..}¡£
\item  Èç¹ûÄã¸ßÐË´Ó \idx{Yarn} ÒÆÖ²Õû¸ö³ÉÎªÒ»¸öÄ¿Â¼£¬ÄãÒ²¿ÉÒÔÊ¹ÓÃ
\url{yarn2mf}À´×ª»»ËüÃÇ³ÉÎª±ê×¼µÄÄ¿Â¼£¬¸Ã³ÌÊ½¿ÉÔÚÏÂÃæÕ¾Ì¨È¡µÃ
\end{itemize}


{\ttfamily \onlynameurl{ftp://ftp.sol.no/user/egilk/yarn2mf.zip}}




\section{ISP ÌØ¶¨µÄ×ÊÑ¶}

ÏÂÁÐÓÐÒ»Ð© ISP µÄÌØ¶¨×ÊÑ¶£º

{\bfseries \idx{Demon Internet}}

{\ttfamily \onlynameurl{ftp://ftp.demon.co.uk/pub/unix/linux/Demon/slack3.0.help.tgz}}

{\bfseries \idx{Netcom}}

{\ttfamily \onlynameurl{http://www.netcom.com/bin/webtech/NetCruiser/Operating\_Systems/Linux/linux.cfg.html}}

{\bfseries PowerTech, Telenor Online, Telia} 
 

{\ttfamily \onlynameurl{http://www.kvaleberg.com/no-isp.html}}

{\bfseries \idx{Stanford}}

{\ttfamily \onlynameurl{http://www-leland.stanford.edu/\~{}wkn/Linux/network/network.html}}

{\bfseries \idx{MCI}}

{\ttfamily \onlynameurl{http://www.kvaleberg.com/linux-mci.html}}

{\bfseries SISCOM}

{\ttfamily \onlynameurl{http://www.siscom.net/support/linux\_setup.htm}}

{\bfseries AOL} Ä¿Ç°Ã»ÓÐ°ì·¨£¬ÒòÎªËûÃÇÊ¹ÓÃÌØ±ðµÄÐ­¶¨¡£

Èç¹ûÄã¿ÉÒÔÌá¹©ÆäËû²»ÔÚÉÏÁÐµÄ ISP ×ÊÑ¶£¬ÇëºÍÎÒÁ¬Âç¡£




\subsection{ÎÒÒªÔõ÷áÑ§µÃ¸ü¶àÄØ ?}

ÓÐÒ»±¾ \idx{Linux Documentation Project} ³ö°æ£¬ÓÉ Olaf KirchËùÐ´£¬½Ð \idx{Linux
Network Administrator's Guide}µÄÊéÊÇÒ»±¾¶ÔÏëÒªÉèÁ¢¼°Î¬»¤Óë \idx{TCP/IP} ºÍ \idx{Internet}
Ïà¹ØµÄÈÎºÎÈË¶¼±Ø±¸Êé¡£

{\ttfamily \onlynameurl{ftp://sunsite.unc.edu/pub/Linux/docs/linux-doc-project/network-guide/nag-1.0.ascii.tar.gz}}

Ã¿Ò»¸öÈíÌåÌ×¼þ¡õ°éËæÖøµÄÎÄ¼þÍ¨³£»á¸øÄãËùÐèÒªµÄÏêÏ¸×ÊÑ¶£¬ËäÈ»²¢²»¾¡È»ÊÇÈ«ÃæµÄ¡£
¶ø man Ò³ÊÇµÚÒ»¸ö±ØÐë¿´µÄÎÄ¼þ¡£ÊÔÊÔÏñ£º
\begin{tscreen}
\begin{verbatim}
man pppd
\end{verbatim}
\end{tscreen}


ÄãÒ²¿ÉÒÔÔÚ \ncdx{/usr/doc} \url{/usr/doc} Ä¿Â¼Ê÷¡õÃæÕÒµ½Ò»Ð©
Ïà¹Ø³ÌÊ½µÄÎÄ¼þ£¬ËäÈ»ËüÃÇ²¢²»ÊÇ×ÜÊÇºÜ½á¹¹»¯µØ³ÊÏÖµÄ¡£

ÏÂÁÐµÄ HOWTO ¶¼ÓÐºÜ¸ßµÄÏà¹ØÐÔ£º

 
\begin{itemize}
\item  {\bfseries \idx{Installation-HOWTO}} ÓÐ»ù±¾µÄ×ÊÑ¶¡£
\item  {\bfseries \idx{NET-2-HOWTO}} ÓÐ¶Ô°²×°¼°ÉèÁ¢ÍøÂ·µÄÍêÕû½éÉÜ¡£
Èç¹ûÄãÊ¹ÓÃ±ê×¼µÄ Linux ¹©Ó¦ÉÌ°æµÄÌ×¼þ(Ïñ Slackware, Red Hat, Debian)
µÄ»°£¬´ó²¿·ÝÕâÐ©ÒÑ±»×öºÃÁË¡£µ«ËüÓÐºÜ¶à¹Øì¶ÉèÁ¢ÒÔ¼°¹ÊÕÏÅÅ³ýµÄÕÂ½Ú¶¼·Ç³£ÓÐÓÃÅ¶£¡
\item  {\bfseries \idx{Mail-HOWTO}} ½âÊÍÈçºÎ½¨¹¹Ðí¶à²»Í¬µÄ¹¤¾ß¡£
ÔÙ´ÎµØ£¬Èç¹ûÄã°²×°ÁË±ê×¼µÄ Linux ¹©Ó¦ÉÌ°æ±¾µÄÌ×¼þ£¬´ó²¿·ÝµÄ¹¤×÷ÒÑ±»×öºÃÁË¡£
\item  {\bfseries \idx{News-HOWTO}} ÊÇÎªÁËÉèÁ¢Ò»¸ö (Ò»°ãµÄ) news spoolµÄÎÄ¼þ¡£
\item  {\bfseries \idx{Tiny-News}} Ä¿Ç°Ö»°üº¬Ò»¸ö¡õ¼¯ÐÂÎÅÈº×éµÄÌæ´ú³ÌÊ½¡£
\item  {\bfseries \idx{PPP-HOWTO}} ¡õÓÐÏêÏ¸ÃèÊöµ±ÄãÔÚ°²×° PPP Á¬½ÓÊ±¿ÉÄÜ»á·¢ÉúµÄÎÊÌâ¡£
\item  {\bfseries \idx{Serial-HOWTO}} ÓÐËùÓÐÄãÔÚÉèÁ¢ÐòÁÐ²ºÊ±ËùÐèÖªµÀµÄÊÂ¡£
\item  {\bfseries \idx{Mail-Queue}} ¸æËßÄãÈçºÎÀ´½¨Á¢ {\itshape sendmail\/} ³ÉÎªÒ»Ãæ½«
Íâ²¿µÄÓÊ¼þÁÐ¶ÓÅÅÅÅÕ¾£¬Ò»Ãæ½«±¾µØ¶ËÓÊ¼þËÍ³öÈ¥µÄ·½·¨¡£
\end{itemize}


\idx{Red Hat} ÓÐÒ»¸ö¹Øì¶ PPP µÄÓÊµÝÁÐ±í£¬Ïë¼ÓÈëËüÃÇÖ»ÐèÐ´ÐÅµ½

{\ttfamily \onlynameurl{redhat-ppp-list-request}}
ÔÚÖ÷ÌâÉÏÐ´ÉÏ
\begin{tscreen}
\begin{verbatim}
subscribe
\end{verbatim}
\end{tscreen}

¼´¿É




\subsection{¸ÐÐ»}

±¾ÆªÎÄÕÂ´ÓºÜ¶àµØ·½¡õ¼¯×ÊÁÏ£¬¸ÐÏÂÏÂÃæÖ±½Ó»ò¼ä½Ó¹±Ï×£º
\begin{tscreen}
\begin{verbatim}
Adam Holt <holt@graphics.lcs.mit.edu>
Arne Coucheron <arneco@oslonett.no>
Arne Riiber <riiber@oslonett.no>
Arnt Gulbrandsen <agulbra@troll.no>
Bjorn Steensrud <bjornst@powertech.no>
Gisle Hannemyr <gisle@a.sn.no>
Hans Amund Rosbach <haro@sesam.dnv.no>
Hans Peter Verne <hpv@ulrik.uio.no>
Harald T Alvestrand <Harald.T.Alvestrand@uninett.no>
Harald Terkelsen  <Harald.Terkelsen@adm.hioslo.no>
Haavard Engum <hobbes@interlink.no>
James Youngman <JYoungman@vggas.com>
Johan S. Seland <johanss@sn.no>
John Phillips <john@linux.demon.co.uk>
Jorn Lokoy <jorn@oslonett.no>
Kenneth Tjostheim <kenneth.tjostheim@asplanviak.no>
Kjell M. Myksvoll <kjell.myksvoll@fou.telenor.no>
Kjetil T. Homme <kjetilho@math.uio.no>
Michael Meissner <meissner@cygnus.com>
N J Bailey <N.J.Bailey@leeds.ac.uk>
Nicolai Langfeldt <janl@math.uio.no>
Ove Ruben R Olsen <Ove.R.Olsen@ub.uib.no>
R. Bardarson <ronb@powernet.net>
Steinar Fremme <steinar@fremme.no>
Sverre H. Huseby <sverrehu@ifi.uio.no>
Trond Eivind Glomsrod <teg@stud.imf.unit.no>
Tommy Larsen <tommy@mix.hive.no>
Yves Bellefeuille <yan@storm.ca>
\end{verbatim}
\end{tscreen}






ÒëÕß°´: ÈôÄú·¢ÏÖ±¾ÎÄ¼þÄÚÈÝÓÐ·­Òë²»Ë³³©»ò´íÎóµÄµØ·½£¬ÇëÄúÀ´ÐÅ¸æËßÎÒ£¬ÒÔ×ö¸üÕý£¬Ð»Ð»¡£
{\ttfamily \onlynameurl{linuxer.bbs@cis.nctu.edu.tw}}¡£



\end{document}
