{"id":102,"date":"2007-11-16T02:25:03","date_gmt":"2007-11-16T06:25:03","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/2007\/11\/16\/ubuntu-linux-t-mobile-nokia-n73-as-a-bluetooth-modem\/"},"modified":"2007-11-16T02:25:03","modified_gmt":"2007-11-16T06:25:03","slug":"ubuntu-linux-t-mobile-nokia-n73-as-a-bluetooth-modem","status":"publish","type":"post","link":"http:\/\/timony.com\/mickzblog\/2007\/11\/16\/ubuntu-linux-t-mobile-nokia-n73-as-a-bluetooth-modem\/","title":{"rendered":"Ubuntu Linux, T-Mobile, &#038; Nokia N73 as a Bluetooth Modem."},"content":{"rendered":"<p>If bluetooth works on your computer, then getting your system to talk to your N73 isn&#8217;t hard and I&#8217;m not going to cover it here. See this posting for what packages I needed to install to get bluetooth working in my Dell 700M laptop running Ubuntu Linux:<\/p>\n<p><a title=\"Ubuntu &amp; Bluetooth\" href=\"http:\/\/timony.com\/mickzblog\/2007\/10\/09\/ubuntu-bluetooth-sd-card\/\">http:\/\/timony.com\/mickzblog\/2007\/10\/09\/ubuntu-bluetooth-sd-card\/<\/a><\/p>\n<p>If you have T-Mobile T-Zones Internet service for your phone in the US you should be able to use the following procedure to surf the web on your computer using your N73.<\/p>\n<p>First find your Phone&#8217;s bluetooth device address (or ID), by typing<\/p>\n<pre>*#2820#<\/pre>\n<p>into your phone.<\/p>\n<p>You should see a sequence of numbers and letters that look something like this on the screen:<\/p>\n<pre>000ABC22BC33<\/pre>\n<p>Write it down in this format, (with a colon after every 2nd character):<\/p>\n<pre>00:0A:BC:22:BC:33<\/pre>\n<p>Next make a backup copy of this file<\/p>\n<pre>\/etc\/bluetooth\/rfcomm.conf<\/pre>\n<p>For example:<\/p>\n<pre>sudo cp  \/etc\/bluetooth\/rfcomm.conf \/etc\/bluetooth\/rfcomm.conf.org<\/pre>\n<p>I&#8217;m going to presume you&#8217;ve <em>never<\/em> edited this file before, and you can change it to look like this (using the bluetooth device number you discovered):<\/p>\n<pre>#\n# RFCOMM configuration file.\n#<\/pre>\n<pre>rfcomm0 {\n #      # Automatically bind the device at startup\n \tbind yes;\n #\n #      # Bluetooth address of the device\n \tdevice 00:0A:BC:22:BC:33;\n #\n #      # RFCOMM channel for the connection\n\tchannel 2;\n #\n #      # Description of the connection\n\tcomment \"Nokia N73\";\n }<\/pre>\n<p>If you have edited this file before and are already using rfcomm0, then create a new entry named rcomm1 and replace rcomm1 with any other references I make to rcomm0. Also, make sure you get all the semi-colons after each entry in the file.<\/p>\n<p>Next copy the  gprs-connect-chat and the gprs-disconnect-chat files from:<\/p>\n<p><a href=\"http:\/\/davesource.com\/Solutions\/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#networking\">http:\/\/davesource.com\/Solutions\/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#networking<\/a><\/p>\n<p>In the gprs-connect-chat replace line 47:<\/p>\n<pre>OK              'AT+CGDCONT=1,\"IP\",\"internet2.voicestream.com\",\"\",0,0'<\/pre>\n<p>With this:<\/p>\n<pre>OK              'AT+CGDCONT=1,\"IP\",\"wap.voicestream.com\",\"\",0,0'<\/pre>\n<p>Move the 2 files to \/etc\/ppp\/peers:<\/p>\n<pre>sudo mv  gprs-connect-chat \/etc\/ppp\/peers<\/pre>\n<pre>sudo mv  gprs-disconnect-chat  \/etc\/ppp\/peers<\/pre>\n<p>Next create a new file in \/etc\/peers named gprs and copy&#8217;n&#8217;paste the following (the gprs script that davesource.com uses didn&#8217;t work for me):<\/p>\n<pre># GPRS for T-Mobile USA\n\/dev\/rfcomm0 # device bound to T610 phone\n230400 # speed\ndefaultroute # use the network for the default route\nusepeerdns # use the DNS servers from the remote network\nnodetach # keep pppd in the foreground\ncrtscts # hardware flow control\nlock # lock the serial port\nnoauth # don\u2019t expect modem to authenticate itself\nlocal # don\u2019t use Carrier Detect or Data Terminal Ready\ndebug<\/pre>\n<pre>connect \/etc\/ppp\/peers\/gprs-connect-chat\ndisconnect \/etc\/ppp\/peers\/gprs-disconnect-chat<\/pre>\n<p>Now your ready to test the connection. First stop networking:<\/p>\n<pre>sudo \/etc\/init.d\/networking stop<\/pre>\n<p>Next, turn on bluetooth on your phone and connect to it. Once your connect issue the following commands:<\/p>\n<pre>rfcomm bind all\n pppd call gprs<\/pre>\n<p>When your done, control-c will stop the ppp connection, then run this command:<\/p>\n<pre> rfcomm release all<\/pre>\n<p>If you&#8217;ve more than one entry defined in your  rfcomm.conf file, try using:<\/p>\n<pre>frcomm bind rfcomm0<\/pre>\n<p>And replace rfcomm0 with rfcomm1 or rfcomm2 &#8230;<\/p>\n<p>To web-surf you will need to set your browser to use the following proxy:<\/p>\n<blockquote><p>216.155.165.50:8080<\/p><\/blockquote>\n<p>But, ssh &amp; VPN won&#8217;t work, just web-browsing at dial-up speed! However, it might be possible to tunnel ssh and other services.<\/p>\n<p>The following links were a lot of help in aiding me in getting this to work:<\/p>\n<p><a href=\"http:\/\/www.yepthatsme.com\/2004\/11\/09\/ppp-chat-scripts-for-t-mobile-sony-ericsson-t610-gprs-via-bluetooth-with-debian\/\">http:\/\/www.yepthatsme.com\/2004\/11\/09\/ppp-chat-scripts-for-t-mobile-sony-ericsson-t610-gprs-via-bluetooth-with-debian\/<\/a><\/p>\n<p><a href=\"http:\/\/digitalife.wordpress.com\/2007\/07\/31\/using-your-mobile-phone-as-a-gprs-modem-with-ubuntu-linux-via-dku-2-usb-cable\/\">http:\/\/digitalife.wordpress.com\/2007\/07\/31\/using-your-mobile-phone-as-a-gprs-modem-with-ubuntu-linux-via-dku-2-usb-cable\/<\/a><\/p>\n<p>I used the scripts from here to get the laptop to connect (with minor changes):<\/p>\n<p><a href=\"http:\/\/davesource.com\/Solutions\/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#bluetooth\">http:\/\/davesource.com\/Solutions\/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#bluetooth<\/a><\/p>\n<p>I need to clean-up\/rewrite this posting, and put in proper references to sites that helped me get this working.<\/p>\n<p>Copies of the configuration files are here:<\/p>\n<p><a title=\"rfcomm.conf\" href=\"http:\/\/timony.com\/mickzblog\/wp-content\/uploads\/2007\/11\/rfcomm.conf\">rfcomm.conf<\/a><\/p>\n<p><a title=\"gprs\" href=\"http:\/\/timony.com\/mickzblog\/wp-content\/uploads\/2007\/11\/gprs\">gprs<\/a>, <a title=\"gprs-connect-chat\" href=\"http:\/\/timony.com\/mickzblog\/wp-content\/uploads\/2007\/11\/gprs-connect-chat\">gprs-connect-chat<\/a>, <a title=\"gprs-disconnect-chat\" href=\"http:\/\/timony.com\/mickzblog\/wp-content\/uploads\/2007\/11\/gprs-disconnect-chat\">gprs-disconnect-chat<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If bluetooth works on your computer, then getting your system to talk to your N73 isn&#8217;t hard and I&#8217;m not going to cover it here. See this posting for what packages I needed to install to get bluetooth working in my Dell 700M laptop running Ubuntu Linux: http:\/\/timony.com\/mickzblog\/2007\/10\/09\/ubuntu-bluetooth-sd-card\/ If you have T-Mobile T-Zones Internet service &hellip; <a href=\"http:\/\/timony.com\/mickzblog\/2007\/11\/16\/ubuntu-linux-t-mobile-nokia-n73-as-a-bluetooth-modem\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ubuntu Linux, T-Mobile, &#038; Nokia N73 as a Bluetooth Modem.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[58,61,22,28,39,41],"tags":[76,126,127,190,191,192,342,390,427,442,443,499,575,576,602,603],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-hardware-tech","category-laptop-tech","category-linux","category-phone","category-tech","category-ubuntu-linux-2","tag-700m","tag-bluetooth","tag-bluetooth-modem","tag-debian","tag-dell","tag-dell-700m","tag-internet","tag-linux","tag-n73","tag-nokia","tag-nokia-n73","tag-pppd","tag-t-mobile","tag-t-zones","tag-ubuntu","tag-ubuntu-linux"],"_links":{"self":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":0,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}