ppp.conf.sample (f3dab005a8344951a6572fa0917924844ec8e2c4) ppp.conf.sample (e40db2c46ecb75fdaf399d0a439ae31e501c097c)
1#################################################################
2#
3# PPP Sample Configuration File
4#
5# Originally written by Toshiharu OHNO
6#
7# $FreeBSD$
8#

--- 79 unchanged lines hidden (view full) ---

88# procedure, do the following. Note, the peer suggests whether we
89# should send PAP or CHAP. By default, we send whatever we're asked for.
90#
91# You *MUST* customise ``MyName'' and ``MyKey'' below.
92#
93PAPorCHAPpmdemand:
94 set phone 1234567
95 set login
1#################################################################
2#
3# PPP Sample Configuration File
4#
5# Originally written by Toshiharu OHNO
6#
7# $FreeBSD$
8#

--- 79 unchanged lines hidden (view full) ---

88# procedure, do the following. Note, the peer suggests whether we
89# should send PAP or CHAP. By default, we send whatever we're asked for.
90#
91# You *MUST* customise ``MyName'' and ``MyKey'' below.
92#
93PAPorCHAPpmdemand:
94 set phone 1234567
95 set login
96 set authname MyName
97 set authkey MyKey
96 set authname "MyName"
97 set authkey "MyKey"
98 set timeout 120
99 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
100 add default HISADDR
101 enable dns
102
103# On demand dialup example with static IP addresses:
104# Here, the local side uses 192.244.185.226 and the remote side
105# uses 192.244.176.44.

--- 15 unchanged lines hidden (view full) ---

121# An on-demand dialup example using an external Terminal Adapter (TA)
122# that supports multi-link ppp itself.
123#
124# This may be specific to the AETHRA TA.
125#
126TA:
127 set phone 12345678 # Replace this with your ISPs phone number
128
98 set timeout 120
99 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
100 add default HISADDR
101 enable dns
102
103# On demand dialup example with static IP addresses:
104# Here, the local side uses 192.244.185.226 and the remote side
105# uses 192.244.176.44.

--- 15 unchanged lines hidden (view full) ---

121# An on-demand dialup example using an external Terminal Adapter (TA)
122# that supports multi-link ppp itself.
123#
124# This may be specific to the AETHRA TA.
125#
126TA:
127 set phone 12345678 # Replace this with your ISPs phone number
128
129 set authname somename # Replace these with your login name & password.
130 set authkey somepasswd # This profile assumes you're using PAP or CHAP.
129 set authname "somename" # Replace these with your login name & password.
130 set authkey "somepasswd" # This profile assumes you're using PAP or CHAP.
131
132 enable lqr
133 set reconnect 3 5
134 set redial 3 10
135 set lqrperiod 45
136 disable pred1 deflate mppe
137 deny pred1 deflate mppe
138

--- 175 unchanged lines hidden (view full) ---

314# is connecting a local network to a host on an untrusted network.
315dodgynet:
316 set log Phase # Log link uptime
317 allow mode auto # For autoconnect only
318 set device /dev/cuaa1 # Define modem device and speed
319 set speed 115200
320 deny lqr # Don't support LQR
321 set phone 0W1194 # Remote system phone number,
131
132 enable lqr
133 set reconnect 3 5
134 set redial 3 10
135 set lqrperiod 45
136 disable pred1 deflate mppe
137 deny pred1 deflate mppe
138

--- 175 unchanged lines hidden (view full) ---

314# is connecting a local network to a host on an untrusted network.
315dodgynet:
316 set log Phase # Log link uptime
317 allow mode auto # For autoconnect only
318 set device /dev/cuaa1 # Define modem device and speed
319 set speed 115200
320 deny lqr # Don't support LQR
321 set phone 0W1194 # Remote system phone number,
322 set authname pppLogin # login
323 set authkey MyPassword # and password
322 set authname "pppLogin" # login
323 set authkey "MyPassword" # and password
324 set dial "ABORT BUSY ABORT NO\\sCARRIER \ # Chat script to dial the peer
325 TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
326 ATE1Q0M0 OK \\dATDT\\T \
327 TIMEOUT 40 CONNECT"
328 set login "TIMEOUT 10 \"\" \"\" \ # And to login to remote system
329 gin:--gin: \\U word: \\P"
330
331 # Drop the link after 15 minutes of inactivity

--- 380 unchanged lines hidden (view full) ---

712# Here, after sending ``brian'' in response to the ``name'' prompt,
713# we're prompted with ``code:''. A window is then displayed on the
714# ``keep:0.0'' display and the typed response is sent to the peer
715# as the password. We then expect to see ``MTU'' and ``.'' in the
716# servers response.
717#
718loginprompt:
719 load pmdemand
324 set dial "ABORT BUSY ABORT NO\\sCARRIER \ # Chat script to dial the peer
325 TIMEOUT 5 \"\" ATZ OK-ATZ-OK \
326 ATE1Q0M0 OK \\dATDT\\T \
327 TIMEOUT 40 CONNECT"
328 set login "TIMEOUT 10 \"\" \"\" \ # And to login to remote system
329 gin:--gin: \\U word: \\P"
330
331 # Drop the link after 15 minutes of inactivity

--- 380 unchanged lines hidden (view full) ---

712# Here, after sending ``brian'' in response to the ``name'' prompt,
713# we're prompted with ``code:''. A window is then displayed on the
714# ``keep:0.0'' display and the typed response is sent to the peer
715# as the password. We then expect to see ``MTU'' and ``.'' in the
716# servers response.
717#
718loginprompt:
719 load pmdemand
720 set authname brian
720 set authname "brian"
721 set login "ABORT NO\\sCARRIER TIMEOUT 15 \"\" \"\" name:--name: \\U \
722 code: \"!/usr/share/examples/ppp/login-auth -display keep:0.0 \
723 AUTHNAME\" MTU \\c ."
724
725# ppp supports ppp over ethernet (PPPoE). Beware, many PPP servers cache
726# the MAC address that connects to them, making it impossible to switch
727# your PPPoE connection between machines.
728#

--- 63 unchanged lines hidden ---
721 set login "ABORT NO\\sCARRIER TIMEOUT 15 \"\" \"\" name:--name: \\U \
722 code: \"!/usr/share/examples/ppp/login-auth -display keep:0.0 \
723 AUTHNAME\" MTU \\c ."
724
725# ppp supports ppp over ethernet (PPPoE). Beware, many PPP servers cache
726# the MAC address that connects to them, making it impossible to switch
727# your PPPoE connection between machines.
728#

--- 63 unchanged lines hidden ---