Join Today
+ Reply to Thread
Results 1 to 6 of 6
  1. #1

    Default Using A1200 as GPRS modem from Mac

    I have Bluetooth working
    I have a Modem script that is supposed to work
    I can browse the web on the phone - so GPRS (T-Mobile US) seems to work.
    But when I try to connect from my Mac, this is what I get in my log file:
    Code:
     CCLWrite : AT\13
     CCLMatched : OK\13\10
     CCLWrite : AT&FE0V1&C1S0=0\13
     CCLMatched : OK\13\10
     CCLWrite : AT+CGDCONT=1,"IP","internet2.voicestream.com",,0,0\13
     CCLMatched : OK\13\10
     Making GPRS connection
     CCLWrite : ATD*99#\13
     CCLMatched : CONNECT
     Serial connection established.
     Terminal connection established.
     using link 0
     Using interface ppp0
     Connect: ppp0 <--> /dev/cu.Bluetooth-Modem
     sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb868d153> <pcomp> <accomp>]
     rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb868d153> <pcomp> <accomp>]
     sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb868d153> <pcomp> <accomp>]
     rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb868d153> <pcomp> <accomp>]
     rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xd0200000> <pcomp> <accomp>]
     No auth is possible
     lcp_reqci: returning CONFREJ.
     sent [LCP ConfRej id=0x1 <auth pap>]
     rcvd [LCP TermReq id=0x2 00 00 00 00 00 00] 
     sent [LCP TermAck id=0x2] 
     Hangup (SIGHUP)
     Modem hangup
     Connection terminated.
    Any ideas what's going wrong here? I have PPP options set to do no echo packages and not to use TCP header compression as recommended. It seems to reject some authentication, but I don't understand why...

    Thanks

    /D

  2. #2

    Default Re: Using A1200 as GPRS modem from Mac

    Update: doing a lot more googling I found that contrary to many instructions that I've seen, you need user "tmobile" / password "tmobile" in order to connect to the GPRS service on T-Mobile.
    I get a little further now (the start of the log is the same...)
    Code:
     sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x11dc615e> <pcomp> <accomp>]
     rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x11dc615e> <pcomp> <accomp>]
     sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x11dc615e> <pcomp> <accomp>]
     rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x11dc615e> <pcomp> <accomp>]
     rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xf8200000> <pcomp> <accomp>]
     lcp_reqci: returning CONFACK.
     sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xf8200000> <pcomp> <accomp>]
     sent [PAP AuthReq id=0x1 user="tmobile" password=<hidden>]
     rcvd [PAP AuthAck id=0x1 "Welcome to Motorola Ezx Software Modem!"]
     Remote message: Welcome to Motorola Ezx Software Modem!
     PAP authentication succeeded
     sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
     rcvd [IPCP ConfReq id=0x1]
     ipcp: returning Configure-NAK
     sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
     rcvd [LCP TermReq id=0x2 00 00 00 00 00 00] 
     LCP terminated by peer (^@^@^@^@^@^@)
     sent [LCP TermAck id=0x2] 
     Hangup (SIGHUP)
     Modem hangup
     Connection terminated.
    So it looks like it authenticates fine but then fails to get an IP addr...

    ideas?

    /D

  3. #3

    Default Re: Using A1200 as GPRS modem from Mac

    Describing my problem seems to be all it takes...

    I figured it out. What I needed was a file /etc/ppp/options with simply the following content
    Code:
    :192.168.0.254
    What this does is that it sets the default IP address for the server on the other end of the connection. With that everything works and it (slowly) connects to the internet.

    Nice.

    /D

  4. #4

    Default Re: Using A1200 as GPRS modem from Mac

    can you post that GPRS modem script please. do you think it might work with cingular GPRS?

  5. #5
    Join Date
    Apr 2006
    Location
    US
    Posts
    102

    Default Re: Using A1200 as GPRS modem from Mac

    Quote Originally Posted by dirkhh
    Code:
    :192.168.0.254
    What this does is that it sets the default IP address for the server on the other end of the connection.
    Good work! That last part about setting the server IP was the bit I was missing. Always seems they have to throw is some twist on the Linux phones.

    Here is a link to a page for tweaking your Mac for better GPRS performance. Hope it helps you, I know it helped me.

    http://forums.macnn.com/57/periphera...ing-macintosh/

    And for those with a Mac and a blue AT&T SIM card, the magic startup script is: ATDT*99#

    I suspect that works for all carriers since in reality the Ming is handling all the GPRS setup work for you and is faking being the carrier during the startup script. But I've only tested on AT&T YMMV.

    I'll post a script for this this weekend. Thanks again dirkhh!

  6. #6

    Default Re: Using A1200 as GPRS modem from Mac

    Quote Originally Posted by JudoJorge
    can you post that GPRS modem script please. do you think it might work with cingular GPRS?
    While I have only tested this on T-Mobile I see no reason why it wouldn't work on other carriers. It's pretty generic.
    All you'll have to do is change the name of the host around line 55.

    BTW: I've added a more detailed description of what I did to get this to work in my Blog

    /D
    Attached Files Attached Files


 
+ Reply to Thread

Similar Threads

  1. Using W230 as GPRS modem
    By lahirdenganselamat in forum Windows
    Replies: 2
    Last Post: 07-03-2010, 08:04 AM
  2. A1200i como USB MODEM no Mac 10.3.9
    By Vandder in forum Brazilian Lounge
    Replies: 0
    Last Post: 11-20-2007, 02:52 AM
  3. Replies: 2
    Last Post: 06-10-2007, 03:43 AM
  4. mac + A1200/e680i sync/connect/bt modem
    By lazyivan in forum A1200 General Chat
    Replies: 2
    Last Post: 04-03-2006, 06:17 PM
  5. Mac+A780 Gprs = no go
    By lynzoid in forum A780 General Chat
    Replies: 3
    Last Post: 01-08-2006, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1