From owner-freebsd-questions Thu Oct 8 18:06:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06981 for freebsd-questions-outgoing; Thu, 8 Oct 1998 18:06:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06863 for ; Thu, 8 Oct 1998 18:05:55 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA03405; Fri, 9 Oct 1998 10:35:41 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA03503; Fri, 9 Oct 1998 10:35:40 +0930 (CST) Message-ID: <19981009103540.F3369@freebie.lemis.com> Date: Fri, 9 Oct 1998 10:35:40 +0930 From: Greg Lehey To: Chan Yiu Wah Cc: FreeBSD Questions Subject: Re: How to config PLIP ? References: <19981009094606.A3369@freebie.lemis.com> <199810090059.IAA27922@b1.hkstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810090059.IAA27922@b1.hkstar.com>; from Chan Yiu Wah on Fri, Oct 09, 1998 at 08:59:02AM +0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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