From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 12 08:16:27 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 4A2401065673 for ; Mon, 12 Jul 2010 08:16:27 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by mx1.freebsd.org (Postfix) with ESMTP id CD6E78FC1D for ; Mon, 12 Jul 2010 08:16:26 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c211-30-160-13.belrs4.nsw.optusnet.com.au [211.30.160.13]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o6C8GNQn016777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Jul 2010 18:16:24 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o6C8GKJY027387; Mon, 12 Jul 2010 18:16:20 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o6C8GJZg027386; Mon, 12 Jul 2010 18:16:19 +1000 (EST) (envelope-from peter) Date: Mon, 12 Jul 2010 18:16:19 +1000 From: Peter Jeremy To: s0x7c0@netspace.net.au Message-ID: <20100712081619.GD27065@server.vk2pj.dyndns.org> References: <1278572030.4c3575feb972f@webmail.netspace.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline In-Reply-To: <1278572030.4c3575feb972f@webmail.netspace.net.au> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 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 08:16:27 -0000 --UoPmpPX/dBe4BELn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 po= int. 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 NB= NS set ipcpretry 3 50 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \ AT+COPS=3D1,2,"50502",2 OK \ AT+CGDCONT=3D1,\\\"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 --=20 Peter Jeremy --UoPmpPX/dBe4BELn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw6z1MACgkQ/opHv/APuIffygCdFdw06H7gYvu58qHeDtzlPMNk F+UAn0rndJqwusCIx5ON3v0xbMPzlQW8 =XR9o -----END PGP SIGNATURE----- --UoPmpPX/dBe4BELn--