Script for setting up SLIP communication under FreeBSD 6
This commit is contained in:
parent
1c1aed6082
commit
b42edd673d
10
tools/freebsd-6-setup-slip
Executable file
10
tools/freebsd-6-setup-slip
Executable file
|
@ -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
|
Loading…
Reference in a new issue