From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4ca5cd1cf4f66b72 X-Google-Attributes: gidfee84,public From: "Jean Dubois (admin)" Subject: Re: Q: SLIP on OSF1? Date: 1995/05/01 Message-ID: #1/1 X-Deja-AN: 101876964 sender: news@sunqbc.risq.net (NEWS sunqbc) x-nntp-posting-host: bambam.digital.ca references: <3np8ff$72l@amhux3.amherst.edu> content-type: TEXT/PLAIN; charset=US-ASCII organization: Reseau Interordinateurs Scientifique Quebecois (RISQ) mime-version: 1.0 newsgroups: comp.unix.osf.osf1 > has anyone gotten an Alpha station running OSF1 to work as a SLIP > host? > > if so, _please_ tell me how you did so! Yes this system has been on Internet thru SLIP for a year now. Setup: Run netsetup and configure the interface sl0 To dial you can do it maually with tip or use a script like the following to do it for you: ---------------------------------------------------------------------------- #!/usr/bin/csh -f # # Auto connection script # (Jean dubois) # # # Change directory for KERMIT log # cd /var/adm setenv LOG /var/adm/slip.log set LOCK_FILE=/tmp/sliplock set SLATTP=/usr/sbin/slattach # set KERM=/usr/local/bin/kermit set KERM_SCRIPT=/usr/local/slip/connect_slip.krm set PINGSYSTEM=blazer.crim.ca # # Check if SLIPP is UP # /sbin/ping -c1 $PINGSYSTEM > & /dev/null ; set pstat=$status if ($pstat != 0) then echo "------> "`date`" SLIP is down" >>& $LOG # # Execute Kermit connect script # set isrun=`cat $LOCK_FILE >& /dev/null; echo $status` if ($isrun == 0) then # echo "Script already in progress .... EXINTING" >>& $LOG exit 0 else # # Not as tight as a semaphore, but will do # touch $LOCK_FILE # # Kill SLATTP if runing # set slattpid=`ps auxww | grep slattach | grep ttyd0 | awk '{print $2}'` if ($slattpid != "") then kill -9 $slattpid >>& $LOG endif # echo "Executing connection" >>& $LOG # $KERM $KERM_SCRIPT >>& $LOG echo "Connection done" >>& $LOG echo "" >>& $LOG rm -f $LOCK_FILE endif else echo "------> "`date`" SLIP running" >>& $LOG endif ---------------------------------------------------------------------------- The KERMIT script looks like: ---------------------------------------------------------------------------- set script echo on set modem-dialer HAYES set line /dev/ttyd0 set speed 38400 set dial display on log transactions dial ATDT99545075 script gin:--gin: PUT_USER_HERE ssword: PUT_PASSWORD_HERE enabled run /usr/sbin/slattach -i +c /dev/ttyd0 38400 quit ---------------------------------------------------------------------- This is for a login SLIP connection, but I think you get the picture Have Fun, /jean