Quote authname and authkey. Some ISPs allow (or even require)

non-alphanumeric characters in these and this will be a hint to the
users that quotes can and should be used in such cases.

PR:             docs/42292
Submitted by:   Matthias Andree <matthias.andree@web.de>
MFC after:	1 week
This commit is contained in:
Giorgos Keramidas 2003-04-10 21:33:02 +00:00
parent cacd79e2c9
commit e40db2c46e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113346
4 changed files with 25 additions and 25 deletions

View File

@ -36,8 +36,8 @@
isdn:
set phone 12345678 # Replace this with your ISPs phone number
set authname somename # Replace these with your login name & password.
set authkey somepasswd # This profile assumes you're using PAP or CHAP.
set authname "somename" # Replace these with your login name & password.
set authkey "somepasswd" # This profile assumes you're using PAP or CHAP.
set enddisc mac # Assuming you have a LAN

View File

@ -93,8 +93,8 @@ pmdemand:
PAPorCHAPpmdemand:
set phone 1234567
set login
set authname MyName
set authkey MyKey
set authname "MyName"
set authkey "MyKey"
set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
@ -126,8 +126,8 @@ ondemand:
TA:
set phone 12345678 # Replace this with your ISPs phone number
set authname somename # Replace these with your login name & password.
set authkey somepasswd # This profile assumes you're using PAP or CHAP.
set authname "somename" # Replace these with your login name & password.
set authkey "somepasswd" # This profile assumes you're using PAP or CHAP.
enable lqr
set reconnect 3 5
@ -319,8 +319,8 @@ dodgynet:
set speed 115200
deny lqr # Don't support LQR
set phone 0W1194 # Remote system phone number,
set authname pppLogin # login
set authkey MyPassword # and password
set authname "pppLogin" # login
set authkey "MyPassword" # and password
set dial "ABORT BUSY ABORT NO\\sCARRIER \ # Chat script to dial the peer
TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
ATE1Q0M0 OK \\dATDT\\T \
@ -717,7 +717,7 @@ CHAPprompt:
#
loginprompt:
load pmdemand
set authname brian
set authname "brian"
set login "ABORT NO\\sCARRIER TIMEOUT 15 \"\" \"\" name:--name: \\U \
code: \"!/usr/share/examples/ppp/login-auth -display keep:0.0 \
AUTHNAME\" MTU \\c ."

View File

@ -115,20 +115,20 @@ default:
isp1:
set phone "1234567"
set authname isp1name
set authkey isp1key
set authname "isp1name"
set authkey "isp1key"
add! RIP1/32 HISADDR
isp2:
set phone "2345678"
set authname isp2name
set authkey isp2key
set authname "isp2name"
set authkey "isp2key"
add! RIP2/32 HISADDR
ispN:
set phone "3456789"
set authname ispNname
set authkey ispNkey
set authname "ispNname"
set authkey "ispNkey"
add! RIPN/32 HISADDR
@ -145,8 +145,8 @@ vpn:
set mrru 1500
set mru 1504 # Room for the MP header
nat enable yes
set authname vpnname
set authkey vpnkey
set authname "vpnname"
set authkey "vpnkey"
add! default HISADDR
disable deflate pred1 lqr
deny deflate pred1

View File

@ -50,16 +50,16 @@ default:
set lqrperiod 15
isp1:
set authname isp1name
set authkey isp1key
set authname "isp1name"
set authkey "isp1key"
isp2:
set authname isp2name
set authkey isp2key
set authname "isp2name"
set authkey "isp2key"
isp3:
set authname isp3name
set authkey isp3key
set authname "isp3name"
set authkey "isp3key"
vpn:
@ -67,8 +67,8 @@ vpn:
set speed sync
set mrru 1500
set mru 1504 # Room for the MP header
set authname vpnname
set authkey vpnkey
set authname "vpnname"
set authkey "vpnkey"
add! default HISADDR
disable deflate pred1 lqr
deny deflate pred1