From owner-freebsd-bluetooth@FreeBSD.ORG Sun Sep 25 22:53:55 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 268E516A41F for ; Sun, 25 Sep 2005 22:53:55 +0000 (GMT) (envelope-from vances@feeble.motivity.ca) Received: from frogman.motivity.ca (frogman.motivity.ca [64.235.96.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF8643D49 for ; Sun, 25 Sep 2005 22:53:54 +0000 (GMT) (envelope-from vances@feeble.motivity.ca) Received: from feeble.motivity.ca ([198.96.119.76]) by frogman.motivity.ca (8.12.11/8.12.11) with ESMTP id j8PMrqmV076240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 25 Sep 2005 18:53:53 -0400 (EDT) (envelope-from vances@feeble.motivity.ca) Received: (from vances@localhost) by feeble.motivity.ca (8.13.3/8.13.3/Submit) id j8PMraU3007012; Sun, 25 Sep 2005 18:53:36 -0400 (EDT) (envelope-from vances) Date: Sun, 25 Sep 2005 18:53:36 -0400 From: Vance Shipley To: freebsd-bluetooth@freebsd.org Message-ID: <20050925225336.GA2110@feeble.motivity.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Motivity Telecom Inc. Subject: Is encryption supported? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Sep 2005 22:53:55 -0000 I am looking for a way to turn on encryption. Apparently the gnubox application, which I need to get my Nokia 6620 doing TCP/IP over bluetooth, insists on enabling encryption. I have tried: $ hccontrol -n ubt0hci write_encryption_mode 1 $ hccontrol -n ubt0hci read_encryption_mode Encryption mode: Only for point-to-point packets [0x1] However when I look at a connection I see it is not encrypted: $ hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State Nokia6620 7 ACL 0 MAST NONE 0 0 OPEN I see that Linux has a flag in /etc/bluetooth/hcid.conf to turn on encryption. It also has a -encrypt command line option to dund. Is this a limitation with FreeBSD? -Vance From owner-freebsd-bluetooth@FreeBSD.ORG Mon Sep 26 01:21:38 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8659E16A420 for ; Mon, 26 Sep 2005 01:21:38 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7EC043D4C for ; Mon, 26 Sep 2005 01:21:37 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [70.32.199.60]) by mta9.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050926012136.KSXW24716.mta9.adelphia.net@[192.168.1.254]>; Sun, 25 Sep 2005 21:21:36 -0400 Message-ID: <43374D24.7010701@savvis.net> Date: Sun, 25 Sep 2005 18:21:40 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vance Shipley References: <20050925225336.GA2110@feeble.motivity.ca> In-Reply-To: <20050925225336.GA2110@feeble.motivity.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: Is encryption supported? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 01:21:38 -0000 Vance Shipley wrote: > I am looking for a way to turn on encryption. Apparently the > gnubox application, which I need to get my Nokia 6620 doing > TCP/IP over bluetooth, insists on enabling encryption. > > I have tried: > > $ hccontrol -n ubt0hci write_encryption_mode 1 > $ hccontrol -n ubt0hci read_encryption_mode > Encryption mode: Only for point-to-point packets [0x1] if i'm not mistaken, the specification says that encryption will be enabled if connection authentication enabled as well, so you need # hccontrol -n ubt0hci write_authentication_enable 1 # hccontrol -n ubt0hci write_encryption_mode 1 you also need to make sure hcsecd(8) is running and you have paired your phone and pc. keep in mind that after you issue these commands freebsd will want to authenticate _all_ baseband connections. > However when I look at a connection I see it is not encrypted: > > $ hccontrol -n ubt0hci read_connection_list > Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State > Nokia6620 7 ACL 0 MAST NONE 0 0 OPEN > > I see that Linux has a flag in /etc/bluetooth/hcid.conf to turn > on encryption. It also has a -encrypt command line option to dund. > > Is this a limitation with FreeBSD? well, somewhat. freebsd does not yet support for authenticating and/or encrypting _individual_ connection on request. you can turn authentication and/or encryption on/off globally with hccontrol(8). link authentication and encryption is really silly (kinda like WEP). if you really want encryption you should not use bluetooth. i'm not even sure why your application insists on it. bluetooth connections usually have short life time, devices have to be in rf proximity (10 meters) and you cant sniff/spoof bluetooth traffic with of-the-shelf (cheap) devices (or at least i do not know the way to do it :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Sep 26 08:14:39 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71C9C16A41F for ; Mon, 26 Sep 2005 08:14:39 +0000 (GMT) (envelope-from vances@feeble.motivity.ca) Received: from frogman.motivity.ca (frogman.motivity.ca [64.235.96.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 120E543D4C for ; Mon, 26 Sep 2005 08:14:38 +0000 (GMT) (envelope-from vances@feeble.motivity.ca) Received: from feeble.motivity.ca ([198.96.119.76]) by frogman.motivity.ca (8.12.11/8.12.11) with ESMTP id j8Q8EaiS077405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Sep 2005 04:14:37 -0400 (EDT) (envelope-from vances@feeble.motivity.ca) Received: (from vances@localhost) by feeble.motivity.ca (8.13.3/8.13.3/Submit) id j8Q8ERCR001883; Mon, 26 Sep 2005 04:14:27 -0400 (EDT) (envelope-from vances) Date: Mon, 26 Sep 2005 04:14:27 -0400 From: Vance Shipley To: Maksim Yevmenkin Message-ID: <20050926081427.GA597@feeble.motivity.ca> References: <20050925225336.GA2110@feeble.motivity.ca> <43374D24.7010701@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43374D24.7010701@savvis.net> User-Agent: Mutt/1.4.2.1i Organization: Motivity Telecom Inc. Cc: freebsd-bluetooth@freebsd.org Subject: Re: Is encryption supported? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 08:14:39 -0000 On Sun, Sep 25, 2005 at 06:21:40PM -0700, Maksim Yevmenkin wrote: } } if i'm not mistaken, the specification says that encryption will be } enabled if connection authentication enabled as well, so you need } } # hccontrol -n ubt0hci write_authentication_enable 1 } # hccontrol -n ubt0hci write_encryption_mode 1 Max, Thanks, that did the trick. } link authentication and encryption is really silly (kinda like WEP). if } you really want encryption you should not use bluetooth. i'm not even } sure why your application insists on it. bluetooth connections usually The author of gnubox put a dialog up to choose whether or not to enable encryption however on the Nokia 6620 port of the code it didn't work and it only gave you an "Ok" choice. This was a known bug. Having pointed out on his online forum that this otherwise innocuous bug was causing me a problem with FreeBSD a new version was made available to me just now which now correctly provides a "Yes" and "No" choice and works as expected. So now I can have it either way. I like it when a plan comes together. :) -Vance From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 27 17:14:40 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3010716A41F for ; Tue, 27 Sep 2005 17:14:40 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from core.inec.ru (core.inec.ru [213.148.3.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B875043D4C for ; Tue, 27 Sep 2005 17:14:39 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [213.85.81.137] (helo=[192.168.0.3]) by core.inec.ru with esmtp (Exim 4.51 (FreeBSD)) id 1EKIyT-000LJl-S9 for freebsd-bluetooth@freebsd.org; Tue, 27 Sep 2005 21:10:37 +0400 Message-ID: <43397EA7.40803@FreeBSD.org> Date: Tue, 27 Sep 2005 21:17:27 +0400 From: Sergey Matveychuk User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050813) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: multipart/mixed; boundary="------------050303000001070502010302" Subject: how to connect a device? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 17:14:40 -0000 This is a multi-part message in MIME format. --------------050303000001070502010302 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit I've read both HendBook and man pages but I don' understand how to connect a bluetooth device? And why my mobile phone has found for 8 times? I've attached an output of hccontrol -n ubt0hci inquiry command. -- Sem. --------------050303000001070502010302 Content-Type: text/plain; name="inquiry.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="inquiry.out" Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x747 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x746 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x747 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x746 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x747 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x746 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x747 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0f:de:e6:4f:f1 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x7a7 Inquiry complete. Status: No error [00] --------------050303000001070502010302-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 27 17:20:01 2005 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE1D116A41F; Tue, 27 Sep 2005 17:20:00 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA9A43D53; Tue, 27 Sep 2005 17:20:00 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id j8RHJxE18232; Tue, 27 Sep 2005 13:19:59 -0400 Message-ID: <43397F3D.2000700@savvis.net> Date: Tue, 27 Sep 2005 10:19:57 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Matveychuk References: <43397EA7.40803@FreeBSD.org> In-Reply-To: <43397EA7.40803@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: how to connect a device? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 17:20:01 -0000 Sergey Matveychuk wrote: > I've read both HendBook and man pages but I don' understand how to > connect a bluetooth device? what exactly are you trying to do? and what do you mean by "connect a bluetooth device"? > And why my mobile phone has found for 8 times? > I've attached an output of hccontrol -n ubt0hci inquiry command. that's ok. you probably have bcm2033 chip (broadcom) based bluetooth device, correct? i have similar behavior with my belkin bluetooth dongle (bcm2033 based). max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 27 17:41:16 2005 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D97616A41F for ; Tue, 27 Sep 2005 17:41:16 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from core.inec.ru (core.inec.ru [213.148.3.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0894B43D53 for ; Tue, 27 Sep 2005 17:41:16 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [213.85.81.137] (helo=[192.168.0.3]) by core.inec.ru with esmtp (Exim 4.51 (FreeBSD)) id 1EKJO5-000LO7-8C; Tue, 27 Sep 2005 21:37:05 +0400 Message-ID: <433984DA.5050908@FreeBSD.org> Date: Tue, 27 Sep 2005 21:43:54 +0400 From: Sergey Matveychuk User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050813) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <43397EA7.40803@FreeBSD.org> <43397F3D.2000700@savvis.net> In-Reply-To: <43397F3D.2000700@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: how to connect a device? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 17:41:16 -0000 Maksim Yevmenkin wrote: > Sergey Matveychuk wrote: > >> I've read both HendBook and man pages but I don' understand how to >> connect a bluetooth device? > > > what exactly are you trying to do? and what do you mean by "connect a > bluetooth device"? Well, I'd like some file access. > >> And why my mobile phone has found for 8 times? >> I've attached an output of hccontrol -n ubt0hci inquiry command. > > > that's ok. you probably have bcm2033 chip (broadcom) based bluetooth > device, correct? i have similar behavior with my belkin bluetooth dongle > (bcm2033 based). ubt0: Broadcom BCM92035DGROM, rev 1.10/0.04, addr 2 -- Sem. From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 27 18:02:31 2005 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1476916A41F; Tue, 27 Sep 2005 18:02:31 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from core.inec.ru (core.inec.ru [213.148.3.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 705F543D4C; Tue, 27 Sep 2005 18:02:30 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [213.85.81.137] (helo=[192.168.0.3]) by core.inec.ru with esmtp (Exim 4.51 (FreeBSD)) id 1EKJim-000LSz-5g; Tue, 27 Sep 2005 21:58:28 +0400 Message-ID: <433989DE.9050407@FreeBSD.org> Date: Tue, 27 Sep 2005 22:05:18 +0400 From: Sergey Matveychuk User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050813) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Matveychuk References: <43397EA7.40803@FreeBSD.org> <43397F3D.2000700@savvis.net> <433984DA.5050908@FreeBSD.org> In-Reply-To: <433984DA.5050908@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: how to connect a device? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 18:02:31 -0000 Sergey Matveychuk wrote: >> what exactly are you trying to do? and what do you mean by "connect a >> bluetooth device"? > > > Well, I'd like some file access. And I want to make a ppp connection but 'rfcomm_ppd -a eric -c -C dun -l rfcomm-dialup' and 'sdpcontrol -a eric browse' commands hang (I can kill them with ^C) although my phone shows an active bluetooth connection. I've tried 'hccontrol -n ubt0hci write_node_role_switch 0' command but w/o any success. -- Sem. From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 27 18:43:29 2005 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org Delivered-To: freebsd-bluetooth@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9399516A41F; Tue, 27 Sep 2005 18:43:29 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F94C43D48; Tue, 27 Sep 2005 18:43:28 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id j8RIhSE20163; Tue, 27 Sep 2005 14:43:28 -0400 Message-ID: <433992CE.2030800@savvis.net> Date: Tue, 27 Sep 2005 11:43:26 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Matveychuk References: <43397EA7.40803@FreeBSD.org> <43397F3D.2000700@savvis.net> <433984DA.5050908@FreeBSD.org> <433989DE.9050407@FreeBSD.org> In-Reply-To: <433989DE.9050407@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: how to connect a device? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 18:43:29 -0000 Sergey Matveychuk wrote: > Sergey Matveychuk wrote: > >>> what exactly are you trying to do? and what do you mean by "connect a >>> bluetooth device"? >> >> Well, I'd like some file access. what do you mean by "file access"? do you mean sending/receiving files to/from your phone using obex? if so then you probably want install comms/obexapp from ports. > And I want to make a ppp connection but 'rfcomm_ppd -a eric -c -C dun -l > rfcomm-dialup' and 'sdpcontrol -a eric browse' commands hang (I can kill > them with ^C) although my phone shows an active bluetooth connection. - what phone are you using? - did you pair your phone and pc? (i.e. did you configure and run hcsecd(8) properly) - did you configure 'rfcomm-dialup' section in your /etc/ppp/ppp.conf (and what did you put there) - can you please install comms/hcidump from ports and run it as root # hcidump -w dump note: this will block. then in another window/session/shell try use 'sdpcontrol -a eric browse' adn then terminate hcidump with ^C and send me the dump file. > I've tried 'hccontrol -n ubt0hci write_node_role_switch 0' command but > w/o any success. why? do you understand what this command does? or you just trying everything that you can find? thanks, max