From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 12 06:48:34 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 A086110656DB for ; Mon, 12 Jul 2010 06:48:34 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1958FC1E for ; Mon, 12 Jul 2010 06:48:33 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 8617F5C60; Mon, 12 Jul 2010 08:48:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S8lPqHuBxO5Z; Mon, 12 Jul 2010 08:48:29 +0200 (CEST) Received: from snifi.laptop (77-253-111-211.adsl.inetia.pl [77.253.111.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id BA7615C48; Mon, 12 Jul 2010 08:48:28 +0200 (CEST) From: Maciej Milewski To: freebsd-mobile@freebsd.org Date: Mon, 12 Jul 2010 08:48:24 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; i386; ; ) References: <1278572030.4c3575feb972f@webmail.netspace.net.au> In-Reply-To: <1278572030.4c3575feb972f@webmail.netspace.net.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <201007120848.24870.milu@dat.pl> Cc: s0x7c0@netspace.net.au 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 06:48:34 -0000 Dnia czwartek 08 lipiec 2010 o 08:53:50 s0x7c0@netspace.net.au napisa=B3(a): > Hi everyone, >=20 > 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. So if there is anyone out there who knows how to get > connected I would REALLY like to hear from you. Before I forget u3g is > compiled into the kernel and FreeBSD detects the device correctly and new > devices and ttys' turn up in /dev. >=20 > cheers, >=20 > Brett. Hi Brett, you can try to customize the following from /etc/ppp/ppp.conf umts: set device /dev/cuaU0.0 set speed 460800 set phone "*99#" set log local chat error warning connect disable ipv6cp disable mppe disable lqr set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK \ AT OK-AT-OK AT+CPIN=3D!!!PIN_GOES_HERE!!! OK-AT-OK\ AT+CGDCONT=3D1,\\\"IP\\\",\\\"your operators APN\\\" OK \ AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" enable dns set authname ppp set authkey ppp disable vjcomp disable protocomp set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR And then to start the connection you enter: ppp -ddial umts Some options in this may be unnecessary but you have to tweak it to your=20 needs. Cheers, Maciej Milewski