*BSD News Article 21490


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!comp.vuw.ac.nz!waikato!aukuni.ac.nz!status!status.gen.nz!jonc
Newsgroups: comp.os.386bsd.misc
Subject: Re: SLIP
From: jonc@status.gen.nz (Jon Clarke)
Date: 23 Sep 93 19:21:58 GMT
Message-ID: <693265.69718.11171@status.gen.nz>
References: <27c6ff$ati@garion.it.com.au> <27p6qcINN72u@bonnie.tcd-dresden.de>
Organization: Public Access Internet Services, Auckland New Zealand
X-Newsreader: TIN [version 1.2 PL0]
Lines: 49

J Wunsch (j@bonnie.tcd-dresden.de) wrote:
: Here are my experimental files:

: /etc/slip.hosts:
: #
: #
: #
: slbonn 192.109.108.194 192.109.108.128 255.255.255.0

: /etc/slip.login:
: #!/bin/sh

: #echo "ifconfig sl$1 inet $4 $5 netmask $6" > /dev/console
: /sbin/ifconfig sl$1 inet $4 $5 netmask $6 2> /dev/console

Here is one I use that works, but for some reason the remote site can NOT
go past your box due to a bug of some sort.

/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
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig sl$1 inet arp $4 $5 netmask $6 

/etc/slip.hosts 
# login local-addr remote-addr mask  opt1 opt2 
#      (normal,compress,noicmp) 
#
Samiga 202.14.100.1 202.14.100.250 0xffffff00 normal 
Smentor 202.14.100.1 202.14.100.210 0xffffff00 normal
Seconz 202.14.100.1 202.14.100.75 0xffffff00 normal
Sbox 202.14.100.1 202.14.100.69 0xffffff00 normal


Hope this helps....

--
+--------------+---------------------------------------------+--------------+
|  Jon Clarke  |  Public Access Unix in Auckland New Zealand |    HEXAGON   |
| status.gen.nz|   BBS (+649) 358-1052, 358-1092, 358-5543   |  HSBC NZ EBD |
+--------------+---------------------------------------------+--------------+