problems in ppp negotiating

Denise H. G. darcsis at gmail.com
Wed Nov 16 12:52:10 UTC 2011


On 2011/11/16 at 03:25, Matthias Apitz <guru at unixarea.de> wrote:
> 
> El día Wednesday, November 16, 2011 a las 01:14:42AM +0800, Denise H. G. escribió:
>> Hi
>> 
>> What is in your /etc/ppp.conf? To better locate your problem, you'd
>> better show us the config file.
> 
> Hello,
> 
> I was thinking in this, but then I realized that the ppp.bad file
> contained it, even the SIM PIN; anyway, here it is:
> 
> 
> # 
> default:
>  set log Phase Chat LCP IPCP CCP tun command
> 
> umts:
> 
>  set device /dev/cuaU0.0     # device name in CURRENT
>  set speed 230400
> 
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>         \"\" AT OK-AT-OK ATZ OK \
>         AT+CFUN=1 OK \
>         at+cpin="4708" O \
>         AT+COPS=0 OK \
>         AT+CGDCONT=1,\\\"IP\\\",\\\"pinternet.interkom.de\\\" OK \
>         \\dATDT\\T TIMEOUT 40 CONNECT"
> 
>  set logout "ABORT BUSY ABORT ERROR TIMEOUT 30 \"\" +++ATH O ATH OK"
> 
>  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
> -- 
> Matthias Apitz
> e <guru at 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
> ................ 



-- 
Hindsight is an exact science.


More information about the freebsd-questions mailing list