... SAY 'Setting APN\n' OK 'AT+CGDCONT=1, ”IP”, ”internet2.voicestream.com”' ... OK 'ATD*99#' CONNECT ' '
# 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"
# 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 ''
# File: /etc/chatscripts/tmobile-disconnect # # Send a control k to disconnect. "" '\k' # Now disconnect from modem. "" '+++ATH0' SAY 'GPRS disconnected.'