From 9a11491ef1a972f1dfc009abea8e52219502f85f Mon Sep 17 00:00:00 2001 From: Felix Kronlage Date: Wed, 19 Jul 2006 06:10:18 +0000 Subject: add information about umts devices to the comment, rename the gprs example into mobile. discussed with and spelling by jmc@ --- etc/ppp/ppp.conf.sample | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'etc/ppp/ppp.conf.sample') diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample index 4e2def8d8db..26ab03cb9b3 100644 --- a/etc/ppp/ppp.conf.sample +++ b/etc/ppp/ppp.conf.sample @@ -4,7 +4,7 @@ # # Originally written by Toshiharu OHNO # -# $OpenBSD: ppp.conf.sample,v 1.22 2006/07/12 07:46:41 jmc Exp $ +# $OpenBSD: ppp.conf.sample,v 1.23 2006/07/19 06:10:17 fkr Exp $ # ################################################################# @@ -101,12 +101,23 @@ ondemand: add default HISADDR enable dns -# To connect via a GPRS device (e.g. a mobile phone), it's often -# necessary to set the access-point name (in this case 'internet') -# which requires quotes in the dial string. This section shows -# the escaping required. -# -gprs: +# To connect via a GPRS or UMTS device (e.g. a mobile phone or a PC Card), +# it's often necessary to set the access-point name (in this case 'internet') +# which requires quotes in the dial string. This section shows the escaping +# required. Devices that have not already authenticated the SIM card (like a +# PC Card) need to issue the "AT+CPIN=xxxx" (xxxx being the PIN for the SIM +# card) first. +# For certain devices it is necessary to adjust the baud rate (speed setting) +# and/or change the dial string to "*99***1#". +# UMTS devices often allow control of the connect mode (UMTS only, GPRS only +# or default to which is available); this can be controlled with the number +# passed to the AT+CGDCONT command and is device dependant. +# Some ISPs do special things in their IPCP session in order to negotiate +# the IP addresses; in this case it may be necessary to play with the ifaddr +# setting. +# See also: com(4), ubsa(4), ucom(4) and umodem(4) +# +mobile: set device /dev/cuaU0 set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \\dATD\\T TIMEOUT 40 CONNECT" -- cgit v1.2.3