*BSD News Article 45016


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!bloom-beacon.mit.edu!usc!howland.reston.ans.net!ee.und.ac.za!wabe.csir.co.za!goofy.unisa.ac.za!risc6.unisa.ac.za!radova
From: radova@risc6.unisa.ac.za (A. Radovanovic)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Dynamic SLIP server - binary
Date: 6 Jun 1995 07:42:24 GMT
Organization: University of South Africa
Lines: 177
Message-ID: <3r10t0$a2k@goofy.unisa.ac.za>
NNTP-Posting-Host: risc6.unisa.ac.za
X-Newsreader: TIN [version 1.1 PL9]

For all interested, I am sending the binary of sliplogin (BSD 2.0) which
assigns IPs dynamically. The clent gets his IP when login to the server. The
program works exactly the same as the distribution one, unless you create a
file: /etc/sliphome/slip.ttys . If sliplogin found the file, addresses will
be assigned dynamically. The file is as follows:

---------------------------------------
# etc/sliphome/slip.ttys
#
# tty           remote address
#
/dev/ttyd0      1.2.3.4  # this is just an example - use the real IPs
/dev/ttyd1      2.3.4.5
--------------------------------------

This means that you can have as many users as you wish, but you'll
need only a few IPs - one for each comm port. The client will
pick up the address after login (see Trumpet winsock - login.cmd)


 ----------------------------+---------------------------------
  Aleksandar Radovanovic     +
 University of South Africa  +  Mail: radova@risc1.unisa.ac.za
 Dept.  of Computer Science  +        radova@osprey.unisa.ac.za
	P.O.Box 392          +  WWW:  http://osprey.unisa.ac.za
       Pretoria 0001         +  Tel.  (27) 12/429-6034
       South Africa          +  Fax.  (27) 12/429-6361
 ----------------------------+---------------------------------

begin 664 sliplogin.gz
M'XL("&P:U"\``W-L:7!L;V=I;@#M6W]T5-6=OY-,,,28"1!(P`"ODFBB0T+"
M#P%!@1`@-D#(S`11<1QG7O)FF,RD,^^AZ1H:#%'CF#JVMG59;;5B:[OMKNOQ
MH*X64:*`A[KH6D\7/99CL>?9L"V++%AEG?U\[_N^3#;2[C_[QYZ>W)/[/O=[
M[_=^[_=^[^][)T?$W;U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