From owner-freebsd-questions Wed Jan 21 09:23:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13239 for questions-outgoing; Wed, 21 Jan 1998 09:23:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA13231 for ; Wed, 21 Jan 1998 09:23:50 -0800 (PST) (envelope-from atf3r@cs.virginia.edu) Received: from ares.cs.virginia.edu by mail.virginia.edu id aa02162; 21 Jan 98 11:18 EST Received: from mamba.cs.Virginia.EDU (mamba-fo.cs.Virginia.EDU [128.143.136.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id LAA17572; Wed, 21 Jan 1998 11:18:08 -0500 (EST) Received: from localhost (atf3r@localhost) by mamba.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id LAA07084; Wed, 21 Jan 1998 11:18:07 -0500 (EST) X-Authentication-Warning: mamba.cs.Virginia.EDU: atf3r owned process doing -bs Date: Wed, 21 Jan 1998 11:18:06 -0500 (EST) From: "Adrian T. Filipi-Martin" Reply-To: Adrian Filipi-Martin To: Henry Hojnacki cc: questions@FreeBSD.ORG Subject: Re: Laplink connection In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, 20 Jan 1998, 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! :-) You don't need to involve PPP unless you really want to. I doubt it will work though. The lp(4) driver already includes support for TCP/IP over the parallel port. I haven't done this in a while, but it goes something like this: On box 1: ifconfig lp0 inet 10.0.0.1 10.0.0.2 up On box 2: ifconfig lp0 inet 10.0.0.2 10.0.0.1 up ping 10.0.0.1 # Should work now. You may need to add 'netmask 0xff000000' to the above, but I don't believe it is necessary given that it is a point-to-point link. cheers, Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/