Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

GPRS woes, continued

(posted via logjam on my laptop over bluetooth over gprs-tzones (not gprs-internet))

Based on everybody's feedback, I now know my problem is that I'm connecting to the net using the wrong GPRS profile.... it'll only connect via the "T-zones" profile which the phone uses itself, not the "Internet Unlimited" profile which I'm paying $20/month for.

tytso, does this differ from what you have? (since you're the only one it seems with an identical setup to what I wish I had...)

/etc/ppp/peers/gprs:
noauth
/dev/rfcomm0
115200
defaultroute
usepeerdns
nodetach
local
noipdefault
ipcp-accept-local
ipcp-accept-remote
novj
novjccomp
debug

connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs'
disconnect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs-off'

/etc/ppp/peers/chat-gprs:
TIMEOUT 10
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rATZ
TIMEOUT 12
OK ATE1
OK 'AT+CGDCONT=10,"IP","internet2.voicestream.com"'
# This does endless strings of IPCP errors:
#OK ATD*99***10#
# This gets me on with t-zones, no ssh:
OK ATD*99***#
CONNECT ''

The errors
Now, the ATD*99***10# above should work, but I get:

apfel:/etc/ppp/peers# pppd call gprs
Perms of /dev/rfcomm0 are ok, no 'mesg n' neccesary.
ATZ
OK
ATE1
OK
AT+CGDCONT=10,"IP","internet2.voicestream.com"
OK
ATD*99***10#
CONNECT
Serial connection established.
using channel 41
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x1 ]
sent [LCP ConfAck id=0x1 ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
sent [PAP AuthReq id=0x1 user="apfel" password=]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
kernel does not support PPP filtering
sent [CCP ConfReq id=0x1
[Error: Irreparable invalid markup ('<deflate(old#)>') in entry. Owner must fix manually. Raw contents below.]

(posted via logjam on my laptop over bluetooth over gprs-tzones (not gprs-internet))

Based on everybody's feedback, I now know my problem is that I'm connecting to the net using the wrong GPRS profile.... it'll only connect via the "T-zones" profile which the phone uses itself, not the "Internet Unlimited" profile which I'm paying $20/month for.

<lj user=tytso>, does this differ from what you have? (since you're the only one it seems with an identical setup to what I wish I had...)

<lj-cut text="File contents..."><b>/etc/ppp/peers/gprs:</b>
noauth
/dev/rfcomm0
115200
defaultroute
usepeerdns
nodetach
local
noipdefault
ipcp-accept-local
ipcp-accept-remote
novj
novjccomp
debug

connect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs'
disconnect '/usr/sbin/chat -v -f /etc/ppp/peers/chat-gprs-off'

<b>/etc/ppp/peers/chat-gprs:</b>
TIMEOUT 10
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rATZ
TIMEOUT 12
OK ATE1
OK 'AT+CGDCONT=10,"IP","internet2.voicestream.com"'
# This does endless strings of IPCP errors:
#OK ATD*99***10#
# This gets me on with t-zones, no ssh:
OK ATD*99***#
CONNECT ''

<b>The errors</b>
Now, the ATD*99***10# above should work, but I get:

apfel:/etc/ppp/peers# pppd call gprs
Perms of /dev/rfcomm0 are ok, no 'mesg n' neccesary.
ATZ
OK
ATE1
OK
AT+CGDCONT=10,"IP","internet2.voicestream.com"
OK
ATD*99***10#
CONNECT
Serial connection established.
using channel 41
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8ab72156> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp> <accomp> <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0x8ab72156>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <pcomp> <accomp>]
sent [PAP AuthReq id=0x1 user="apfel" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
kernel does not support PPP filtering
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
sent [IPCP ConfReq id=0x2 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
sent [IPCP ConfRej id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x2 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x3 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfReq id=0x3]
sent [IPCP ConfAck id=0x3]
rcvd [IPCP ConfRej id=0x3 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x4 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x5 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfRej id=0x5 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x6 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfRej id=0x6 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x7 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfRej id=0x7 <addrs 0.0.0.0 0.0.0.0>]
sent [IPCP ConfReq id=0x8 <addrs 0.0.0.0 0.0.0.0>]
rcvd [IPCP ConfRej id=0x8 <addrs 0.0.0.0 0.0.0.0>]
....
(up to id=0xff and then back at 0x1)

Do I need PPP filtering, from that error above?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment