6

I am using Windows 7 and have a BlackBerry with T-Mobile (U.S.). I have paired the phone with my computer over Bluetooth, which automatically creates a serial port for it. I am able to open the port in PuTTY and successfully issue AT commands to the modem, including dialing. However, while using Windows to create and establish a Dial-Up Networking connection, I get an error dialog stating "Error 678. The remote computer did not respond."

In my testing, I also tried setting up a connection to dial a number connected to a phone. When attempting to connect over this connection, the phone does ring but the very moment I answer the call, my computer displays the above error dialog.

What must be done to successfully establish such a PPP connection? Some special AT initialization string perhaps?

To clarify, I'm not referring to the well-described and popular technique known as "tethering," in which the remote host of the data link is the mobile service provider. I am interested specifically in establishing direct data links with remote hosts other than my mobile service provider. Think old-school landline connection to your friend's computer or BBS.

Edit 1 As grawity pointed out in comments, the missing piece of the puzzle is the actual modulator that is compatible with v-series protocols, which I expected to be built into the cellphone. So far the best only software alternative I could find is this experimental project.

Edit 2 Found this forum discussion today. The participants state that there is no old-school modem in the BlackBerry.

Edit 3 When I place a call in PuTTY with ATD, immediately after the call is answered (and the callee is initiating the handshake) the cellphone returns OK. This is not the expected behavior for establishing a data connection. The phone should reciprocate the handshake, and upon success return CONNECT. (Alternatively it should return BUSY or NO CARRIER, but never simply OK.) Windows DUN must be interpreting this as the "Error 678" I was seeing.

9
  • If you use ATDT to dial the number does it connect and stay connected? Also have you checked with your carrier to ensure they haven't disable tethering or "Phone as Modem", and/or that you have access to use it? Nov 8, 2011 at 19:44
  • 1
    Wait, are you trying to answer a data call with a voice phone? That's just not going to work, unless you can sing the V.22 handshake. Nov 9, 2011 at 0:55
  • @techie007, if i use ATD it connects and stays connected. I am already able to do normal tethering, but I want to dial-up to a server that is not connected to the internet.
    – G-Wiz
    Nov 9, 2011 at 19:11
  • @grawity, ah... that must be the missing piece of the puzzle. yes, i believe that is what i'm trying to do. i was hoping the phone used v.22 to create it's link with the carrier's internet gateway when tethering, and i could simply drop in my dial-up server's phone number and credentials. is this simply impossible? assuming i can connect my audio in/out jacks to the phone's jack with an adapter, are you aware of any network interface software that can emulate a modem?
    – G-Wiz
    Nov 9, 2011 at 19:23
  • 1
    It's not clear what you're trying to do. At least some phones (those that maintain compatibility with old network protocols) have built-in modems that respond to AT commands. If you have one of these you should be able to connect to a modem elsewhere in the phone network. If your phone was responding to AT commands with "OK" over the serial link then one would presume it's got the capability. But connecting your audio jacks to the phone is not likely to do it. (Why would you even want to try that if you've got the serial link?) Nov 10, 2011 at 1:06

3 Answers 3

1

Cell phones sometimes expose their data connection as an old AT-style modem. I'd say on older cell phones this is going to work closer to how you'd expect, i.e. you put the phone into modem mode, you either connect A) an actual serial cable (or a proprietary cable that exposes the UART pins on the phone), B) a USB cable that's functioning as a COM port, or C) a Bluetooth virtual COM port, and use it just as you would a normal external serial modem.

So the AT conversation you are having, which is not working, is the AT command interface bolted on to the cell phones data connection. Presence of an AT command interface does not automatically mean you are talking to a device that does analog-style modulation/demodulation. Many phones used to do this. With most Android phones now supporting RNDIS/USB over Ethernet it's not very necessary anymore and I'm not sure if many do or the current state of this.

As an aside, I think there are extensions to the AT command set to specifically support cell phones sharing data via this interface, and even to support things like SMS.

No cellphone does the analog-style modulation/demodulation that an analog modem does natively that I've ever heard of. You might be able to get softmodem or similar working on an Android device if you cross-compile it for ARM, but I don't know if there is any application like that for Blackberry; I highly doubt one exists.

0

Have you tried calling a Free Dial-Up access numbers?

Check out the following links.

Netzero Access Numbers
Google "Free Dialup Numbers"

3
  • thanks for the info. as grawity pointed out in comments, the problem is a lack of v.22/v.92-compatible signal modulation in the phone or computer. in other words, a modem = phoneline + signal modulator. a cell phone only has the phoneline part, and tethering apparently uses something else to establish the link.
    – G-Wiz
    Nov 9, 2011 at 19:36
  • 1
    @gWiz: Many older (pre-smartphone) cell phones do have the necessary parts and can use dial-up internet connections over GSM, as well as function as a modem connected to a computer. (My comment was more about the kind of "answering"; is it done by the PPP software or by you manually?) Nov 9, 2011 at 20:16
  • The simple tests I've done so far were outbound connections; I'm dialing a server that is known to be functioning properly. I was attempting to use the Windows built-in Dial-Up Networking PPP software, as well as manual AT commandset control with a serial terminal. Also, I only have modern smartphones to attempt this on. (iPhone and BlackBerry.) Thanks for the great info so far, any other tips?
    – G-Wiz
    Nov 9, 2011 at 20:41
0

I have, in the relatively distant past, used a "dumb" cellphone together with it's computer upload/download cable to establish a wireless modem connection. IIRC, it required a device driver on the laptop. The interface presented was essentially the old "SmartModem" AT interface, which the laptop inherently knew how to use. Unfortunately, speed was limited to 9600 bps or some such.

Have you tried telling your computer that it's a SmartModem or standard AT modem and asking it to dial the connection?

(I am recalling, though, that you may need to use a special parameter (looking at the Hayes command set, S9 or S10 sounds familiar, though it may have been one of the post-Hayes extensions) to tell the modem that this is a wireless connection and that it has longer latency than a land line. Seems kind of silly to do this for a modem that embedded in the phone, but it may still be required.)

1
  • thanks for the info. as grawity pointed out, the problem is likely that there simply is nothing to do the data <-> audio modulation.
    – G-Wiz
    Nov 9, 2011 at 19:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .