Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 1996 19:12:48 -0800 (PST)
From:      batie@agora.rdrop.com (Alan Batie)
To:        aong@lynx.dac.neu.edu (Andrew Ong)
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Dynamic IP SLIP
Message-ID:  <m0tgk1Q-000AmXC@agora.rdrop.com>
In-Reply-To: <199601290231.VAA12771@lynx.dac.neu.edu> from "Andrew Ong" at Jan 28, 96 09:31:07 pm

index | next in thread | previous in thread | raw e-mail

> like to know how to change the current static IP allocation 
> of SLIP and PPP to dynamic

Create /etc/sliphome/slip.ttys (in 2.1; it was /etc/slip.ttys in 1.1.5);
this assigns the ip address to the tty instead of the user.  I think the
default slip.login file uses it, but if not, let me know and I'll send
you mine, as well as other configs if you need them.

# format:
#
#  tty local-ip remote-ip
#
/dev/ttyd0 199.2.212.241 199.2.212.1
/dev/ttyd1 199.2.212.241 199.2.212.2
/dev/ttyd2 199.2.212.241 199.2.212.3
/dev/ttyd3 199.2.212.241 199.2.212.4
/dev/ttyd4 199.2.212.241 199.2.212.5
/dev/ttyd5 199.2.212.241 199.2.212.6
/dev/ttyd6 199.2.212.241 199.2.212.7
/dev/ttyd7 199.2.212.241 199.2.212.8
/dev/ttyd8 199.2.212.241 199.2.212.9
/dev/ttyd9 199.2.212.241 199.2.212.10
/dev/ttyda 199.2.212.241 199.2.212.11
/dev/ttydb 199.2.212.241 199.2.212.12
/dev/ttydc 199.2.212.241 199.2.212.13
/dev/ttydd 199.2.212.241 199.2.212.14
/dev/ttyde 199.2.212.241 199.2.212.15
/dev/ttydf 199.2.212.241 199.2.212.16
/dev/ttydg 199.2.212.241 199.2.212.17
/dev/ttydh 199.2.212.241 199.2.212.18
/dev/ttydi 199.2.212.241 199.2.212.19
/dev/ttydj 199.2.212.241 199.2.212.20
/dev/ttydk 199.2.212.241 199.2.212.21
/dev/ttydl 199.2.212.241 199.2.212.22
/dev/ttydm 199.2.212.241 199.2.212.23
/dev/ttydn 199.2.212.241 199.2.212.24
/dev/ttydo 199.2.212.241 199.2.212.25
/dev/ttydp 199.2.212.241 199.2.212.26
/dev/ttydq 199.2.212.241 199.2.212.27
/dev/ttydr 199.2.212.241 199.2.212.28
/dev/ttyds 199.2.212.241 199.2.212.29
/dev/ttydt 199.2.212.241 199.2.212.30
/dev/ttydu 199.2.212.241 199.2.212.31
/dev/ttydv 199.2.212.241 199.2.212.32

-- 
Alan Batie                            ______
batie@agora.rdrop.com                 \    /      Freedom for me to be and do
+1 503 452-0960                        \  /       only what *you* approve of
45 28 59 N / 122 43 20 W / 440' MSL     \/        is no freedom at all.

It is my policy to avoid purchase of any products from companies which use
unrequested email advertisements or telephone solicitation.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tgk1Q-000AmXC>