Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 17:18:01 -0700
From:      "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com>
To:        ml-vic <ml-vic@de-martino.it>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: ppp connection drops because of a flood of LCP Req
Message-ID:  <bb4a86c70703231718r4a9949d3v2dab3f87bd562bf5@mail.gmail.com>
In-Reply-To: <200703232213.30138.ml-vic@de-martino.it>
References:  <200703232213.30138.ml-vic@de-martino.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/23/07, ml-vic <ml-vic@de-martino.it> wrote:
> For a very long time I've being using a umts pcmcia card so it was easy to me
> modify a bit ppp.conf file as below to connect my pc thru bluetooth and my
> cell phone used as modem:
>
>
> #################################################################
> # PPP  Sample Configuration File
> #################################################################
>
> default:
>  set log Phase Chat LCP IPCP CCP tun command
>  ident user-ppp VERSION (built COMPILATIONDATE)
>
> rfcomm-dialup:
>  set device /dev/ubt0

get rid of "set device", ppp is executed in -direct mode, i.e.
stdin/stdout is used instead of opening device. in fact, there is no
/dev/ubt0. does not seem to matter, but its confusing.
>  enable force-scripts
>  set phone *99\#

>  set mtu 300
>  set mru 300

i'd say loose those (mtu/mru) too. it seems like remote side does not like it.

otherwise looks fine to me

max

>  enable dns
>  disable mppe
>  enable lqr
>
>  set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \
>   \"\" ATZ OK-AT-OK ATE1Q0 OK \
>   AT+CGDCONT=1,\\\"IP\\\",\\\"web.omnitel.it\\\",\\\"0.0.0.0\\\" OK \
>   \\dATDT\\T TIMEOUT 40 CONNECT"
>
>  set authname    # those can be usually chosen at will
>  set authkey
>  disable vjcomp
>  disable deflate
>  disable protocomp
>  set dns 83.224.66.134 83.224.65.134
>  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 launch
>
> # rfcomm_pppd -a  00:12:d2:65:c2:03  -c -C dun -l rfcomm-dialup
>
> ppp starts, chats, tries to connect to the provider but drops after a while
> issuing a flood of LCP requests (see below ppp.log)
>
> Any idea?
>
> Ciao
> Vittorio
>



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