From owner-freebsd-questions Wed May 27 22:56:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06949 for freebsd-questions-outgoing; Wed, 27 May 1998 22:56:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA06943 for ; Wed, 27 May 1998 22:56:35 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id WAA03155; Wed, 27 May 1998 22:46:56 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd003138; Thu May 28 05:46:50 1998 Date: Wed, 27 May 1998 22:46:46 -0700 (PDT) From: Julian Elischer To: Purwanto Nugroho cc: freebsd-questions@FreeBSD.ORG, purwanto@hotmail.com Subject: Re: FreeBSD <--> Linux PLIP 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 X-Loop: FreeBSD.ORG from tne man page for the lpt port lp interface, you need the link0 flag to ifconfig (see below) man 4 lp LP(4) FreeBSD Kernel Interfaces Manual (i386 Architecture) LP(4) NAME lp - printer port Internet Protocol driver SYNOPSIS ifconfig lp0 myaddress hisaddress [-link0] device lpt0 at isa? port? tty irq 7 vector lptintr DESCRIPTION The lp driver allows a PC parallel printer port to be used as a point-to- point network interface between two similarly configured systems. Data is transferred 4 bits at a time, using the printer status lines for in- put: hence there is no requirement for special bidirectional hardware and any standard AT-compatible printer port with working interrupts may be used. The lp driver is implemented as an integral part of the lpt driver, and will automatically be present in a kernel configured with Internet sup- port and at least one lpt device. During the boot process, for each lpt printer device which is probed and has an interrupt assigned, a corre- sponding lp network device is created. Available devices are announced with a message such as: lp0: TCP/IP capable interface [...] The communication protocol is selected by the link0 flag: -link0 (default) Use FreeBSD mode (LPIP). This is the simpler of the two modes and therefore slightly more efficient. link0 Use Crynwr/Linux compatible mode (CLPIP). This mode has a simulated ethernet packet header, and is easier to interface to other types of equipment. On Thu, 28 May 1998, Purwanto Nugroho wrote: > Hi..:) > > I wanna ask you about PLIP connection. > > I've installed FreBSD 2.2.6 on my desktop and want to connect it > to my Linux notebook via PLIP. > > I have no problem connection Linux <--> Linux with PLIP > > but when i try to connect it via PLIP it didn't work. > > i dont use any ethernet card on my desktop. > > i simply executing command: > ifconfig lp0 my.desktop.ipaddr my.notebook.ipaddr > > and ifconfig -a is: > > lp0: flags=8851 mtu 1500 > inet my.desktop.ipaddr --> my.notebook.ipaddr netmask 0xffffff00 > > netstat -rn is: > Destination Gateway Flags Refs Use Netif > my.notebook.ipaddr my.desktop.ipaddr UH 0 0 lp0 > > > > On my Linux notebok i simply executing commands: > > ifconfig plip1 my.notebook.ipaddr pointopoint my.dekstop.ipaddr netmask > 255.255.255.0 > > my route command: > route add my.notebook.ipaddr plip1 > route add my.desktop.ipaddr plip1 > > route is: > Destination Gateway Genmask Flags Ref Use Iface > my.dekstop.ipaddr * 255.255.255.255 UH 0 0 plip1 > my.notebook.ipaddr * 255.255.255.255 UH 0 0 plip1 > > > > but the setting i did above didn't establish the connection between > my Linux & FreeBSD. > > I use standar PLIP cable... i've used it many times to connect > linux <--> linux > > Is there anything wrong with my setting? or maybe the PLIP cable config > for FreeBSD is different from PLIP cable for Linux? > > > please help me to solve this problem. > > > Thank you very much in Andvance.. :) > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Purwanto Nugroho > purwanto@te.ugm.ac.id > purwanto@hotmail.com > EleCtRicAl.EngIneErInG@GadJah.MadA.UnVerSItY.YogYAkArtA > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message