Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2012 09:30:10 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        vermaden <vermaden@interia.pl>
Cc:        freebsd-questions@freebsd.org, mike@sentex.net
Subject:   Re: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE
Message-ID:  <20120629073009.GA1321@tiny.Sisis.de>
In-Reply-To: <kbwzpfzegdfzkxyrhfmo@rnfz>
References:  <orbevfsodiahrtleagth@uazf> <20120628185809.GA1107@tiny.Sisis.de> <kbwzpfzegdfzkxyrhfmo@rnfz>

next in thread | previous in thread | raw e-mail | index | archive | help

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

El día Friday, June 29, 2012 a las 08:02:17AM +0200, vermaden escribió:

> > I said this already: the /etc/ppp/ppp.conf file you are
> > using is completely broken and the log matches this;
> > 
> > what should these AT cmds do in the section of 3g:
> > 
> > 3g:
> > set device /dev/cuaU0
> > set speed 38400
> > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
> > add default HISADDR
> > term
> > AT+CFUN=1
> > AT+CGDCONT=1,"IP","www.plusgsm.pl"
> > ATD*99#
> > 
> > 	matthias
> 
> I did not knew that its broken, I used the '3g'
> profile to connect, like that: # ppp -ddial 3g
> 
> It worked very well without errors on 9.0-RELEASE
> and it stopped working after the update to the
> 9-STABLE, what is broken there?

I can't imagine that 9-STABLE delivers such a broken file (already
because the "www.plusgsm.pl" entry in your file); I do not know how you
did the update and if maybe this is the result of some kind of broken
merging; I'm attaching the original file out of SVM (CURRENT) and mine
which have a working entry 'umts'; try to rebuild from both a workin one
by hand;

	matthias

-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ppp.conf"

#################################################################
# 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: head/etc/ppp/ppp.conf 203943 2010-02-16 01:07:06Z jkim $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION

 # 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)

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

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ppp.conf"

#
# $Id: ppp.conf,v 1.1 2011/11/20 06:07:03 guru Exp $
#
# APN (AT+CGDCONT value): pinternet.interkom.de
#
# 
# 
default:
 set log Phase Chat LCP IPCP CCP tun command

umts:

 set device /dev/cuaU0.0     # device name in CURRENT
 set speed 921600

 #
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
        \"\" AT OK-AT-OK ATZ OK \
        AT+CFUN=1 OK \
        AT+COPS=0 OK \
        AT+CGDCONT=1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \
        \\dATDT\\T TIMEOUT 40 CONNECT"

 set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK"

 # NAT (not used by me)
 # nat enable yes
 # alias enable yes
 # nat port tcp 192.168.0.0:ftp ftp
 # nat port tcp 192.168.0.0:http http
 nat enable yes
 nat port udp 127.0.0.1:1024-1030 1024-1030
 nat port tcp 127.0.0.1:22 22

 set phone *99*1\#
 set authname "xxxxx"
 set authkey "xxxxx"
 set timeout 300
 set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0
 #
 add default HISADDR                    # Add a (sticky) default route
 enable dns
 disable ipv6cp
 # disable deflate
 # disable pred1

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120629073009.GA1321>