initial commit
This commit is contained in:
3
mint/tools/mgw/examples/chap-secrets
Normal file
3
mint/tools/mgw/examples/chap-secrets
Normal file
@@ -0,0 +1,3 @@
|
||||
# Secrets for authentication using CHAP
|
||||
# client server secret IP addresses
|
||||
"myppp" myppp myppp
|
||||
19
mint/tools/mgw/examples/ip-up
Normal file
19
mint/tools/mgw/examples/ip-up
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
# /etc/ppp/ip-up und ip-down werden von pppd ausgefuehrt.
|
||||
|
||||
PATH=/usr/local/bin:/bin:/usr/ucb:/usr/etc
|
||||
|
||||
PROG=$0
|
||||
IFACE=$1
|
||||
DEVICE=$2
|
||||
SPEED=$3
|
||||
LOCALIP=$4
|
||||
REMOTEIP=$5
|
||||
|
||||
# Uhrzeit vom Server abholen.
|
||||
|
||||
# rdate $5 > /dev/null
|
||||
|
||||
u:/m_tos/mgw.prg --dns1=$DNS1 --dns2=$DNS2 --disable-system-resolve
|
||||
|
||||
25
mint/tools/mgw/examples/myppp
Normal file
25
mint/tools/mgw/examples/myppp
Normal file
@@ -0,0 +1,25 @@
|
||||
/dev/ttyb
|
||||
|
||||
38400
|
||||
|
||||
crtscts
|
||||
#require-chap
|
||||
|
||||
lock
|
||||
modem
|
||||
# debug
|
||||
defaultroute
|
||||
#vj
|
||||
|
||||
usepeerdns
|
||||
|
||||
asyncmap 0
|
||||
noipdefault
|
||||
netmask 255.255.255.0
|
||||
noauth
|
||||
mru 1500
|
||||
mtu 1500
|
||||
user "myppp"
|
||||
name "myppp"
|
||||
|
||||
connect "chat -f u:/etc/ppp/peers/myppp.chat"
|
||||
12
mint/tools/mgw/examples/myppp.chat
Normal file
12
mint/tools/mgw/examples/myppp.chat
Normal file
@@ -0,0 +1,12 @@
|
||||
TIMEOUT 40
|
||||
ABORT 'BUSY'
|
||||
ABORT 'NO CARRIER'
|
||||
ABORT 'DELAY'
|
||||
ABORT 'NO DIALTONE'
|
||||
ABORT 'ERROR'
|
||||
'' 'AT'
|
||||
OK 'ATZ'
|
||||
OK 'ATM'
|
||||
OK 'ATX4'
|
||||
OK 'ATDT01234-567890'
|
||||
CONNECT
|
||||
4
mint/tools/mgw/examples/myppp.sh
Normal file
4
mint/tools/mgw/examples/myppp.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#
|
||||
# Dial script
|
||||
#
|
||||
pppd call myppp
|
||||
3
mint/tools/mgw/examples/pap-secrets
Normal file
3
mint/tools/mgw/examples/pap-secrets
Normal file
@@ -0,0 +1,3 @@
|
||||
# Secrets for authentication using PAP
|
||||
# client server secret IP addresses
|
||||
"myppp" myppp myppp
|
||||
Reference in New Issue
Block a user