From owner-freebsd-questions Thu Oct 8 17:17:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26607 for freebsd-questions-outgoing; Thu, 8 Oct 1998 17:17:20 -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 RAA26547 for ; Thu, 8 Oct 1998 17:16:56 -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 JAA03225; Fri, 9 Oct 1998 09:46:32 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id JAA03392; Fri, 9 Oct 1998 09:46:06 +0930 (CST) Message-ID: <19981009094606.A3369@freebie.lemis.com> Date: Fri, 9 Oct 1998 09:46:06 +0930 From: Greg Lehey To: Chan Yiu Wah Cc: FreeBSD Questions Subject: Re: How to config PLIP ? References: <19981008174049.N443@freebie.lemis.com> <199810081023.SAA26260@b1.hkstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810081023.SAA26260@b1.hkstar.com>; from Chan Yiu Wah on Thu, Oct 08, 1998 at 06:23:25PM +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 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