Date: Tue, 6 Feb 1996 22:55:44 +0100 From: Kerjan Herve <hke@jazz22.gna.org> To: freebsd-questions@freebsd.org Subject: SUMMARY: Connect 2 FreeBSD box via serial line Message-ID: <199602062155.WAA01122@jazz22.gna.org>
next in thread | raw e-mail | index | archive | help
Hello, Thanks to Mark Diekhans <markd@grizzly.com> 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 <markd@grizzly.com> -------------------------------------- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602062155.WAA01122>