Date: Wed, 16 Nov 2011 20:51:56 +0800 From: darcsis@gmail.com (Denise H. G.) To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-questions@freebsd.org Subject: Re: problems in ppp negotiating Message-ID: <87ehx8grgz.fsf@pluton.xbsd.name> In-Reply-To: <20111115192519.GA1086@tiny> (Matthias Apitz's message of "Tue, 15 Nov 2011 20:25:20 %2B0100") References: <20111115124114.GA1482@tiny> <8739dpwbnh.fsf@pluton.xbsd.name> <20111115192519.GA1086@tiny>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011/11/16 at 03:25, Matthias Apitz <guru@unixarea.de> wrote:
>=20
> El d=EDa Wednesday, November 16, 2011 a las 01:14:42AM +0800, Denise H. G=
. escribi=F3:
>> Hi
>>=20
>> What is in your /etc/ppp.conf? To better locate your problem, you'd
>> better show us the config file.
>=20
> Hello,
>=20
> I was thinking in this, but then I realized that the ppp.bad file
> contained it, even the SIM PIN; anyway, here it is:
>=20
>=20
> #=20
> default:
> set log Phase Chat LCP IPCP CCP tun command
>=20
> umts:
>=20
> set device /dev/cuaU0.0 # device name in CURRENT
> set speed 230400
>=20
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
> \"\" AT OK-AT-OK ATZ OK \
> AT+CFUN=3D1 OK \
> at+cpin=3D"4708" O \
> AT+COPS=3D0 OK \
> AT+CGDCONT=3D1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \
> \\dATDT\\T TIMEOUT 40 CONNECT"
>=20
> set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK"
>=20
> set phone *99*1\#
> set authname "fonic"
> set authkey "fonic"
> set timeout 300
> set ifaddr 0.0.0.0/0 10.64.64.64/0 255.255.255.0 0.0.0.0
The line above might be the problem. If you dial mode is NOT `auto', you
don't need `set ifaddr' thing, according to the manual of `ppp(8)'. Or
you are using `auto' mode to dial up, give it try to use:
set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0
This part of the ppp configuration is about using IPCP protocal to
negotiate IP address. And your attached ppp logs have IPCP errors.
Anyway, I am not sure if this would help or not. Just give it try.
Regards.
> add default HISADDR # Add a (sticky) default route
> enable dns
> disable ipv6cp
> --=20
> Matthias Apitz
> e <guru@unixarea.de> - w http://www.unixarea.de/
> UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
> ................=20
--=20
Hindsight is an exact science.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ehx8grgz.fsf>
