From owner-freebsd-hackers Sun Nov 18 0:31: 2 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (f119.law3.hotmail.com [209.185.241.119]) by hub.freebsd.org (Postfix) with ESMTP id C356437B418 for ; Sun, 18 Nov 2001 00:30:58 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 18 Nov 2001 00:30:58 -0800 Received: from 141.155.174.53 by lw3fd.law3.hotmail.msn.com with HTTP; Sun, 18 Nov 2001 08:30:58 GMT X-Originating-IP: [141.155.174.53] From: "WebSec WebSec" To: hackers@FreeBSD.org Subject: SLIP slattach Question Date: Sun, 18 Nov 2001 08:30:58 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Nov 2001 08:30:58.0744 (UTC) FILETIME=[59409380:01C1700B] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I am trying to connect 2 BSD machines via Serial Ports back-to-back via Null modem cables. Both machines are properly connected to a Serial Data Switch. One machine is I/O and the other is machine A. The idea is to be able to move logs to the I/O machine from machine A. (I use DB25 Null Modem Cables) After hours of research I found sources that recommended to do the following: Add the following to the I/O Machine: /etc/rc.conf network_interfaces="sl0 tun0 lo0" ifconfig_sl0="inet 10.0.0.1 255.255.255.0 link0" Add the following to the A Machine: network_interfaces="sl0 tun0 lo0" ifconfig_sl0="inet 10.0.0.2 255.255.255.0" defaultrouter="10.0.0.1" Create these identical files on both macines: /etc/start_if.sl0 slattach -l -c -h -s 115200 /dev/ttyd1 slattach -l -c -h -s 115200 /dev/ttyd1 Rebooted - and nothing worked. I searched a bit more and found the following: On the I/O machine add ifconfig sl0 10.0.0.1 10.0.0.2 Machine A gets the following: ifconfig sl0 10.0.0.2 10.0.0.1 Still nothing works... if I run ifconfig, it does show sl0 interface up and inet10.0.0.1 --> 10.0.0.2 netmask 0xffff0000 What am I doing wrong??? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message