Still no dice... what's in your peer script? When I do a 'pppd nodetach debug 
call gprs' (gprs is the name of my peer script), it hangs right after "Starting 
GPRS connect script" and goes no further. I was able to connect once today 
using qtopia, but for some reason it never connected again after that and 
continued to hang at random times during the list of AT commands. I'm stumped 
as to what could be causing this issue. I did do a 

/etc/init.d/gsmd stop
echo "1" > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
chown uucp.uucp /dev/ttySAC0
stty -F /dev/ttySAC0 crtscts

before calling the pppd script to no avail. Could this be a kernel issue? Which 
kernel are you using?

btw, how does one go about reconnecting to the operator network after stopping 
gsmd and running the above commands without rebooting? /etc/init.d/gsmd start 
doesn't reconnect to the tmobile network and issuing AT+COPS=? returns nothing.

-Tom


----- Original Message -----
From: "Jim Morris" <[EMAIL PROTECTED]>
To: "List for Openmoko community discussion" <[email protected]>
Sent: Sunday, August 3, 2008 2:26:02 PM GMT -05:00 US/Canada Eastern
Subject: Re: Tmobile GPRS

I have t-mobile and the webconnect plan, and this worked for me, the version of 
the script you show 
did not work... Just change wap.voicestream.com to internet2.voicestream.com

 > cat /etc/ppp/tmobile-connect
TIMEOUT 20
ABORT BUSY
ABORT "NO ANSWER"
ABORT "NO DIALTONE"
ABORT VOICE
ABORT ERROR
ABORT RINGING
SAY 'Starting GPRS connect script\n'
"" +++
OK ATZ
OK ATE1
OK AT+CFUN=1
OK AT+COPS
SAY 'Setting APN\n'
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
ABORT 'NO CARRIER'
SAY 'Dialing...\n'
OK ATD*99***1#
CONNECT /n/d

I also had to do this to make it connect...

echo "1" > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
chown uucp.uucp /dev/ttySAC0
stty -F /dev/ttySAC0 crtscts
pppd call tmobile-connect


xaos x wrote:
> First off, the phone I have is the gta02. I've tried using the various 
> settings I've found around the net to get pppd working with the T-mobile 
> total internet plan, but I'm having issues with the connection script failing.
> 
> Using the settings from the T-mobile pppd scripts found on the Wiki, it will 
> get to different stages of dialing each time I try it, but will never 
> connect. If iIuse the gsm tool to send the AT commands manually, or if I echo 
> them out in the connection script, it will get to a point where it just 
> hangs. So, I hit CTRL+C to cancel it and run pppd again and it goes a little 
> further. Eventually I can get past setting the APN, then when it tries to 
> dial, it fails. I've tried both *99***1# and *99# to no avail (Tier level 3 
> support told me they use *99#).
> 
> I did get it to connect once but it would disconnect again. I couldn't 
> troubleshoot those problems as I could never get it to connect again.
> 
> So, for anyone who has gotten it to connect (internet2.voicestream.com), 
> which distribution are you using and which kernel image?
> 
> Below are the settings I'm using:
> [EMAIL PROTECTED]:~# cat /etc/ppp/peers/gprs 
> #
> /dev/ttySAC0
> 115200
> crtscts
> lock
> hide-password
> defaultroute # set the default route
> usepeerdns
> holdoff 3
> ipcp-accept-local
> lcp-echo-failure 12
> lcp-echo-interval 3
> noauth
> noipdefault
> novj
> novjccomp
> replacedefaultroute
> persist
> debug
> 
> connect "/usr/sbin/chat -v -f /etc/ppp/tmobile-connect"
> disconnect "/usr/sbin/chat -v -f /etc/ppp/tmobile-disconnect"
> 
> [EMAIL PROTECTED]:~# cat /etc/ppp/tmobile-connect 
> ECHO ON
> TIMEOUT 30
> ABORT 'BUSY'
> ABORT 'NO ANSWER'
> ABORT 'ERROR'
> SAY 'Starting GPRS connect script\n'
> 
> ""'ATZ'
> SAY 'Setting APN\n'
> OK 'AT+CGDCONT=1,"IP","internet2.voicestream.com"'
> 
> ABORT 'NO CARRIER'
> SAY 'Dialing...\n'
> OK 'ATD*99#'
> CONNECT ''
> 
> -Tom
> 
> _______________________________________________
> Openmoko community mailing list
> [email protected]
> http://lists.openmoko.org/mailman/listinfo/community
> 


-- 
Jim Morris, http://blog.wolfman.com

_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to