View Single Post
Old 08-26-2008, 09:17 PM   #58 (permalink)
dharmabum
New Member
 
Join Date: Aug 2008
Model: 8320
PIN: N/A
Carrier: tmo
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default if you run into this...

Another tip (that I discovered the hard way):
If you succeed in connecting to the rfcomm device with ppp and initiating a ppp connection, but you see something like the following:
Code:
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe4e911f9>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth pap>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0xe4e911f9>
...
LCP terminated by peer
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.
then you should try adding the following lines to your /etc/ppp/options:
auth
+pap

You will also probably want to add the following line to /etc/ppp/options
usepeerdns
(otherwise you may not be able to resolve domain names)
Offline   Reply With Quote