Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 1998 09:46:06 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Chan Yiu Wah <c5666305@b1.hkstar.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: How to config PLIP ?
Message-ID:  <19981009094606.A3369@freebie.lemis.com>
In-Reply-To: <199810081023.SAA26260@b1.hkstar.com>; from Chan Yiu Wah on Thu, Oct 08, 1998 at 06:23:25PM %2B0800
References:  <19981008174049.N443@freebie.lemis.com> <199810081023.SAA26260@b1.hkstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please copy -questions on your replies.

On Thursday,  8 October 1998 at 18:23:25 +0800, Chan Yiu Wah wrote:
>>
>> 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"
>
> Should I add lp0 to the network_interfaces.

Yes, that's what I'm saying.

>> 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.
>
> e.g. laptop ip is 192.168.217.13
>      and host is 192.168.217.143 (already engaged by ed1)
>      should I create other ip for hosts say 192.168.217.144

Sorry, I don't understand this question.  These are numbers I picked
out of a hat.  Did I match one of your IPs by chance?

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-questions" in the body of the message



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