Date: Sun, 18 Nov 2001 08:30:58 +0000 From: "WebSec WebSec" <secure21st@hotmail.com> To: hackers@FreeBSD.org Subject: SLIP slattach Question Message-ID: <F119eevTa0uDKn84dgA0000b08f@hotmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F119eevTa0uDKn84dgA0000b08f>