Date: Mon, 12 Jul 2010 18:16:19 +1000 From: Peter Jeremy <peterjeremy@acm.org> To: s0x7c0@netspace.net.au Cc: freebsd-mobile@freebsd.org Subject: Re: Australian 3G ppp.conf Message-ID: <20100712081619.GD27065@server.vk2pj.dyndns.org> In-Reply-To: <1278572030.4c3575feb972f@webmail.netspace.net.au> References: <1278572030.4c3575feb972f@webmail.netspace.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)
iEYEARECAAYFAkw6z1MACgkQ/opHv/APuIffygCdFdw06H7gYvu58qHeDtzlPMNk
F+UAn0rndJqwusCIx5ON3v0xbMPzlQW8
=XR9o
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100712081619.GD27065>
