Date: Fri, 9 Oct 1998 10:35:40 +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: <19981009103540.F3369@freebie.lemis.com> In-Reply-To: <199810090059.IAA27922@b1.hkstar.com>; from Chan Yiu Wah on Fri, Oct 09, 1998 at 08:59:02AM %2B0800 References: <19981009094606.A3369@freebie.lemis.com> <199810090059.IAA27922@b1.hkstar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
PLEASE COPY -QUESTIONS ON YOUR REPLIES. On Friday, 9 October 1998 at 8:59:02 +0800, Chan Yiu Wah wrote: >> >> 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? >> > > network <----> Host A (with ed1 adapter 192.168.217.13) > ^ > | > +--> Laptop (192.168.217.143) > > Should I create another ip address for plip instead of using the one > engaged by ed1 ? No, there's no need for that, though many people will tell you it must have a different address. 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?19981009103540.F3369>