From owner-freebsd-questions@FreeBSD.ORG Wed Nov 16 12:52:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03FE4106566B for ; Wed, 16 Nov 2011 12:52:10 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id BDBAF8FC08 for ; Wed, 16 Nov 2011 12:52:09 +0000 (UTC) Received: by iakl21 with SMTP id l21so788655iak.13 for ; Wed, 16 Nov 2011 04:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type:content-transfer-encoding; bh=1Y0ad4yLIgZvBisZKaUlfl1QzHeUkmsJkI2V7GK3LBs=; b=xLVLKqgKj2ZLakiwWtu+n4YoNt7PZqwg3Gf3CwP+AHKKHBJihNtXsgnTMzh/Bmypic W6l4Yr5oI+gmP0OU+caWfrMW7AL4Gch/uDEs36lGT8DV/NeIT+EcUBHtHG749Wj13uXA yP1dOvqbJBJVCa704bpdcrp2zhVSjcoRSTa84= Received: by 10.42.168.202 with SMTP id x10mr31327464icy.4.1321447929074; Wed, 16 Nov 2011 04:52:09 -0800 (PST) Received: from localhost ([125.34.65.124]) by mx.google.com with ESMTPS id z10sm44093542ibv.9.2011.11.16.04.52.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 04:52:07 -0800 (PST) From: darcsis@gmail.com (Denise H. G.) To: Matthias Apitz In-Reply-To: <20111115192519.GA1086@tiny> (Matthias Apitz's message of "Tue, 15 Nov 2011 20:25:20 +0100") Organization: Pluto The Planet References: <20111115124114.GA1482@tiny> <8739dpwbnh.fsf@pluton.xbsd.name> <20111115192519.GA1086@tiny> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) X-Envelope-To: guru@unixarea.de Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org Date: Wed, 16 Nov 2011 20:51:56 +0800 Message-ID: <87ehx8grgz.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: problems in ppp negotiating X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 12:52:10 -0000 On 2011/11/16 at 03:25, Matthias Apitz wrote: >=20 > El d=EDa Wednesday, November 16, 2011 a las 01:14:42AM +0800, Denise H. G= . escribi=F3: >> Hi >>=20 >> What is in your /etc/ppp.conf? To better locate your problem, you'd >> better show us the config file. >=20 > Hello, >=20 > I was thinking in this, but then I realized that the ppp.bad file > contained it, even the SIM PIN; anyway, here it is: >=20 >=20 > #=20 > default: > set log Phase Chat LCP IPCP CCP tun command >=20 > umts: >=20 > set device /dev/cuaU0.0 # device name in CURRENT > set speed 230400 >=20 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATZ OK \ > AT+CFUN=3D1 OK \ > at+cpin=3D"4708" O \ > AT+COPS=3D0 OK \ > AT+CGDCONT=3D1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \ > \\dATDT\\T TIMEOUT 40 CONNECT" >=20 > set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK" >=20 > set phone *99*1\# > set authname "fonic" > set authkey "fonic" > set timeout 300 > set ifaddr 0.0.0.0/0 10.64.64.64/0 255.255.255.0 0.0.0.0 The line above might be the problem. If you dial mode is NOT `auto', you don't need `set ifaddr' thing, according to the manual of `ppp(8)'. Or you are using `auto' mode to dial up, give it try to use: set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 This part of the ppp configuration is about using IPCP protocal to negotiate IP address. And your attached ppp logs have IPCP errors. Anyway, I am not sure if this would help or not. Just give it try. Regards. > add default HISADDR # Add a (sticky) default route > enable dns > disable ipv6cp > --=20 > 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 > ................=20 --=20 Hindsight is an exact science.