From owner-freebsd-questions@FreeBSD.ORG Sun Oct 2 18:43:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEA4B16A41F for ; Sun, 2 Oct 2005 18:43:36 +0000 (GMT) (envelope-from arg-bsd@arg.me.uk) Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8C143D4C for ; Sun, 2 Oct 2005 18:43:34 +0000 (GMT) (envelope-from arg-bsd@arg.me.uk) Received: by arg1.demon.co.uk (Postfix, from userid 300) id E5F159B02; Sun, 2 Oct 2005 19:43:32 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id D6FEF5D0F; Sun, 2 Oct 2005 19:43:32 +0100 (BST) Date: Sun, 2 Oct 2005 19:43:32 +0100 (BST) From: Andrew Gordon X-X-Sender: arg@server.arg.sj.co.uk To: guru@Sisis.de In-Reply-To: <20051002155443.GA1123@rebelion.Sisis.de> Message-ID: <20051002194020.D16497@server.arg.sj.co.uk> References: <20051002155443.GA1123@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: pppd: Could not determine remote IP address 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: Sun, 02 Oct 2005 18:43:37 -0000 On Sun, 2 Oct 2005 guru@Sisis.de wrote: > > With the helping hand of someone in freebsd-mobile list I've hacked > the 'uftdi' driver to support a PCMCIA card provided by Vodafone > for UMTS. The card works now as it should but the IPCP negotiating > of the pppd 2.3.11 (from ports collection) ends up in: Why use pppd from ports? The native /usr/sbin/ppp is usually more convenient. The following config file works with Vodafone 3G/gprs. Note that the '2g' configuration is useful while roaming - the card is inclined otherwise to lock onto a 3g network that doesn't support data roaming in preference to a 2g network that does. The '3g' configuration is for normal use 'at home'. 2g: set device /dev/ucom0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR set phone "*99***1#" disable lqr set timeout 0 # Disable timeout set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT_opsys=0,0 OK \\dATDT\\T TIMEOUT 60 CONNECT" 3g: set device /dev/ucom0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR set phone "*99***1#" disable lqr set timeout 0 # Disable timeout set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT_opsys=3,2 OK \\dATDT\\T TIMEOUT 60 CONNECT"