On 3/23/07, ml-vic <[EMAIL PROTECTED]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "[EMAIL PROTECTED]"