From: ns111310@longs.lance.colostate.edu
Subject: NeXT and SLIP -- not so hard (SUMMARY)
Date: Wed, 11 Nov 1992 06:34:12 GMT
Reply-To: ns111310@longs.lance.colostate.edu
Organization: Colorado State University, Fort Collins, CO  80523
Keywords: NeXT SLIP SUMMARY summary slip next

SLIP installation for near-mortals

First, get the SLIP in pub/next/submissions *NOT* in  
pub/next/2.0-release/whatever
it won't work in 3.0...

What threw me for a loop:

As shipped, the machine is a NetInfo-dependant machine.

You need to change the prefs in HostManager to the following:
(hit Local... first to get to the info about the local machine)

---option---               ---checked---
NetInfo Binding:	Use Local Domain Only, Readable only by local net
Hostname:		your hostname
NIS Domain Name:	None
Internet Adress:	something (this must be filled in for a  
non-NetInfo
				machine)
Broadcast Address:	Default
Time Standard:		Ignore Network Time
Netmask:		Default
Router:			None (I'm not sure about this, but "none" works)


in the file /etc/rc.local  add the following lines:

sh /usr/dialupip/config/rc.slip  	  >/dev/console 2>&1
/usr/dialupip/bin/duioctl slip0 ENABLECALL

this starts the SLIP scripts, and also enables automatic call-out on 
demand...

(If you don't want to have auto-callout, change "ENABLE" to "DISABLE"


You need to configure the /usr/dialupip/config files...

this is a daunting task.  really.  This is where you **REALLY**
need to read the /usr/dialupip/man/Documentation/Manual.wn file.
It is VERY detailed, and is a fabulous manual.

thanks to Derek_Beatty@cmu.edu who told me what I was doing wrong.
other thanks to ckminer@longs.lance.colostate.edu for the .../config/*
files that I mooched from him.

Here are some of the files, they are set up to call into a local 
machine, set the terminal to 8-bit passthrough ("terminal download")
and hardware flow control ("term flow hard")... then it starts slip
by typing slip, and then greps for the given address.

The modem setup works for a Microcom QX/4232hs modem, but should be easy  
to
edit for other modems... the format is pretty straightforward.


#
# tcldiald TCL script used to dial a modem
# Originally contributed by Mark Crispin

# $Id: dial-modem.tcl,v 4.1 1992/02/07 16:56:35 louie Exp $
parity zero

# Set default timeout for expect/rexpect commands
set timeout 20

log "Start of Microcom QX/4232hs dialing script"

# Flush any pending command
xmit {\r}
sleep 1

# Get modems attention
set timeout 2
foreach i (once) {
	xmit {AT\r}
	expect {*OK*} break timeout {}
	xmit {AT\r}
	expect {*OK*} break timeout {}
	error "Could not get the modem's attention"
	}

set timeout 5

# Initialize to modem wired-in defaults
xmit {ATZ\r}
expect timeout {error "waiting for OK from ATZ"} {*OK*}

# Let things cool down from the ATZ
sleep 1

set timeout 45
set callresult FAIL
## other numbers 
foreach number [list 4910410 4910410 4910410 4910410 4910410] {
	log "Dialing $number"
	xmit "atdt $number\r"
	rexpect {CONNECT|BUSY} {
		case $0 in {
			CONNECT {set callresult SUCCEED; break}} } timeout
	sleep 3
	}

case $callresult in {
	FAIL {log "calling failed aborting for $site"; abort} }

# All OK
log "Connected normally"


Also, if you plan to use NewsGrazer, at least for me, I had to make a file 
called /etc/resolv.conf tha has the format:
domain          local-domain (like colostate.edu for Colorado State  
University)
nameserver      name-server
nameserver      name-server
nameserver      name-server
nameserver      name-server
etc....




I hope this helps, but be sure to read the manual!!!!!
                                  ^^^^ ^^^ ^^^^^^

-nate sammons
 ns111310@longs.lance.colostate.edu
Newsgroups: comp.sys.next.sysadmin