maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   T-Mobile Edge Connection Help Please (https://talk.maemo.org/showthread.php?t=3107)

dr_kludge 2006-09-18 23:49

T-Mobile Edge Connection Help Please
 
Can I buy a vowel? Perhaps several? :D Anyhow, I've searched all over the Internet. I have T-Mobile almost connecting with a Linux box. You see I thought I try a full scale Linux box before going down to the narrow confines of the 770. Both the 770 and the Linux computer(Fedora) use bluez tools so I thought this would be a hope skip and a jump. I am using a Samsung T-809 as a modem. I'd really like to use it as a bluetooth modem but it would be nice to know how to do this with a host enabled USB connection from the Nokia 770.

I am a total noob as far as T-Mobile and using cell phones as modems. I've also been spoiled by years of high speed Internet connections so I have forgotten everything I knew about dial-up networking. LOL it was like going from 2400baud to 56K was such a wonder ummm...so many years (13+) ago. Other geek and linux skils are high, however.

The two key pieces of information that I am using are
Code:

...
SAY        'Setting APN\n'
OK        'AT+CGDCONT=1, ”IP”, ”internet2.voicestream.com”'
...
OK        'ATD*99#'
CONNECT        ' '

I see that some people have already connected with T-Mobile. In some respects it looks like more of the correct settings than the hardware. So can anyone provide some hints please?

Thanks,
Greg

tmobile-connect scripts follow.

Code:

# A bluetooth rfcomm0 script for T-Mobile
# /etc/ppp/peers/tmobile
# use
#    pppd call tmobile
# at the command line.
#
/dev/rfcomm0        # bluetooth modem serial port.
115200                # Set the Speed
defaultroute        # Use the cellular network for the default route
usepeerdns        # Use the DNS servers from the remote network
nodetach        # Keep ppd in the foreground
crtscts                # Hardware flow control
# noccp                # http://www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
lock                # Lock the bluetooth serial port
# http://www.handhelds.org/pipermail/ipaq/179/17993.html
# > Connect: ppp0 <--> /dev/rfcomm0
# > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe66e9a52>]
# > rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth pap>]
#
# The above line is the remote end asking for authentication....
#
# > sent [LCP ConfRej id=0x1 <auth pap>]
#
# ...which your machine rejects because of the "noauth" option...
#
# > rcvd [LCP TermReq id=0x3 "peer refused to authenticate"]
#
# ...so the remote machine terminates the connection. I don't think you
# actually want the "noauth" option.
# noauth                # Don't expect the modem to authenticate itself
local                # Don't use the Carrier Detect or Data Terminal Ready
# ipcp-accept-remote                # http://www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
# ipcp-accept-local                # http://www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
# noipdefault                # http://www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
debug
# http://www.pharscape.org/component/option,com_forum/Itemid,68/page,viewtopic/p,223/sid,9978f1956d38cbed8e41471182043dfc/
# As for my config. I also have "local" and don't have "asyncmap 0"
# http://www.handhelds.org/pipermail/ipaq/179/17994.html
# asyncmap 0
noauth
hide-password
mru 1500
kdebug 2
mtu 1500
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

# Use the next two lines if you receive the dreaded messages:
#
#    No repsonse to n echo-requests
#    Serial link appears to be disconnected
#    Connection terminated.
#
# lcp-echo-failure 4
# lcp-echo-interval 65535

connect                "/usr/sbin/chat -v -f /etc/chatscripts/tmobile-connect"
disconnect        "/usr/sbin/chat -v -f /etc/chatscripts/tmobile-disconnect"





Code:

# File: /etc/chatscripts/tmobile-connect
#
TIMEOUT        10
ABORT        'BUSY'
ABORT        'NO ANSWER'
ABORT        'ERROR'
SAY        'Starting GPRS connect script\n'

SAY        'Reset Modem\n'
# Get the modem's attention and reset it.
""        'ATZ'

SAY        'Use no echo and English result codes\n'
# E0=No echo, V1=English result codes
OK        'ATE0V1'

# Set Access Point Name (APN)
SAY        'Setting APN\n'
OK        'AT+CGDCONT=1, ”IP”, ”internet2.voicestream.com”'
# From http://t809.blogspot.com/2005/12/samsung-t809-faq.html
# I am trying to connect to EDGE or GPRS or T-Zones from my laptop using my t809 as a Bluetooth Modem, but when I dial out I receive the following error:
#
# Error 734: The PPP link control protocol was terminated.
#
# You need to add an additional setting:
# On Windows 2000 (XP will be similar), do the following:
# *Control Panel -> Phone and Modem Options, Modem tab (highlight bluetooth modem),
# *Properties, Advanced tab. In Extra initialization commands enter:
#
# +cgdcont=1,"IP","internet2.voicestream.com","",0,0
#
# *Click OK twice to save it, and dial out! You might have to reboot, I didn't.
# OK        'AT+CGDCONT=1,"IP","internet2.voicestream.com","",0,0'

# Dial the number
ABORT        'NO CARRIER'
SAY        'Dialing...\n'
# original
# OK        'ATD*99***1#'
# http://www.internettablettalk.com/forums/showpost.php?p=10146&postcount=19
OK        'ATD*99#'
CONNECT        ''






Code:

# File: /etc/chatscripts/tmobile-disconnect
#
# Send a control k to disconnect.
""        '\k'
# Now disconnect from modem.
""        '+++ATH0'
SAY        'GPRS disconnected.'


bloftin 2006-10-04 05:40

Tmobile Web/Tzones
 
This worked for me,
HTML Code:

http://www.gruups.com/tzones/#notebook


All times are GMT. The time now is 14:14.

vBulletin® Version 3.8.8