config scripts

This commit is contained in:
Oliver Lehmann 2009-02-14 18:43:09 +00:00
parent 7f7cd5e473
commit a6c8b0fd41
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1 @@
test test / 7

View File

@ -0,0 +1,2 @@
10.1.1.2 p8000
10.1.1.1 kartoffel

View File

@ -0,0 +1,12 @@
#!/bin/sh
# this script is used on the FreeBSD end of the SLIP connection
kldload if_sl
slattach -l -s 9600 /dev/ttyd0
sleep 2
stty cstopb < /dev/ttyd0
sl=`ifconfig | grep 'sl[0-9]*:' | tail -1 | sed 's|:.*||g'`
ifconfig $sl 10.1.1.1 10.1.1.2 netmask 255.255.255.0 mtu 1500

View File

@ -0,0 +1,6 @@
attach asy 0 /dev/tty4 slip sl0 0 1500 9600
ip address 10.1.1.2
route add 10.1.1.1 sl0
start ftp
start echo
start telnet