🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.help
Article #125

Setting up a SLIP server

#125
From: Robert Hart
Date: Sun, 27 Nov 1994 08:55
81 lines
3707 bytes
Hi

I am trying to get my 1.1.54 Linux machine set up as a slip server, and 
am having some problems. I dial in and uugetty picks up the phone and I 
login as Saravis. sliplogin starts and I receive no error messages BUT at 
the other end slip does not seem to get started - no ping, no route etc.

Now, I am not certain if I have got the other end (a PC running PCTCP V3) 
set up correctly, so could someone cast a look at these files and see if 
I am getting something wrong at the Linux end? Is there a slip log file 
somewhere that gives more info on what is happening???

Here is my set up...

IFCONFIG reports...
-------------------
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.255.255.0
          UP BROADCAST LOOPBACK RUNNING  MTU:2000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:106 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:00:C0:5D:67:43
          inet addr:16.144.153.7  Bcast:16.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:34228 errors:0 dropped:0 overruns:0
          TX packets:34119 errors:0 dropped:0 overruns:0
          Interrupt:15 Base address:0x250 Memory:d0000-d4000 

/etc/slip.hosts
---------------
Saravis		`hostname`	slip00	0xffffff00	normal

/etc/slip.login
---------------
#!/bin/sh
#
#	@(#)slip.login	5.1 (Berkeley)	7/1/90
#
# generic login file for a slip line. "sliplogin" invokes this with
# the parameters:
#	 1	 2	  3	   4	      5 	6	7-n
# slip unit ttyspeed loginname local-addr remote-addr  mask   opt-args
#
/sbin/ifconfig $1 $4 pointotpoint $5 mtu 1500 -trailers up
/sbin/route add $5
exit 0

/etc/slip.logout
----------------
#!/bin/sh -
#
#	slip.logout
#
/sbin/ifconfig $1 down
/sbin/route def $5


I have the following entry in my /etc/passwd file...
----------------------------------------------------
Saravis:uqG37tyiqImwI:700:100:dialup slip:/tmp:/usr/sbin/sliplogin

I have the following entry in /etc/group
----------------------------------------
slip::50:Saravis

Permissions on the slip files in /etc are as follows...
-------------------------------------------------------
-rw-rw-r--   1 root     root           46 Nov 26 13:29 /etc/slip.hosts
-rwxrwxr-x   1 root     root          330 Nov 26 13:38 /etc/slip.login
-rwxrwxr-x   1 root     root           73 Nov 26 13:41 /etc/slip.logout

Permissions on sliplogin are as follows...
------------------------------------------
-r-sr-x---   1 root     slip        13316 Sep  8 01:34 /usr/sbin/sliplogin


-- 
Robert Hart                                  hartr@hedunx.hedland.edu.au
Voice: +61 (0)91 72 0429                     Fax:   +61 (0)91 72 3560
Hedland College, PMB 1, South Hedland WA 6722 Australia
Technical Details
Message-ID: <3b9hiv$b2v@hedunx.hedland.edu.au>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!munnari.oz.au!news.uwa.edu.au!hedunx!hedunx!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,263ec871a32bb9d,start
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,263ec871a32bb9d,start
X-Google-Attributes: gid102983,public
X-Google-Thread: 100b1f,263ec871a32bb9d,start
X-Google-Attributes: gid100b1f,public
X-Google-ArrivalTime: 1994-11-27 12:18:11 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!munnari.oz.au!news.uwa.edu.au!hedunx!hedunx!not-for-mail
From: hartr@hedunx.hedland.edu.au (Robert Hart)
Newsgroups: comp.os.linux.help,aus.computers.linux,comp.os.linux.misc
Subject: Setting up a SLIP server
Date: 27 Nov 1994 16:55:59 +0800
Organization: Hedland College
Lines: 81
Message-ID: <3b9hiv$b2v@hedunx.hedland.edu.au>
NNTP-Posting-Host: hedunx.hedland.edu.au
X-Newsreader: TIN [version 1.2 PL0]