Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 17:40:49 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Chan Yiu Wah <c5666305@b1.hkstar.com>, current@FreeBSD.ORG
Subject:   Re: How to config PLIP ?
Message-ID:  <19981008174049.N443@freebie.lemis.com>
In-Reply-To: <199810080653.OAA13731@b1.hkstar.com>; from Chan Yiu Wah on Thu, Oct 08, 1998 at 02:52:59PM %2B0800
References:  <199810080653.OAA13731@b1.hkstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday,  8 October 1998 at 14:52:59 +0800, Chan Yiu Wah wrote:
> Hello,
>
> I just want to config PLIP in make my laptop (3.0-980222-snap) to
> connect to the local network, but I can't find any man page

It's lp(4).  Isn't that obvious?  OK, then it isn't.

> and even not much detail in the handbook. Can anyone show me the
> steps to do so ?

You need an IP address at each end.  Say, 192.168.217.13 your end, and
192.168.217.143 the other end.  Enter:

  # ifconfig lp0 192.168.217.13 192.168.217.143

That's it!

To have it automatically at boot time, put the following in your
/etc/rc.conf:

network_interfaces="ed1 ed2 ep0 lo0 tun0"

The important thing here is that you have lp0 in the list.  Don't
remove whatever else you have there.

ifconfig_lp0="192.168.217.13 192.168.217.143"

This line should look familiar from above.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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