
                             SLIP/PPP  HOWTO
                                       
3.0 ( 8/7/97 Irish s)

   NЦpzL SLIP/PPP Ĵp SLiRP άO TIA NA Linux Box
   s@몺x[generic site]CHOҨϥΥ󪺵GA Lw
   HСC
   
   bo̧ڱN|ձԭzsuإ߫ҦiơALڷ|iDA ̥iH
   oκ}C
   
   nFAڭ̶}la!!
     _________________________________________________________________
   
     * 1.0 OpB@?
       򥻤WAF SLIP-PPP pB@MO۷nCA
       AäΦbAWw˼AOw˦bAݥDWCA
       uݭnb ֤ؤ䴩 TCP/IP M SLIP  PPP qTwAt~ٶn@
       ȤݳnNFC
       B@άOo˪GAzL SLIP/PPP suVݥDoXA
       ȽШDA|dI@nDñNӰeܺWCMAW
       ^e^ ܧAݥDWbɡA|AdIøg SLIP/PPP
       suǦ^ܧA WCҥHAӻAuObMAݥDW
       bqAOAӻA ANnOusWF@ˡC
       AӥiHݥXӡAo˦ɷ|W䥦qVcFCĴpGtalk
       {SkzL`u@A]~VAoXͽШDɡA
       O bAݥDWإ talk ʱ{[daemon]AӤObA
       WC
       Mu SLIP/PPP ̤jPbAèSuw IP }
       ACO AAuO@Ӽbഫ SLIP/PPP sӤwC
     * 1.1 O TIA ?
       [1]౵ [The Internet Adaptor] OѤ@s marketplacce.com H
       ҼgCL̥ثe wg}Ӥu@ӥB]{owgOӦ~FA
       ҥHwgoFC̷s O 2.05 AӥBpGAnϥTIAAШ
       ΦCI`NIھڳ̷sɡATIA ثeuѦ}v[site
       licence]C
     * 1.2 O SLiRP ? SLiRP O@M GNU }vKOnAثewg
       OBQíwC \ TIA yhAӥB(ڻ)D귽
       YCAbUjLinux FTPiH 즹nC
     * 1.3 O Term ?
       pGbYǱpUAASADW root vAӧASSkШ
       L Hw SLIP M dip AoɧAXG@Lܦanϥ Term FC
       Term ԲӸT AаѾ\ Sunsite W HOWTOC
     * 1.4 Ou SLIP/PPP ?
       KIDM~ϥΨӻA{bBiHXzRu
       SLIP/PPPC pGAt᪺_AάOAuݭnANRaIu`O
       ӪnCLA iHѦwCN@ӰTAF
       AANMAѪ[provider]@ wCLA]oIXNAzL
       NCtסAӥBëD䴩ҦwC` ӨAϥμ
       sܺO@ӤܡAӥBjhƤHӻAN ΤFC
     _________________________________________________________________
   
   FAoǧڳDF! ڨ쩳np[]O?
   
   SDAOUAN֨쨺FCLbe٬O@ǧAnDTA
   Mi@BC
   
   ApGADA IP }ܡAAVѪ̨CAiHHU
   C kӰAbtδܲŸUJ'who'AΪ̾\ŪL̪ /etc/hosts ɮ
   AƦܴN ݥĻa!AFAA٥nD POP/SMTP DM
   NNTP A IP }(p GADO򪺸ܡA۫HڡANݧaAA
   |ݭn)C
   
   UӡA²檺Ӹ@UODW[hostnames]MW[domain
   names]C AW٪Ĥ@NODW١AӳѤUӪNO
   [domain]C|ҨӻG hostname.domain.name(]|ӳ
   hostname.do.main.name)CӨ̦X_ NO@ӦĪW[Fully
   Qualified Domain Name, FQDN]C
   
   A Linux W٬Oxsb /etc/HOSTNAME AOAA]iH復C
    WAڤ]ĳA(pGAOϥ SlackwareAw]
   O"darkstar.frop.org")CЪ s /etc/HOSTNAME AN令AQn
   W --- OApGAOϥμAƹ WAbWOΪA
   HAWrɾi઺oAQOaCMӡApG Anϥίu
   SLIP-PPP sAOonTwnAW٭nOAѪ̪l[sub-net]C |
   ҨӻApGAѪ̬O "info.superhiway.com"ANO
   "superhiway.com"AӥD WٴNO "info"CҥHAiHs
   "offramp.info.superhiway.com"Ϊ̴Ns "offramp.superhiway.com"A
   ̳iHCbرΤUAADWٳs"offramp"C
   
     * 2.0 ǳƧA Linux 
       AaAHUNOAһݭnCڷ|NeT@ԲӪC
          + -> sĶ]t SLIP M TCP/IP ֤[kernal]
          + -> s@ /etc Uɮ
          + -> w˨ó]w dip
          + -> w pppd (DAuΩPPP)
       A]noTGiɨæw˩AݥDCSLiRP iHb
       [2]Sunsite Ψ䥦Uj Linux Ftp C䥦Ҧ TIA Th
       i [3]TIA C
       
   NoˡAڭ̶}la!
   
     * 2.1 sĶA֤
       pGAHeqӨSչLAAӸդ@UCӥBAӥݬ FAQAL
        ߡA²檺CpGAݭnܡAAiHH e-mail ڡAڷ|
       C
       gTAbo̧ڰ]AgLCAb 'make config'A`N
       "Network Devices"A'y'CMAb SLIP ACSLIP(άOPPP) M TCP/IP
       'y'C DAdάO䥦]n[J䥦wA_h䥦@
       'n'C pGAo ˰ܡANLkT! AFsMw
       ˷s֤ߤAUӡA
     * 2.2 s@ /etc Uɮ
       oɮױN|]wsݥD|C /etc Otγ]w[system
       configurations] ؿCбNHUҦ޸(")تeאּA
       (OΥ]t޸Abo uOFܤKAbڪɮפOS
       o޸)CHUNOAһݭn諸 סC
          + /etc/hosts:
#The next line is required to be EXACTLY as below.
127.0.0.1       localhost

#Note at the end of the next two entries the hostname is repeated.
#This abbreviation is an alias, and is required for the first entry.
#If you're on a LAN, you'll need to substitute your IP address for
#the first one below.
192.0.2.1       "yourhostname.domain.name  yourhostname"
"XXX.XXX.XX.XX" "remotehostname.domain.name  remotehostname"
                  + /etc/host.conf:
order hosts, bind
multi on
                  + /etc/resolv.conf:
domain "yourdomain.name"
#The next line usually uses the same remote IP address that's in /etc/hosts
nameserver "XXX.XXX.XX.XX"
                  + pGnϥ NNTP AAЦb /etc/profile [Jo@
            :
            export NNTPSERVER="remote.hosts.nntpservername"
     * 2.3.1 DIP
       DIP [Dialup Internet Protocol] OΨӼAݥDɡBҰʼ
        BñNuSLIP/PPPCb Slackware Asb"N"XA䤤
       ٦@ǫȤ ݳnMu{Aح@ǧAi]|Qnw˥ =)C
       Ϊ̧A]iH [4]Sunsite oӧO tar ɮסC
       @Aw˦nFAAKn dip ROZ[script]AU@dҡAun
        ޸(")تeאּATNiHF(OΥ]t޸Ab
       ouOF ܤK)
       ----------qo}l--------------------------------
main:
  get $local "yourhostname.domain.name"
  get $remote "remotehostname.domain.name"

#Your port here
  port cua"?"

#Use 115200 for 28.8 modems
  speed 57400
  reset

#don't use spaces in your AT command string!
  init AT "string of commands"
  wait OK 5

# This will redial. If it doesn't work, play with the wait time (listen
# to your modem). If it still doesn't work, mail me.
# See also; the note at the bottom of the script re: error codes.

dial:
  dial "phonenumber"
  print Dialing...
  if $errlvl != 0 goto error

#You may need to change this wait time to suit your modem
  wait BUSY 20
  if $errlvl == 0 goto dial

login:
  print Connected and Logging in...

#This wait and send gets me past my hosts Annex. Change for your site!
  wait ==> 60
  send 4\n
  wait ogin: 60
  if $errlvl != 0 goto login_error1
  send "LOGIN"\n
  wait assword: 60
  if $errlvl != 0 goto login_error2
  send "PASSWORD"\n

loggedin:
  wait "SYSTEM PROMPT" 60
  if $errlvl != 0 goto shell_error
  print Logged in!
  send "emulator startup command"\n
  wait "emulator startup response" 60
  if $errlvl != 0 goto emu_error

#The recommended mtu setting is 1500, but this is faster interactively.
#Ftp may be slower, so adjust to taste.
  get $mtu 296
  default

done:
  print CONNECTED to $remote with address $rmtip
  mode CSLIP
  goto exit

error:
  print Dialing Error

login_error1:
  print No Login

login_error2:
  print No Password prompt

shell_error:
  print No shell prompt

emu_error:
  There was a problem starting the emulator

exit:

#This will error out when the -v flag is used, but work when run normally
#(ends dip at a local prompt).
  \r
       -------------o-----------------------------
     * 2.3.2 DIP  s dip |^XƾھAT (uAS
       K)A OHƦrӥNCUOCG
       
     * 0 = `[OK]
     * 1 = su[CONNECT]
     * 2 = ~[ERROR]
     * 3 = u[BUSY]
     * 4 = S[NO CARRIER]
       
   ҥHAqN|oˡG
dial:
  dial "phonenumber"
  print Dialing...
  if $errlvl != 0 goto error
  wait 1 20
  if $errlvl != 1 goto dial

   onk\ Lee Olds (lee@eskimo.com)C
   
   \n = s[newline]A \r = e^[carriage return]CbYǦa A]
   \|γoӰѼơCpG檺ܡAAhոէa!
   
   󵥫ݩMǰeΦApGdҤ٤MܡAUNOڪΡG
  wait ogin: 60
        (ROZ|ݻݥDeX 'ogin:' r60ɶC줧ARO
        Z|~iCpGӦrAb60OɤA~|~iC)
  if $errlvl != 0 goto login_error1 (o@iܩʪϥ)
        (pGe쵥ݪrAh|QLA~i汵UӪROC
        YSAӬOOɪܡAK|A]wa (boӨҤlO'lo
gin_error1')
  send "LOGIN"\n
        (DIP |eX'LOGIN'rM@r)

   pGnܡAAiHJίvԭzAoˡG"sleep 10"CoiHAR O
   ZȰ10C
   
   ANɮ׽snFAбNsRWAҦpAremote.dipCM
   /root ؿCUӡAH root 'dip remote'CɽШϥ -v
   Ѽ Ӷi氣('dip -v remote')Ao˷|ܥX dip i檺ҦBJC
   
   Dip uH root AL@ӤkiHAHϥΪ̪Ӱ 
   CpGAunTAAݧڡCpGhHnAڥiH|N[
   J oɮبӡC
   
   pG dip X{~TANROZѧRAոլݡC
   
     2.4 PPP
   
   ثeAڭ̤wgDF CSLIPAbXGҦΤUD`nCѩ O
   b֤ߪh䴩ӨwAoϱouܮeB --- unATwbåB
    B@C
   
   MӡAA̦ǤHiQ PPP AF]AuݧAFCbo
   i`ApإߥAXGSOt~@gMݪ HOWTO FCboاڥu
   i DAbϥ PPP ݭnSO`NaC
   
   A̷s DIP ܧAiHΥӱҰ PPPAO dip ȯҰ PPP ʱ
   {[daemon]AOSXЪܰTCҥHpGAϥ DIP ӱҰ
   PPPAOonAҦ_ʸT[startup info]i /etc/ppp/options ɮפ
   A MO|\C
   
   즳 options oɮסAקAnp_ʧA pppd A@˪FO "
   "nsbG'192.0.2.1:XXX.XXX.XX.XX' oO 'a IP }: IP
   }'C ҥHݭn]O]q` pppd |۰ʱN񦨪ťաAs
   ܼɷ|ѡC
   
   OѰOno̷sB̦n pppd MCGb̪񪺬YǪ@ǤpDC
   
   ̫ADAzѤAϥ PPPAΪ̧AuOQnյ۾ǲߥOp
   B@AMܧAuݭnCڤwgեιL̡AMȤݪзǳ]w
   _Ө |Pıo쪺{CMաAAJ쪺pO_|ڤ@˶
   QڴNOF C : )
     _________________________________________________________________
   
     * 3.0 {bڥiH?
       K! pG@QܡAA{bӤwgsWF! ոլ 'telnet
        ݥD' (ٰOobA hosts ɮפYg? )CAӥiHo컷
       DWñJ ܲŸC~Aդ@Ua! A{biHѧAaݾ
        telnet / FTP / etc.  WaCڸӫ? A{b
       QλݥDW٦A[nameserver] ӸѪR}(resolv.conf)C
       ӹa! XǥiHB@ӨǤC
       AݥDSѪAȫhA]Lkϥ! |ҨӻApGAݥD
         telnetAhbA]LkbaDWC? ]
       uOww giΪAȰsɦV[re-directing]ӤwC
     * 3.1 l[Mail]
       r¦ѨMkMD Pine ݡAAiHq [5]زyjǤUC
       ܩ'HX¦̨ζl\Ūn'Aڱ XFmailCwgO
       Bí wAwˮeCݭnbaݦw˶lAt(LiH
       Paݪ Ʀs[spools]@PB@)A]wgؤFPOP \Aîe
       ϥ - AݭnB~ popclient/fetchpop ! ϧΨϥΪ̬ɭ[GUI]
       iȻs[customizable]A]䴩 MIMECֱq [6]XFmail  U
       a!
     * 3.2 sD[News]
       rɭsD\Ūn [7]SLRN w˩MϥγD`²CO @ӯº
        NNTP sD\ŪnAYO ݭnaݪsDǰe[news
       transport] Nॿ`u@(NOAݭnw Cnews  INN)Cu
       @ݭnNus NNTPAAӤjhƪ ISP ѡCMO@
       ӥHr¦{A Om⪺A䴩ƹAåiHb rxvt ׺ݾ
       WC
       HX¦sD\Ūn [8]KNews hXGO CpPWz
       SLRN @ˡAݭnaݪsDǰe[news transport]Auݭn NNTPA
       Aȱo@աC
     * 3.3 Mosaic/Netscape
       MaAAnX~楦AMAunUGiɡA
       Y AAw˴NnFAoOA²椣Lu@FC
     _________________________________________________________________
   
     * 4.0 
       pGٿ|FAΪ̧AMDASYAڤѤѬݫH@C
        TsD`WcAҥHA̦n``^Ӭݬ(ڷ|s
       X)CMաA A^mVhAoةүണѪƤ]NhCҥHpGA
       iHѪAФnS ݤFAi`ڧaC
       pGAݭnUAάObw˪L{VJFDAڥiH
       U A LAnڤUCTG 1. @AT /etc ɮסC
       2. @AH -v ѼƪROZX(ý~~AAKXO@!)
       YϧALkѨ䥦^mA]ЧANoǸTBzTAMHڡAo
        nC
     * 4.1 ѦҸ
       夤Ҵ쪺 Sunsite @ FTP [9] sunsite.unc.eduAO@ ӦWŨ
       ֦ Linux TA]AXGҦFAQAHOWTOAMREADMEC
       [10]Marketplace.com hO TIA  A]Oߤ@iHoaC
       ڬO IrishA[11] irish@eskimo.comAڨSbwڪߩάOڪ
       pĮɡAڳb Linux gסC
       o HOWTO iHbUC}oG
          + http://www.eskimo.com/~irish
          + ftp://ftp.eskimo.com/u/i/irish
          + ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/TIA

References

   1. http://www.marketplace.com/tia/tiahome.html
   2. ftp://sunsite.unc.edu/pub/Linux/INDEX.html
   3. http://marketplace.com/tiahome/tia.html
   4. ftp://sunsite.unc.edu/pub/Linux/INDEX.html
   5. ftp://ftp.cac.washington.edu/
   6. http://burka.netvision.net.il/xfmail/xfmail.html
   7. ftp://space.mit.edu/pub/davis/slrn
   8. http://www.student.nada.kth.se/~su95-kjo/knews.html
   9. ftp://sunsite.unc.edu/pub/Linux/INDEX.html
  10. http://marketplace.com/
  11. mailto:irish@eskimo.com
