config scripts
This commit is contained in:
parent
7f7cd5e473
commit
a6c8b0fd41
|
|
@ -0,0 +1 @@
|
|||
test test / 7
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
10.1.1.2 p8000
|
||||
10.1.1.1 kartoffel
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue