summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2003-04-10 21:33:02 +0000
committerkeramida <keramida@FreeBSD.org>2003-04-10 21:33:02 +0000
commitb7902728e71f8575fb3e2fd5fa4e3c9696330c10 (patch)
tree775f0cc02485e132fdc6634b4da4071b7ed5f6d4 /share
parentc879a35dfec807e5e1738128357759e96aa38919 (diff)
downloadFreeBSD-src-b7902728e71f8575fb3e2fd5fa4e3c9696330c10.zip
FreeBSD-src-b7902728e71f8575fb3e2fd5fa4e3c9696330c10.tar.gz
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
Diffstat (limited to 'share')
-rw-r--r--share/examples/ppp/ppp.conf.isdn4
-rw-r--r--share/examples/ppp/ppp.conf.sample14
-rw-r--r--share/examples/ppp/ppp.conf.span-isp16
-rw-r--r--share/examples/ppp/ppp.conf.span-isp.working16
4 files changed, 25 insertions, 25 deletions
diff --git a/share/examples/ppp/ppp.conf.isdn b/share/examples/ppp/ppp.conf.isdn
index f60f6bb..1da908b 100644
--- a/share/examples/ppp/ppp.conf.isdn
+++ b/share/examples/ppp/ppp.conf.isdn
@@ -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
diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample
index cd301bc..8bb1a54 100644
--- a/share/examples/ppp/ppp.conf.sample
+++ b/share/examples/ppp/ppp.conf.sample
@@ -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 ."
diff --git a/share/examples/ppp/ppp.conf.span-isp b/share/examples/ppp/ppp.conf.span-isp
index b2b6741..42cbc95 100644
--- a/share/examples/ppp/ppp.conf.span-isp
+++ b/share/examples/ppp/ppp.conf.span-isp
@@ -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
diff --git a/share/examples/ppp/ppp.conf.span-isp.working b/share/examples/ppp/ppp.conf.span-isp.working
index 2841ddc..d12a225 100644
--- a/share/examples/ppp/ppp.conf.span-isp.working
+++ b/share/examples/ppp/ppp.conf.span-isp.working
@@ -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
OpenPOWER on IntegriCloud