home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6419 < prev    next >
Encoding:
Text File  |  1992-11-10  |  3.9 KB  |  143 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!news.tek.com!uw-beaver!news.u.washington.edu!usenet.coe.montana.edu!saimiri.primate.wisc.edu!ames!purdue!yuma!news
  3. From: ns111310@longs.lance.colostate.edu
  4. Subject: NeXT and SLIP -- not so hard (SUMMARY)
  5. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  6. Message-ID: <Nov11.063412.82143@yuma.ACNS.ColoState.EDU>
  7. Date: Wed, 11 Nov 1992 06:34:12 GMT
  8. Reply-To: ns111310@longs.lance.colostate.edu
  9. Nntp-Posting-Host: slip20.slip.colostate.edu
  10. Organization: Colorado State University, Fort Collins, CO  80523
  11. Keywords: NeXT SLIP SUMMARY summary slip next
  12. Lines: 129
  13.  
  14. SLIP installation for near-mortals
  15.  
  16. First, get the SLIP in pub/next/submissions *NOT* in  
  17. pub/next/2.0-release/whatever
  18. it won't work in 3.0...
  19.  
  20. What threw me for a loop:
  21.  
  22. As shipped, the machine is a NetInfo-dependant machine.
  23.  
  24. You need to change the prefs in HostManager to the following:
  25. (hit Local... first to get to the info about the local machine)
  26.  
  27. ---option---               ---checked---
  28. NetInfo Binding:    Use Local Domain Only, Readable only by local net
  29. Hostname:        your hostname
  30. NIS Domain Name:    None
  31. Internet Adress:    something (this must be filled in for a  
  32. non-NetInfo
  33.                 machine)
  34. Broadcast Address:    Default
  35. Time Standard:        Ignore Network Time
  36. Netmask:        Default
  37. Router:            None (I'm not sure about this, but "none" works)
  38.  
  39.  
  40. in the file /etc/rc.local  add the following lines:
  41.  
  42. sh /usr/dialupip/config/rc.slip        >/dev/console 2>&1
  43. /usr/dialupip/bin/duioctl slip0 ENABLECALL
  44.  
  45. this starts the SLIP scripts, and also enables automatic call-out on 
  46. demand...
  47.  
  48. (If you don't want to have auto-callout, change "ENABLE" to "DISABLE"
  49.  
  50.  
  51. You need to configure the /usr/dialupip/config files...
  52.  
  53. this is a daunting task.  really.  This is where you **REALLY**
  54. need to read the /usr/dialupip/man/Documentation/Manual.wn file.
  55. It is VERY detailed, and is a fabulous manual.
  56.  
  57. thanks to Derek_Beatty@cmu.edu who told me what I was doing wrong.
  58. other thanks to ckminer@longs.lance.colostate.edu for the .../config/*
  59. files that I mooched from him.
  60.  
  61. Here are some of the files, they are set up to call into a local 
  62. machine, set the terminal to 8-bit passthrough ("terminal download")
  63. and hardware flow control ("term flow hard")... then it starts slip
  64. by typing slip, and then greps for the given address.
  65.  
  66. The modem setup works for a Microcom QX/4232hs modem, but should be easy  
  67. to
  68. edit for other modems... the format is pretty straightforward.
  69.  
  70.  
  71. #
  72. # tcldiald TCL script used to dial a modem
  73. # Originally contributed by Mark Crispin
  74.  
  75. # $Id: dial-modem.tcl,v 4.1 1992/02/07 16:56:35 louie Exp $
  76. parity zero
  77.  
  78. # Set default timeout for expect/rexpect commands
  79. set timeout 20
  80.  
  81. log "Start of Microcom QX/4232hs dialing script"
  82.  
  83. # Flush any pending command
  84. xmit {\r}
  85. sleep 1
  86.  
  87. # Get modems attention
  88. set timeout 2
  89. foreach i (once) {
  90.     xmit {AT\r}
  91.     expect {*OK*} break timeout {}
  92.     xmit {AT\r}
  93.     expect {*OK*} break timeout {}
  94.     error "Could not get the modem's attention"
  95.     }
  96.  
  97. set timeout 5
  98.  
  99. # Initialize to modem wired-in defaults
  100. xmit {ATZ\r}
  101. expect timeout {error "waiting for OK from ATZ"} {*OK*}
  102.  
  103. # Let things cool down from the ATZ
  104. sleep 1
  105.  
  106. set timeout 45
  107. set callresult FAIL
  108. ## other numbers 
  109. foreach number [list 4910410 4910410 4910410 4910410 4910410] {
  110.     log "Dialing $number"
  111.     xmit "atdt $number\r"
  112.     rexpect {CONNECT|BUSY} {
  113.         case $0 in {
  114.             CONNECT {set callresult SUCCEED; break}} } timeout
  115.     sleep 3
  116.     }
  117.  
  118. case $callresult in {
  119.     FAIL {log "calling failed aborting for $site"; abort} }
  120.  
  121. # All OK
  122. log "Connected normally"
  123.  
  124.  
  125. Also, if you plan to use NewsGrazer, at least for me, I had to make a file 
  126. called /etc/resolv.conf tha has the format:
  127. domain          local-domain (like colostate.edu for Colorado State  
  128. University)
  129. nameserver      name-server
  130. nameserver      name-server
  131. nameserver      name-server
  132. nameserver      name-server
  133. etc....
  134.  
  135.  
  136.  
  137.  
  138. I hope this helps, but be sure to read the manual!!!!!
  139.                                   ^^^^ ^^^ ^^^^^^
  140.  
  141. -nate sammons
  142.  ns111310@longs.lance.colostate.edu
  143.