From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 12 09:43:31 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 058801065670 for ; Mon, 12 Jul 2010 09:43:31 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 77E678FC14 for ; Mon, 12 Jul 2010 09:43:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o6C9hNpK033436; Mon, 12 Jul 2010 19:43:23 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 12 Jul 2010 19:43:23 +1000 (EST) From: Ian Smith To: Peter Jeremy In-Reply-To: <20100712081619.GD27065@server.vk2pj.dyndns.org> Message-ID: <20100712190941.X63106@sola.nimnet.asn.au> References: <1278572030.4c3575feb972f@webmail.netspace.net.au> <20100712081619.GD27065@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: s0x7c0@netspace.net.au, freebsd-mobile@freebsd.org Subject: Re: Australian 3G ppp.conf X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2010 09:43:31 -0000 On Mon, 12 Jul 2010, Peter Jeremy wrote: > On 2010-Jul-08 16:53:50 +1000, s0x7c0@netspace.net.au wrote: > >I am using FreeBSD 8.1-PRERELEASE and I have bought myself an optus 3G usb > >modem. HUAWEI E160E with a brand new sim card. The problem is that I have never > >had to use ppp before. I have always had a modem with a built in access point. > > I have a Huawei E169 with an Optus reseller and roughly the following > config: (replace "%%APN%%" with the Optus APN) > > network: > set log local +phase filter connect > set device /dev/cuaU0.0 > set phone *99\# > set authname dummy > set authkey dummy > set timeout 600 # 10 minute idle timer > > deny chap > > disable deflate > disable pred1 > disable vjcomp > disable mppe > > enable dns > accept dns > > # Ludicrous number of retries to try and convince it to work without MS NBNS > set ipcpretry 3 50 What happens without and with this? As I read ppp(8), it could take up to 50 IPCP configreqs at 3 seconds to negotiate IP and/or DNS addresses? > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATE1Q0 OK \ > AT+COPS=1,2,"50502",2 OK \ > AT+CGDCONT=1,\\\"IP\\\",\\\"%%APN%%\\\" OK \ > \\dATDT\\T TIMEOUT 40 CONNECT" > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 > > And I have a ppp.linkup file containing: > network: > add! default HISADDR > > -- > Peter Jeremy If I ever move within range of one of these I'll be glad I read this :) cheers, Ian