linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Nils Faerber <nils.faerber@kernelconcepts.de>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Disable pnat-server
Date: Sun, 3 Jul 2011 21:04:44 +0300	[thread overview]
Message-ID: <20110703180444.GA19576@dell.ger.corp.intel.com> (raw)
In-Reply-To: <4E108D72.3010006@kernelconcepts.de>

Hi Nils,

On Sun, Jul 03, 2011, Nils Faerber wrote:
> I have developed a small app which registers its own RFCOMM based
> service and service ID using libbluetooth and the SDP services. This
> worked great until some recent Ubuntu update which upgraded the
> Bluetooth services (I guess).
> Now I get an error in syslog whenever my device tries to connect:
> 
> Jul  3 17:23:13 tlb bluetoothd[27590]: Unable to spawn pnatd: Failed to
> execute child process "/usr/bin/phonet-at" (No such file or directory)
> 
> It took me quite some time to figure out that this is part of the (new?)
> bluetoothd plugin system which is pitily not documented anywhere -
> especially not which plugins there are, what they do and how they can be
> en- or disabled.

There should be absolutely no reason for Ubuntu have this plugin enabled
or even compiled. You might wanna file a bug to them to disable it. The
only place where it makes sense to be compiled is in Nokia's Maemo
Harmattan platform. For everything else it should be disabled (as it is
by default).

Btw, if you have your own RFCOMM based service you should take a look at
doc/assigned-numbers.txt to be sure not to conflict with any of those
services. The range of possible RFCOMM channels (1-31) is so small that
it's easy to get conflicts.

> After some more searching and reading sources I found that plugins can
> theoretically be disabled in bluetoothd's config file main.conf. So I added
> 
> DisablePlugins = pnat-server

The plugin is called pnat, so that line should read DisablePlugins=pnat

Johan

  reply	other threads:[~2011-07-03 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03 15:40 Disable pnat-server Nils Faerber
2011-07-03 18:04 ` Johan Hedberg [this message]
2011-07-03 18:48   ` Nils Faerber
2011-07-03 19:06     ` Johan Hedberg
2011-07-03 19:56       ` Nils Faerber
2011-07-03 20:13         ` Johan Hedberg
2011-07-03 20:28           ` Nils Faerber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110703180444.GA19576@dell.ger.corp.intel.com \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=nils.faerber@kernelconcepts.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).