自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

ppp-on腳本代碼共享

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
下面我們來對(duì)ppp-on的腳本內(nèi)容進(jìn)行一下共享。那么分享了具體的腳本代碼,希望對(duì)大家有一個(gè)參考作用。

前面我們有文章提及過內(nèi)核PPP的編制,也講解過Linux下PPP的設(shè)置內(nèi)容。那么這里我們則補(bǔ)充一下ppp-on腳本內(nèi)容。那么不多說,具體代碼如下:

=================================================================
#ppp-on 腳本
#!/bin/sh
TELEPHONE=*99***1#
LOCAL_IP=0.0.0.0
REMOTE_IP=0.0.0.0
NETMASK=255.255.255.0

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer

exec /bin/pppd debug lock modem nocrtscts /dev/ttyS1 9600 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
=================================================================
#ppp-on-dialer
#!/bin/sh
exec /bin/chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT*99***1# \
CONNECT '' \
================================================================
# options
/dev/ttyS1
9600
debug
kdebug 7
nocrtscts
modem
auth
-chap
noipdefault
defaultroute
user john_doe
lock
================================================================
#pap-secrets
# Secrets for authentication using PAP
# client server secret IP addresses
john_doe * "" *
================================================================
#chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
================================================================

 

責(zé)任編輯:佟健 來源: 百度空間
相關(guān)推薦

2010-09-06 14:14:32

ppp-on

2010-09-03 11:33:55

PPPPPP-ON

2010-09-03 14:18:32

ppp腳本

2010-09-03 09:50:19

armPPP

2010-09-07 15:39:46

2010-09-06 10:56:54

2010-09-09 17:27:43

PPP Multili

2010-09-28 13:53:52

2010-09-03 11:10:04

ppp authent

2010-09-06 12:37:11

pppLCP

2010-09-06 14:32:55

CISCO PPP配置

2010-09-03 10:04:51

PPP Multili

2010-09-09 17:31:15

ppp authent

2010-09-06 10:47:00

PPP配置

2010-09-06 14:26:51

pppCHAP

2010-09-03 11:15:02

CHAPppp

2010-09-03 09:13:53

2010-09-06 14:36:17

PPP Multili

2011-04-13 12:18:38

PAP認(rèn)證PPP

2010-09-03 10:16:07

PPPSLIP
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)