Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 11:18:06 -0500 (EST)
From:      "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu>
To:        Henry Hojnacki <heh@tricoprod.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Laplink connection
Message-ID:  <Pine.SOL.3.96.980121111154.5847F-100000@mamba.cs.Virginia.EDU>
In-Reply-To: <s4c486c7.044@TRICOPROD.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.980121111154.5847F-100000>