Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2010 08:48:24 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        freebsd-mobile@freebsd.org
Cc:        s0x7c0@netspace.net.au
Subject:   Re: Australian 3G ppp.conf
Message-ID:  <201007120848.24870.milu@dat.pl>
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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007120848.24870.milu>