File:
[ELWIX - Embedded LightWeight unIX -] /
elwix /
config /
etc /
default /
ppp /
ppp.conf
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Jul 5 23:43:00 2011 UTC (13 years, 5 months ago) by
misho
Branches:
misho,
MAIN
CVS tags:
start,
elwix2_8,
elwix2_7,
elwix2_6,
elwix2_3,
elwix2_2,
elwix2_1,
elwix2_0,
elwix1_9_mips,
elwix1_9,
elwix1_8,
elwix1_7,
elwix1_6,
elwix1_5,
elwix1_4,
Patch1,
HEAD,
ELWIX2_7,
ELWIX2_6,
ELWIX2_5,
ELWIX2_2p0,
ELWIX2_1,
ELWIX2_0,
ELWIX1_9,
ELWIX1_8,
ELWIX1_7,
ELWIX1_6,
ELWIX1_5
ELWIX project
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.11 2008/07/19 20:00:18 marcel Exp $
#################################################################
default:
set log Phase Chat LCP IPCP CCP tun command
ident elwix (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuau0 = COM1, cuau1 = COM2)
#
set device /dev/cuau1
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
set redial 15 0
set reconnect 15 28800
papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone PHONE_NUM
set authname USERNAME
set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
###############################################################################
radius:
set radius /etc/ppp/radius.conf
set rad_alive 300
set rad_port_id tunnum
pppoed:
# set log Chat Command Phase
set log Phase Chat LCP IPCP CCP tun command
load radius
# enable pap
enable chap
allow mode direct
enable proxy
disable ipv6cp
set mtu 1492
set mru 1492
set ifaddr 10.0.0.1 10.0.1.1-10.0.2.254 255.255.255.255
set speed sync
set timeout 0
enable echo
enable lqr
accept lqr
accept dns
###############################################################################
mtel:
enable force-scripts
# MTEL GPRS/EDGE
set phone "*99***1#"
# MTEL CSD
#set phone "+359 88 1000"
set timeout 300
enable dns
resolv rewrite
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
rfcomm:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"inet-gprs.mtel.bg\\\" OK \
\\dATDT\\T TIMEOUT 40 CONNECT"
load mtel
3g-pin:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT+CPIN=0000 +ZEND \
AT+CGDCONT=1,\\\"IP\\\",\\\"inet-gprs.mtel.bg\\\" OK \
\\dATDT\\T TIMEOUT 40 CONNECT"
load mtel
set device /dev/ttyU0.2
dial
3g:
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"inet-gprs.mtel.bg\\\" OK \
\\dATDT\\T TIMEOUT 40 CONNECT"
load mtel
set device /dev/ttyU0.2
dial
pppoe_client:
set device PPPoE:fxp0:aitnet_AC
set speed sync
set mtu 1492
set mru 1492
enable lqr
set lqrperiod 5
set timeout 0
set authname testuser
set authkey testpass
set dial
set login
add default HISADDR
pptp_client:
set speed sync
enable lqr
set lqrperiod 5
set timeout 0
set authname testuser
set authkey testpass
set dial
set login
add default HISADDR
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>