From owner-freebsd-questions@FreeBSD.ORG Fri Jun 29 07:30:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BC2B1065670 for ; Fri, 29 Jun 2012 07:30:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 188698FC1B for ; Fri, 29 Jun 2012 07:30:21 +0000 (UTC) Received: from [89.204.139.52] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SkVei-0005U8-11; Fri, 29 Jun 2012 09:30:16 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q5T7UCgA001352; Fri, 29 Jun 2012 09:30:13 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q5T7UBqr001351; Fri, 29 Jun 2012 09:30:11 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 29 Jun 2012 09:30:10 +0200 From: Matthias Apitz To: vermaden Message-ID: <20120629073009.GA1321@tiny.Sisis.de> References: <20120628185809.GA1107@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.52 Cc: freebsd-questions@freebsd.org, mike@sentex.net Subject: Re: umodem/ppp/3g stopped working after update from 9.0-RELEASE to 9-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 07:30:21 -0000 --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 - 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--