   ͳ ϱ Ͽ (ISP-Hookup-HOWTO)

  Egil Kvaleberg, egilk@sn.no : ⵿̱, kidong@shinbiro.com
  v1.23, 9 December 1996

    ̾  ̿Ͽ ͳ ( ISP Ѵ.)  
  ϱ   ϴ  Ѵ. ⺻ ̾
   IP  , ڿ  ٷ  Ѵ.
  ______________________________________________________________________

   

  1.      Ұ (Introduction)

  1.1.      ο  (New versions of this document)

  1.2.    ǵ (Feedback)

  1.3.     (Disclaimer)

  1.4.    ۱  (Copyright information)

  2.          ִ°?

  2.1.    ⺻  (The basic configuration)

  3.      

  4.       ڿ ְ   ִ°? (How do I send and
  receive email?)

  5.       (News)

  5.1.     ¶  ¾ϴ°? (How do I set up an
  online news-reader?)

  5.2.       ¾ϴ°? (How do I set up an
  offline news-reader?)

  5.3.    C News  ¾ϴ°? (How do I set up C News?)

  5.4.    Leafnode  ¾ϴ°? (How do I set up Leafnode?)

  6.         ڵȭϴ°? (How do I automate the
  connection procedure?)

  7.       (Final words)

  7.1.    ˾ƾ  Ǵٸ ͵? (Other things I should know about?)

  8.      ISP   (ISP specific information)

  8.1.       ִ°? (How do I learn more?)

  8.2.    帱 е (Thanks to)
  ______________________________________________________________________

  1.  Ұ (Introduction)

     ̾ ISP(ͳ  ) ̿ڵ 
   ϰ ϴ   亯 .

  ó   ӽſ ISP ϰ ϴ   
  ؼ, ġ κ  ϴ Ѱ õ ̷
  ̴. ̷ Ǹ ¿  ٸ  Ͽ , LDP 
  κ ߺ  ۿ .  ̵  ϱ 
  ϰ   λ ϱ ؼ  ̴.

  ݱ ϴ     ִ ڵ
   Ѵ. ׸, ó ϴ ڵ   
  ϴ    ̴.

  , ־    ͵  ̴:

  o  User name: dirk

  o  Password: PrettySecret

  o  Internet service provider: acme.net

  o  Email server: mail.acme.net

  o  News server: news.acme.net

  o  Name server: 193.212.1.0

  o  Phone number: 12345678

  츮 dirk  ӽ roderick̶ θ ̴.

   ISP ϵ  ǥ ִ   ״ ٲپ
     ̴. , ٸ ISP   ణ 
  ʿϴ.   ڴ  ϰ Ǵ   
  ˰ Ǳ⸦ Ѵ.

  1.1.    ο  (New versions of this document)

    ο   comp.os.linux.answers Խõ
  ̴. ű⿡ ̰ Ͽ   ִ پ anonymous FTP
  Ʈ ߰ ̴:

  ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO

  ٿ,   Ʒ  WWW Ȩ ã  
  ̴.

  http://sunsite.unc.edu/mdw/linux.html

  ,    ֽ   پ  ȴ:

  ftp://ftp.sn.no/user/egilk/ISP-Hookup-HOWTO.txt

  ftp://ftp.sn.no/user/egilk/ISP-Hookup-HOWTO.ps.gz

  ftp://ftp.sn.no/user/egilk/ISP-Hookup-HOWTO.tar.gz

  http://home.sn.no/~egilk/ISP-Hookup-HOWTO.html

  1.2.  ǵ (Feedback)

   ,  Ʈ, ߰     ̰
  ֱ ٶ:

  egilk@sn.no

  http://home.sn.no/~egilk/

  1.3.   (Disclaimer)

    뿡 Ͽ  åӵ  ʴ´.  , ,
  ׿  ڰ  ؾ Ѵ. ٿ, ̰ 
  ̹Ƿ, ׿ Ȯ  ɼ ִ.

  ¾  ִ  پ  ϳ  ̴. 
  迡,   س  ִ   ִ. ȵ
  ִ ܶ :  ǥ ξ.  FTP-
  ο  ȿ  ȭ   Ѵ.

  ڰ ˰ִ , Ư Ʒ  뵵 ϰ 
   ִ α׷鸸   д. κ α׷ GNU
    ҽ    ִ.

  1.4.  ۱  (Copyright information)

    (c)1996 Egil Kvaleberg  ۱ ְ  
    :

  o   Ͽ   纻 ۱ Ǵ 
      Ǵ  ü Ͽ   Ϻ Ȥ ü
     ϰ   ִ.   ǰ ݷǳ, ׷
      ؼ ڴ ޱ⸦ Ѵ.

  o   Ͽ    ̶  ϴ
     ۾ Ǵ װ  ۾ ۱ ˷ Ͽ ̷
      Ѵ. ٽø, Ͽ  ڽŸ Ļ ۾
     (:㰡 ǥ,  )       
     Ͽ ΰ    .   ܴ Ư 
      ޾Ƶδ; Ʒ   Ͽ
     (coordinator) ϱ ٶ.

  o   ִٸ,  Ͽ (coordinator) Greg Hankins
      ϱ ٶ.

  gregh@sunsite.unc.edu ȭȣ snail ּҴ finger Ͽ 
   ִ.

  2.      ִ°?

  츮 ʼ Ʈ (:  N-ø  ʼ
  κ) ġ߰, /dev/modem  ø Ʈ  ¾ ƴٰ
  Ѵ.

  ⺻ δ root ڸ /dev/modem   ϴ 
   ̴.

  ISP   ٷ Ϸ, ׸   Ϸ,
  minicom α׷ ᵵ ȴ. ̰     ִ.

  2.1.  ⺻  (The basic configuration)

  Ʈ ϱ   ӽ  root ڷ ؾ Ѵ. 
  ư , /etc/hosts.deny      ִ
  Ȯ϶:

  ALL: ALL

   ڽŸ  ϵ  ̹Ƿ, /etc/hosts.allow 
    ߰Ѵ:

       ALL: LOCAL

  Ǵ ̷Ե   ִ:

       ALL: 127.0.0.1

    ٿ , ̰  IP ּҸ  PPP ؼ
   Ǿ ִٴ Ϳ ָѴ.    ִ 
  ް ִٸ, ణ ̰  ̴.

   IP ڰ   ִ ̸,  ӽſ ̸
  ִ  ſ ٶ ̴,  ̸ /etc/HOSTNAME ش:

       roderick

     /etc/resolv.conf Ӽ ¾ϴ ̴:

       search .
       nameserver 193.212.1.0

  Ӽ ݵ ڷ  IP ּҷ ǵǾ Ѵ, ׸ ISP
  ISPʹ ٸ ̴. ʿϴٸ, Ǵٸ    
  ִ. װ͵  ʴ û ̴.

  somemachine.acme.net ڷ somemachine  ̸   ֱ⸦
  Ѵٸ, ù°    ġѴ:

       search acme.net

  /etc/hosts ؼ ּ   ͵ ʿϴ.  κ
  ڵ ̵ ٷ  ְ  ̴:

       127.0.0.1 localhost
       0.0.0.0   roderick

   IP ּҸ Ҷ ̰ и 0.0.0.0 ġ ̴.

  , /etc/networks ּ ؾ  :

       loopback  127.0.0.0
       localnet  0.0.0.0

  ׸  ܺ   ̸ /etc/mailname ؾ Ѵ:

       acme.net

  ISP ̸ йȣ /etc/ppp/pap-secrets Ѵ.

       dirk * PrettySecret

  PAP  CHAP ϴ ISP , ̸ /etc/ppp/chap-
  secrets̴.

  , ⺻ PPP ʱȭ Ǳ    
  ǵǾ Ѵ. ̰ /etc/ppp/chatscript ̷:

       TIMEOUT 5
       "" ATZ
       OK ATDT12345678
       ABORT "NO CARRIER"
       ABORT BUSY
       ABORT "NO DIALTONE"
       ABORT WAITING
       TIMEOUT 45
       CONNECT ""
       TIMEOUT 5
       "name:" ppp

  ü  ټ ٲ  ִ. ° ٿ ִ ȭȣ 
  ISP ° Ͽ Ѵ.  ڵ  ʱȭ ATZ
  ϴ 𵩿 ߾ ٲپ ־  ʿ䰡 ִ.  
  name:Ʈ ϰ    ppp Ǿ Ѵٴ 
  Ÿ. ٸ ýۿ α  ٸ  ִ.

    ʱȭ Ҷ, PPP-   ɾ ʱȭ
    ִ:

       exec pppd connect \
            'chat -v -f /etc/ppp/chatscript' \
             -detach crtscts modem defaultroute \
             user dirk \
             /dev/modem 38400

  츮 ݺ  Ѻƾ Ѵ. ׸ α׷ Crtl-C
  ԷϿ α׷   ӹ ־ Ѵ. ӿ 
   ޼ ý α׿ ٿ ̴. ̸ , 
   ϸ ȴ:

       tail /var/adm/messages

  PPP ִ , ͳݿ     ִ, ׸ ftp, ncftp,
  rlogin, telnet, finger   α׷   ִ. ̵
  α׷ Ʈ Ű Ϻ̴.

  PPP     ̰   ִ:

  /usr/lib/ppp/README.linux

  /usr/lib/ppp/README.linux-chat

  , ȿ  Ѱ δ. /etc/inetd.conf  ڽ
  ӽ ܺο ϴ  񽺸 ϰ ִ. 츮 
  /etc/hosts.deny , ܺ  ٵ  ʴ´.
  ܺο  ʿ ϴ 鿡Դ, /etc/hosts.allow õ
    ϵ ؾ Ѵ.  ÿ ϱ ؼ 
   ش:

       ALL: LOCAL

  man 5 hosts_access  ϵ Ѵ.

    , POP- ̸  κп ȥ
  Ѵ. /etc/services ̵鿡  Ǵ  :

       pop2      109/tcp   pop-2          # PostOffice V.2
       pop3      110/tcp   pop-3 pop # PostOffice V.3

  : chatscript ſ, ξ 뼺ִ dip   ִ.
  ׷ diald ų ٴ  ִ.

  : ̴ Ͽ  TCP/IP    ִ 
  Դ PPP   ͵   ִ. ״, Ʈ
  ī带 ¾ϴµ ϴ  ٶϴ.

  : PPP  ϴ ٸ 鵵 ִ. ׷ SLIP 
    ִ. ̰ κ PPP   ȴ. ٸ
  ɼ UUCP̴. ַ  ڿ ְ޴ 鿡Դ
  SOUP  ϴ. ޺κ 쿡  ڼ  
  ã  ִ:

  ftp://ftp.sn.no/user/bjorn/Linux-offline.tgz

  TERM α׷  ɼ ϳ̴. Term-HOWTO ϶.

  3.    ϴ°? (How do I surf?)

  ؽƮ  ߿ϴٰ Ѵٸ, Lynx    ִ.
  ̰ ⼭   ִ:

  ftp://sunsite.unc.edu/pub/Linux/system/Network/info-
  systems/lynx-2.3.bin2.tar.gz

  X-츦 ġϿٸ, ׷   ִ   
   ִ. Chimera ⼭ ã  ִ:

  ftp://sunsite.unc.edu/pub/Linux/system/Network/info-
  systems/chimera-1.65.bin.ELF.tar.gz

  http://www.unlv.edu/chimera/

   (Mosaic):

  ftp://sunsite.unc.edu/pub/Linux/system/Network/info-
  systems/Mosaic-2.7b1-aout.tgz

  ftp://ftp.NCSA.uiuc.edu/Web/Mosaic/Unix/binaries/2.6

  (ݽ) (Mozilla (Netscape)):

  ftp://sunsite.unc.edu/pub/Linux/system/Network/info-systems/netscape-
  v11b3.tar.gz

  ftp://ftp.cs.uit.no/pub/www/netscape

  ( : ݽ å ȭ   ٸ
  Ͽ.)

  ̷    ׻ ο    ִ.

  α׷   򰡴    ٸ.  ڼ
  о Ѵ.

  4.   ڿ ְ   ִ°? (How do I send and receive
  email?)

  ٵ, sendmail ġǾ Ȯ϶. Sendmail ο
  ܺη   ϰ, ܺη     ִ ð
     ̴.

  Sendmail /etc/sendmail.cf    Ѵ. ISP ڿ
  ˸  ⼭ ã  ִ:

  ftp://ftp.sn.no/user/egilk/sendmail.cf ⿡ procmail ڷ
  Ͽ, ̰ deliver ٲ   ̴.

  This is based on procmail as a delivery agent, but may easily be
  changed to use deliver.

  ܺη  Ͽ    ּҸ  ؼ 
  ʿѵ, ׿   /etc/sendmail.cf õǾ ִ:

       # who I masquerade as (null for no masquerading)
       DMacme.net

  ⼭  ISP   ̸  ִٰ Ѵ.
   Sendmail ڿ    Ǿ ִ.  ϰ
  ݺ  ϱ ؼ ϴ   ұĢϰ 
   , Ϲ ISP  ۷ ϴ  .  ̰ DS
   õ  ִ:

       # "Smart" relay host (may be null)
       DSmail.acme.net

  sendmail  sendmail.cf   йڸ ٷµ ΰϴٴ
  Ϳ ϱ ٶ. ̷ ǹڵ ״ Ǵ 
  Ȯϰ Ѵٸ vi͸ ϸ ȴ.

  ڿ  POP3  ؼ  ȴ. ̰, 
  Ǵ  ʱȭȴ. ̸ ϱ  ũƮ  :

       sendmail -q
       popclient -3 -v mail.acme.net -u dirk -p "PrettySecret" \
              -k -o /usr/spool/mail/dirk

   ũƮ PPP  ̷ Ŀ ۵ȴ.  ũƮ 
  ϱ  ̶  ϱ ٶ, ׷  ũƮ
  Ǵ  ڽ Ϲڽ մ ʰ ״ дٴ 
  ˾Ƶд. -kɼ ISP Ϲڽ  ״ Ǿ ִٴ 
  ǹϰ,   纻   ȴ.  ¾
  ̶  Ȯϰ Ǹ  ɼ   ִ.

  н尡 Ŀǵ ο δٴ  ϱ ٶ. ̰
    Ǿ  ̴.

  ϰ    ũƮ ⼭ ã  ִ:

  ftp://ftp.sn.no/user/egilk/pop-script.tar.gz

   ũƮ Ϸ procmail ġ ʿ䰡 ִ, ׷ ·
  ƽؾ   .

  ftp://sunsite.unc.edu/pub/Linux/system/Mail/mailhandlers/procmail-3.10-2.tar.gz

  Procmail  ڿ   з  ִ
  ϰ  ̴. Դٰ ް ޼  Ͱ  
  ڵ óִ ɵ  ִ.

  Note that when we use procmail directly as in this case, the situation
  is somewhat different from what is described in the procmail
  documentation.  A .forward is not required, and we also don't need a
  .procmailrc.  The latter is only required if we want to sort the mail.

  ڿ а   ̽ Pine̳ Elm  ִ
  Ͱ .

  : Ϲ ̾ ISP ڵ鿡Դ sendmail  ׻ Ȱȭ
  ѵδ  ʿġ ʴ. ҽ  ϱ ؼ, sendmail
  ۵Ǵ κ  ó  ִ, ̰  /etc/rc.d/rc.M
   ã  ִ.

  : sendmail ڸ  ̵   smail ϱ⵵ Ѵ.
  ̿  ڼ  Linux Network Adminstrator's Guide  ã
    ̴.

  :   sendmail.cf   m4 ũ Ű ִ.
  ġ ϱ , ϴ  ϴ Ͱ ̴.

  :        ִ.  
  Pine ˸° ϴ , ĵ- ȴ. ο 
    Ŭ̾Ʈ ϴ ͵ ϴ.

  :   Emacs  Gnus ڿ, 
  Ŭ̾Ʈ ϴµ ̴.  ڼ  ⼭ ã 
  ִ:

  http://www.ifi.uio.no/~larsi/

  : popclient üҸ  pop-perl5 ִ. ̰ ⼭
    ִ:

  ftp://sunsite.unc.edu/pub/Linux/System/Mail/pop-perl5-1.1.tar.gz

  5.   (News)

  5.1.   ¶  ¾ϴ°? (How do I set up an online
  news-reader?)

  PPP ִ , ¶  д° ϴ. ⿡
    α׷ ִ.  δ rtin  Ǵ trn
  ִ.

  κ   ʿ䰡 ִ   .  ( ѹ,
  ".profile" ȿ):

       export NNTPSERVER=news.acme.net

  To get the From-address correct in postings, some programs may
  require:

       export NNTP_INEWS_DOMAIN=acme.net

  5.2.     ¾ϴ°? (How do I set up an
  offline news-reader?)

  ϶    ֵ ϸ, ȭ   ְ  
  뼺  Ǵµ,    -Ǯ ؾ Ѵ.
  ⿡   ʿϴ, ׸  ũ 
  ʿϴ. ʱ ¾  Ŀ,  Ǹ ￩  ư
   ƾ Ѵ.

  ΰ ذå ⼭ Ѵ.

  5.3.  C News  ¾ϴ°? (How do I set up C News?)

  ⼭  ذå  C News NNTP ݿ  д.
  C News  ٸ   ǥ ϴ°̴.  ׷ ̰
  츮 Ȳ ٷ   ŭ ϴ. Ӱ αִ INN
   ϱ⸦ ҷ , װ ҽ  
    ʿ Ѵ. ·, Ѵ ġ ʵ Ѵ; 
     .

  news αؼ     ذȴٴ  
   ̴.  ϵ /usr/lib/news ġѴ. ̰͵
  ٷ Ѱ , root αϿ su news; cd Էϴ
   ִ.

    ߿ ϵ:

  o   active  Ȱȭ ׷쿡  ̴. ̴ addgroup
      ų  ʿ  ŵȴ.   addgroup
     comp.os.linux.networking y    ִ.

  o  organization Organizaton:  ʵȿ   ϴ´
     ־θ ȴ. 츮 :

       Dirk Gently's Holistic Detective Agency

  o  mailname 츮  acme.net ־ Ѵ.

  o  whoamiϿ  Ʈ ̸ Path: ش. ⼭ 
     ¾, NewsX ̿Ͽ,  ̸ ӽ  ؼ ȵȴ,
     ׷ װ   󸶵 ϴ´   ִ. 츮
      roderick̶ ϰڴ.

  o   sys Ǵ   ϴ  Ѵ.  츮
     쿡 ISP acme.net Path ߰Ѵٴ  Ѵ, ׸
     ̰ 츮  ִ   ҽ̴.  ־ 
     츮    ޾Ƶ̰,     ͸
     acme.net  ԽѴٴ  ˷ش. ׸ Խô 
     츮 ϴ Ʈ Ѵ. ̷ ϰ  ¾ 
     ׷ ϳ ҽ Դٴ  Ѵ. /all 
     Ѵ, ׸ ݵ ԵǾ Ѵ.  F ٱ 
     簡 Ͽ δٴ  Ѵ.

       ME:all/all::
       acme/acme.net:all,!junk/all:FL:

  o  ܺη    丮, 츮   
     Ѵ:

  mkdir /var/spool/news/out.going/acme

  o   mailpaths moderate groups(:    Խ 
     ִ ׷, Ҷ ׷   ڿ 
       Ѵ. ǥ comp.os.linux.announce
     ִ.) ÿ   Ѵ.    ISP ô´.

  C News    ʿ䰡 ִ. ׷ ̴ ѹ, news
  ڷμ crontab -e  Ͽ  ϴ  ϴ.
  ϴ ¾  ; ̸ ʿ Ѵٴ  Ÿ ȴ:

       # maintain incoming and outgoing batches
       10,40 *  * * * /usr/lib/newsbin/input/newsrun

       # expire C News, once a day
       30 0  * * * /usr/lib/newsbin/expire/doexpire

       # monitor and report if needed
       00 2  * * sat /usr/lib/newsbin/maint/addmissing
       40 3  * * * /usr/lib/newsbin/maint/newswatch
       50 3  * * * /usr/lib/newsbin/maint/newsdaily

  Newsrun (ѽð ι) 縦 ο ܺη ű.  doexpire
    .(  00:30), ׸   
  پ ۾   Ѵ.

   ̰͵ ӽ Ҷ   и ؾ Ѵ.
  root ڷ,    /etc/rc.d/rc.local ߰Ѵ.

       su news -c /usr/lib/newsbin/maint/newsboot

   Ƹ NewsX α׷  NNTP  ν
  ̰ ȴ.  α׷ ⼭ ã  ִ:

  ftp://sunsite.unc.edu/pub/Linux/system/News/newsx-0.1.tar.gz Or:

  ftp://ftp.sn.no/user/egilk/newsx-0.3.tar.gz

  NewsX ¾ϴ  ô ϴ.  Ϲ ġϴ 
   :

       make
       su
       make install
       exit

  ⼭ ¾ Բ,  ؾ   "addgroup" 
  Ͽ  б⸦ ϴ ׷ ϴ ̴.

  縦  ؼ, news ڴ     (PPP
  ׿   ̷ ִٰ Ѵ.):

       newsrun
       newsx acme news.acme.net
       newsrun

  ɼ  -d ũ   Ѵ.   ڼ  NewsX
    ϵ Ѵ.

  NewsX   縦 ϴ Ϳ Ǹ  ̴.

    óϱ ؼ, explist  ʿϴ.  
   츮  ϴ ϰ ִ:

       # 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   -

  :  -Ǯ, ׷ control ʿ   ִ.
  뼺 ؼ  ϰ ɸ. ֵ   ҵȴٴ
  ̰, ׸ ׷ ڵ  ̴.  newsgroup
  ִ  ޼ ׹ ̴   
  newgroupperm̶ Ҹ Ͽ 츮 㰡 ͵ Ѵ:

       comp.os.linux  tale@uunet.com yv
       all       any       nq

  ̷ , comp.os.linux Ʒ ִ  ׷  Ϸ
  (y), news ڰ ޱ⸦ Ѵٸ (v) ش.  ͵
   ̷ ϰų (q)   ִ (n).   
  ׷  ⸦ Ѵٸ  ̴.

  : NewX ν suck̳ postit  slurp ִ. Slurp
     Ŀٶ ϸ ϴ NNTP NEWNEWS  Ѵ.

  5.4.  Leafnode  ¾ϴ°? (How do I set up Leafnode?)

  ٸ ذåδ  Ű leafnode ġϴ ̴.  ̰
     Ǯ ʿ  ۾ ٷ ̵, ϱ⵵ .
  leafnode ⼭   ִ:
  http://www.troll.no/freebies/leafnode.html

  C News , news ڰ    Ͽ Ѵ.

  leafnode Ȩ丮 /usr/lib/leafnode ִ.  ġϱ ؼ
    ԷѴ:

       cd /usr/lib/leafnode
       tar -xzvf leafnode-0.8.tgz
       cd leafnode-0.8
       make
       su
       make install

   root αѴٸ, /etc/inetd.conf NNTP ϴ 
    ٲپش:

       nntp  stream  tcp  nowait  news  /usr/sbin/tcpd /usr/local/sbin/leafnode

  Activate it by:

       killall -HUP inetd

  exit Էν news ڷ ƿ´.
  /usr/lib/leafnode/config NNTP  ϰ ִ 
  ٲپش. 츮 쿡:

       server = news.acme.net

  Leafnode news ڷ crontab -e    ÷ν
  ڽ  ̴:

       # expire Leafnode, once a day
       0 4 * * * /usr/local/sbin/texpire

   ȯ    newsڸ ؼ ̷.
  (PPP ְ  ) The news exchange is also done as user
  news by the following command (assuming PPP is up and running):

       /usr/local/sbin/fetch

  ڵ  б⸦ ϴ ڵ How do I set up an online
  news-reader?   Ͽ ϴµ,   ӽſ
  Ҷ Ѵ,  :

       export NNTPSERVER=localhost

  ݱ   ؾ   ̴. ù° fetch ̿  ִ
  ׷ Ʈ Ѵ. Leafnode ڰ  ׷
  ûϿ ϰ,    ׷ ȰȭǸ ޾Ƶ̰ ȴ.

  : leafnode   δ nntpcache ִµ, ⼭ 
   ִ:

  ftp://ftp.suburbia.net/pub/nntpcache/nntpcache.tgz

  6.     ڵȭϴ°? (How do I automate the connection
  procedure?)

    ڿ ڵ óϴ  ϴ  ſ
  .

    ISP  ʱȭ ִ /usr/lib/ppp/ppp-on
   Ѵ. ,        ִ:

       /usr/sbin/pppd

   ڼ  /etc/ppp/options ȴ:

       connect "/usr/lib/ppp/chat -v -f /etc/ppp/chatscript"
       crtscts
       modem
       defaultroute
       asyncmap 00000000
       user dirk
       /dev/modem 38400

    ؼ, /usr/lib/ppp/ppp-off ִ  ϸ
  ȴ.

    ũƮ  ϰ ,  ۾ ϴ ũƮ
  ۼؾ Ѵ.  ũƮ տ  ϵ  
  Ѵ, ׸ ̰ /home/dirk/pop ִٴ  Ѵ.

   ְޱ  ũƮ /root/mail ȴ:

  #! /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

   ְޱ  ũƮ /usr/lib/news/news ġѴ:

       #!/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.net

       #and flush the incoming batch:
       /usr/lib/newsbin/input/newsrun < /dev/null

  A script to connect the various bits and pieces remains, and can be
  placed in /root/news+mail:

  #!/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

  ܺη  ̳  ִ  ϵ Ȯϴ  ſ
  . ̰  /root/news+mail , ׸ ܺη  -Ǯ
  ̸ ˸° ŵǾ Ѵٴ  ܵд:

       #!/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

        ϴ  ̴. ̰ root
  crontab -e ɾ ȴ. 츮 ׻   ħ 07:00 
  ְް, ܺη  ϰ   ׽ð  ٰ
  .

       00 7      * * *     /root/news+mail
       00 11,15,19,23 * * *     /root/news+mail.cond

   κе  ϱ   غ  Ѵ.
  ߿ ٸ ϵ ÷  ִ.   ð ٴ (ntp
  date  ̿), ÷ Ǵ WWW ڵ (̷), ׸ FTP
   ISP ϴ (make ftp ̿)  ִ.

  : ⿡ , μ    ִ.  PPP ũ
  ʱȭ ɶ, /etc/ppp/ip-up ũƮ ۵ȴ.  ⿡
  ڿ  ְޱ  ʿ  magic̵ ߰ų 
  ִ. ڼ  man pppd ϱ ٶ.

  : Ʈ Ʈ 䱸 Ǿ  ڵ PPP  
   ִ. ⿡    ,  
  ̷   ؼ   ũ Ѵ.   
  ⼭   ִ:

  http://www.cs.toronto.edu/~schenk/diald.html

  diald ƿƼ ⼭   ִ:

  ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/diald-0.13.tar.gz

   װ ٸ پ PPP   ߰ϰ  ̴.

  7.   (Final words)

  7.1.  ˾ƾ  Ǵٸ ͵? (Other things I should know about?)

  o  ý   ޼   ڿ ߻ȴ.
     ̰͵  ֵ ϱ ؼ, /etc/aliases  Ѵ.
       ٲܶ newaliases  ؾ Ѵٴ 
     ϶. κ 츦 ϴ Ѱ ̴:

       PostMaster: root
       ftp: root
       news: root
       usenet: root
       FaxMaster: root
       fax: root
       WebMaster: root
       MAILER.DAEMON: root

  o    α׷ Sunsite ã  ִ, ׷
     װ ſ պ.   ̷ ־, ̵ ׻
     ftp://sunsite.unc.edu/pub/Linux/.. Ѵ. ڽſ 
     ̷ ϵ ؾ Ѵ. 
     ftp://ftp.nvg.unit.no/pub/linux/sunsite/..

  o  Yarn  Űܾ    , Ʒ   ִ
     yarn2mf Ͽ ǥ  ̵ ٲ  ִ:

  ftp://ftp.sn.no/user/egilk/yarn2mf.zip

  8.  ISP   (ISP specific information)

    Ư ISP   پ    ִ:

  Demon Internet (demon.co.uk)

  ftp://ftp.demon.co.uk/pub/unix/linux/Demon/slack3.0.help.tgz

  Easynet TBA

  Netcom

  http://www.netcom.com/bin/webtech/NetCruiser/Operating_Systems/Linux/linux.cfg.html

  PowerTech, Schibstednett, Telenor Online

  http://home.sn.no/~egilk/no-isp.html

  Primenet TBA

  Stanford

  http://www-leland.stanford.edu/~wkn/Linux/network/network.html

  ⿡   ISP   ˰ ִٸ,  Ź帰.

  8.1.     ִ°? (How do I learn more?)

  Linux Network Adminstrator's Guide Ҹ   Ʈ
  (Linux Documentation Project)å  TCP/IP ͳ 
   ¾, ϴ Գ ʼ å̴:

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

   Ʈ Ű   ʿ ϴ ڼ 
   ̴. Ŵ    ƾ  ̴.  
   ѹ õغ:

       man pppd

   α׷  Ǵٸ  /usr/doc ã   ̴.
  ׻   ¥ ִ  ƴ...

    HOWTO  õ ͵̴:

  o  Installation-HOWTOδ ʸ   ִ.

  o  NET-2-HOWTO NET ڵ忡  ġ ¾ Ͽ 
     ڼϰ ϰ ִ. ⿡ ִ κ ǥ  
     ϴ 쿡 (  Slackware, RedHat, Debian) ̹
     Ǿ ִ. ׷ ġ ذῡ   κе 
     ġִ ͵̴.

  o  Mail-HOWTO    ϴ ϰ ִ.
     , ⿡ ִ κ ǥ   ϴ 
     ̹ Ǿ ִ.

  o  News-HOWTO ()  Ǯ ¾ϴµ δ.

  o  Tiny-News  ϴ "slurp"   Ѵ.

  o  PPP-HOWTO PPP  ¾ϸ鼭 ް Ǵ   
     ڼ  ִ.

  o  Serial-HOWTO ø Ʈ ¾ϴµ ˾ƾ  ʿ䰡 ִ 
     ͵  ִ.

  o  Mail-Queue tells you how to send up sendmail to always queue remote
     mail but deliver local mail at once.

  8.2.  帱 е (Thanks to)

  ⿡ ִ   ҽκ  ̴.  , 
     е鲲 帰:

       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>
       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>

