From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "y.dmitry@gmail.com" <y.dmitry@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: NAP/GN with bluez-4
Date: Wed, 12 Aug 2009 09:59:44 -0300 [thread overview]
Message-ID: <2d5a2c100908120559h1a3ed5acn26b8a07ab41cd95@mail.gmail.com> (raw)
In-Reply-To: <4A82B32E.3020903@gmail.com>
Hi,
On Wed, Aug 12, 2009 at 9:18 AM, y.dmitry@gmail.com<y.dmitry@gmail.com> wrote:
> Hi!
>
> Can't setup NAP-server with bluez-4 (versions 4.39, 4.47). Remote device
> can't discover any services. But when i trying to run 'simple-service'
> script from sources, i can see a "Serial Port" service on remote device.
> Service disappears when script canceled. As I understand at this point,
> all ok with connectivity and access rights.
>
> I mean linux box must became an Access Point for phone, netbook, etc.
The service registration is done by network plugin, you can edit
network.conf to configure which script/interface name to be used. Also
check if they are enabled by calling
org.bluez.NetworkRouter.GetProperties(), if not enabled enable it by
calling org.bluez.NetworkRouter.SetProperty("Enabled", True). Another
detail is that you should configure NAP bridge to be used since if you
follow the spec it needs to enable dhcp server and configure the
routes while GN is just a simple bridge.
Enabled is good for those applications that want to enable/disable
data tethering over bluetooth, so it can really be changed without
restarting bluetoothd.
--
Luiz Augusto von Dentz
Engenheiro de Computação
next prev parent reply other threads:[~2009-08-12 12:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-12 12:18 NAP/GN with bluez-4 y.dmitry
2009-08-12 12:59 ` Luiz Augusto von Dentz [this message]
2009-08-12 14:10 ` Dmitry A. Yanko
2009-08-13 17:10 ` Luiz Augusto von Dentz
2009-08-14 10:52 ` Dmitry A. Yanko
2009-08-14 12:51 ` Luiz Augusto von Dentz
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=2d5a2c100908120559h1a3ed5acn26b8a07ab41cd95@mail.gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=y.dmitry@gmail.com \
/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