From b42edd673d9dcc976bc33e3b59467be8a8f6da65 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sun, 18 Jun 2006 05:57:10 +0000 Subject: [PATCH] Script for setting up SLIP communication under FreeBSD 6 --- tools/freebsd-6-setup-slip | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tools/freebsd-6-setup-slip diff --git a/tools/freebsd-6-setup-slip b/tools/freebsd-6-setup-slip new file mode 100755 index 000000000..410137d82 --- /dev/null +++ b/tools/freebsd-6-setup-slip @@ -0,0 +1,10 @@ +#!/bin/sh + +# A small script for setting up SLIP under FreeBSD +killall slattach +#stty -f /dev/cuaa0 19200 +slattach -l -s 57600 /dev/cuad0 +sleep 1 +ifconfig sl0 172.16.0.1 172.16.0.2 +route delete 172.16.0.0/16 +route add -net 172.16.0.0/16 172.16.0.2