ppp connection drops because of a flood of LCP Req
ml-vic
ml-vic at de-martino.it
Sat Mar 24 19:14:15 UTC 2007
Thanks again Maksims,
my ppp connection is ok now.
For whom it may concern: Here it is the /etc/ppp/ppp.conf to connect via
bluetooth to Vodafone in Italy:
issue as an ordinary user:
rfcomm_pppd -a <BD_ADDR> -c -C dun -l rfcomm-dialup
>>>>>>>>>>>>>>>>>>>>>>>>
rfcomm-dialup:
enable force-scripts
set phone *99\#
enable dns
disable mppe
enable lqr # Attento a questa
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
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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Alle 00:18, sabato 24 marzo 2007, Maksim Yevmenkin ha scritto:
> On 3/23/07, ml-vic <ml-vic at 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
More information about the freebsd-bluetooth
mailing list