#!/bin/sh

if [ $# -lt 2 ]
then
	echo "Enter the local and remote IP address"
	echo "Usage: intcomm <10.0.0.1> <10.0.0.2>"
	exit
fi
rm -f slattach
#ftpget -u root -p bustit 10.0.0.1 slattach slattach
./slattach -p slip -d -s 115200 /dev/ttyS2 &
ifconfig sl0 $1 pointopoint $2 up
route add $1 dev lo


