{"id":22,"date":"2007-01-23T23:30:50","date_gmt":"2007-01-24T04:30:50","guid":{"rendered":"http:\/\/www.summet.com\/blog\/2007\/01\/23\/how-to-locate-the-bluetooth-dun-dial-up-networking-profile-of-a-phone\/"},"modified":"2007-02-01T14:32:03","modified_gmt":"2007-02-01T19:32:03","slug":"how-to-locate-the-bluetooth-dun-dial-up-networking-profile-of-a-phone","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2007\/01\/23\/how-to-locate-the-bluetooth-dun-dial-up-networking-profile-of-a-phone\/","title":{"rendered":"How to locate the Bluetooth DUN (Dial Up Networking) profile of a phone"},"content":{"rendered":"<p>When running linux, you sometimes want to connect to a cell phone (using it as a modem) over bluetooth.<\/p>\n<p>Different cell phones use different RFCOMM channels to export their Dial-up Networking service on.<\/p>\n<p>Here are the commands to use to find which channel you should use:<!--more--><\/p>\n<p><strong>hcitool scan<\/strong> &#8211; This command gives you a list of all the bluetooth devices in the area, and their associated BDADDR&#39;s. Look for your phone, and note the BDADDR.<\/p>\n<p><strong>sdptool search &#8211;bdaddr &lt;YOUR_BDADDR&gt;  DUN <\/strong>&#8211; This command will return the correct channel to use, with a result something like this:<\/p>\n<pre><font><code>Service Name: QC Dial-up Networking <\/code><\/font><\/pre>\n<pre><font><code>Service RecHandle: 0x10007 <\/code><\/font><\/pre>\n<pre><font><code>Service Class ID List:   &quot;Dialup Networking&quot; (0x1103) <\/code><\/font><\/pre>\n<pre><font><code>Protocol Descriptor List:   &quot;L2CAP&quot; (0x0100)   &quot;RFCOMM&quot; (0x0003)     <\/code><\/font><\/pre>\n<pre><font><code>Channel: 8 <\/code><\/font><\/pre>\n<p>&nbsp;Then you can set up an rfcomm.conf file as follows (Note the use of Channel eight):<\/p>\n<pre><font><code> rfcomm0 {         <\/code><\/font><\/pre>\n<pre><font><code># Automatically bind the device at startup         <\/code><\/font><\/pre>\n<pre><font><code>bind yes;          <\/code><\/font><\/pre>\n<pre><font><code>#LG CU500         <\/code><\/font><\/pre>\n<pre><font><code>device  00:19:A1:51:1D:FC;         <\/code><\/font><\/pre>\n<pre><font><code>channel 8;           <\/code><\/font><\/pre>\n<pre><font><code># Description of the connection         <\/code><\/font><\/pre>\n<pre><font><code>comment &quot;Jay&#39;s Phone&quot;; <\/code><\/font><\/pre>\n<p><code>} <\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When running linux, you sometimes want to connect to a cell phone (using it as a modem) over bluetooth. Different cell phones use different RFCOMM channels to export their Dial-up Networking service on. Here are the commands to use to &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2007\/01\/23\/how-to-locate-the-bluetooth-dun-dial-up-networking-profile-of-a-phone\/\">Continue reading <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":{"footnotes":""},"categories":[4,3,7],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-bluetooth","category-linux","category-phones"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}