From owner-freebsd-questions Tue Jan 20 17:25:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26545 for questions-outgoing; Tue, 20 Jan 1998 17:25:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chong.ihug.co.nz (root@chong.ihug.co.nz [203.29.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA26532 for ; Tue, 20 Jan 1998 17:25:30 -0800 (PST) (envelope-from marki@ihug.co.nz) Received: from myname.my.domain (p28-max33.auck.ihug.co.nz [209.76.149.156]) by chong.ihug.co.nz (8.8.8/8.8.8) with SMTP id OAA00888; Wed, 21 Jan 1998 14:21:37 +1300 Message-ID: <34C54D9D.41C67EA6@ihug.co.nz> Date: Wed, 21 Jan 1998 14:21:33 +1300 From: Mark Ibell X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Henry Hojnacki CC: freebsd-questions@FreeBSD.ORG Subject: Re: Laplink connection References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk Henry Hojnacki wrote: > > Greetings! > > I have been investigating using a laplink cable to connect two of my PC systems, both running > FreeBSD-2.1. I have searched through man of the docs and man pages, and still have not got > a clue if this is even possible. It is mentioned in the install README that it can be done. > > The closest guess I have is to use pppd, with the device as /dev/lp0 or similar. The > documentation seems to imply that a serial line is required though. > > Can you please point me in the correct direction on where to look for how to do this? If you > have to tell me outright how to do it, OK, but that takes some of the fun out of it! :-) > > Thank you for any help you can provide! > Due to your mention of pppd I assume you mainly want to use one machine as a gateway to the internet for the other one. For this purpose a laplink cable works fine. Should you wish to transfer a significant volume of files, all I can say is that you should expect some problems. Like automatic rebooting due to page faults and such. It appears that the lp0 driver is not that robust. I ended up buying a couple of NE2000 isa cheapies. That out of the way, here's a hint or two. (i) ifconfig both machines to bring up the lp0 interface (ii) configure one machine as a gateway, and set the other one up to use this one as a default route. Hope this helps, Mark