From owner-freebsd-questions Tue Feb 6 13:01:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA11504 for questions-outgoing; Tue, 6 Feb 1996 13:01:19 -0800 (PST) Received: from up8.univ-paris8.fr (up8.univ-paris8.fr [193.54.155.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA11483 for ; Tue, 6 Feb 1996 13:01:11 -0800 (PST) Received: from gna.gna.org (gna.mime.univ-paris8.fr [193.54.153.26]) by up8.univ-paris8.fr (8.6.11/8.6.9) with ESMTP id VAA10036 for ; Tue, 6 Feb 1996 21:54:42 +0100 Received: (from uujazz22@localhost) by gna.gna.org (8.6.10/8.6.12) with UUCP id VAA01890 for freebsd-questions@freebsd.org; Tue, 6 Feb 1996 21:57:31 +0100 Received: from jazz22 by jazz22.gna.org (senmail 8.6.12/9.5). id WAA01122 ; Tue, 6 Feb 1996 22:55:44 +0100 Date: Tue, 6 Feb 1996 22:55:44 +0100 From: Kerjan Herve Message-Id: <199602062155.WAA01122@jazz22.gna.org> To: freebsd-questions@freebsd.org Subject: SUMMARY: Connect 2 FreeBSD box via serial line Sender: owner-questions@freebsd.org Precedence: bulk Hello, Thanks to Mark Diekhans and the others who responded to this questions: > Freebsd Handbook only describe the user ppp configuration with a >modem. > > Could you send me your files for a ppp configuration via a laplink >for your server and clients (/etc/ppp/ppp.[conf|linkup|secret], >/etc/ttys, ...) ? The Replies: >From Mark Diekhans -------------------------------------- I can do this, but my laptop is not here right now. However, let me suggest getting a laplink parallel cable because its easier to configure and its a LOT faster. It should only cost you about $9.00. There is a driver that sends TCP/IP over bi-directional parallel ports. If you are getting messages something like: Jan 17 23:50:20 osprey /kernel: lpt0 at 0x378-0x37f irq 7 on isa Jan 17 23:50:20 osprey /kernel: lpt0: Interrupt-driven port Jan 17 23:50:20 osprey /kernel: lp0: TCP/IP capable interface you should be set kernel wise. You need to create entries in /etc/host assiging each machine a fake IP address. I have given them 10.0.0.1 and 10.0.0.2. You can also configure named if you want, but start with /etc/hosts. See documentation in that file. For each machine, you need to have /etc/sysconfig contain the information to configure the interface. On my 10.0.0.1 machine, it has: network_interfaces="lo0 lp0" ifconfig_lo0="inet localhost" ifconfig_lp0="inet 10.0.0.1 10.0.0.2" in the network interfaces area. The addresses are reversed on the other machine. Reboot both machines and ping. >From /sys/i386/isa/lpt.c ------------------------ * Connect the two computers using a Laplink parallel cable to use this * feature: * * +----------------------------------------+ * |A-name A-End B-End Descr. Port/Bit | * +----------------------------------------+ * |DATA0 2 15 Data 0/0x01 | * |-ERROR 15 2 1/0x08 | * +----------------------------------------+ * |DATA1 3 13 Data 0/0x02 | * |+SLCT 13 3 1/0x10 | * +----------------------------------------+ * |DATA2 4 12 Data 0/0x04 | * |+PE 12 4 1/0x20 | * +----------------------------------------+ * |DATA3 5 10 Strobe 0/0x08 | * |-ACK 10 5 1/0x40 | * +----------------------------------------+ * |DATA4 6 11 Data 0/0x10 | * |BUSY 11 6 1/~0x80 | * +----------------------------------------+ * |GND 18-25 18-25 GND - | * +----------------------------------------+ * * Expect transfer-rates up to 75 kbyte/sec. That's all. Herve.