Open Source Telephony
 help / color / mirror / Atom feed
From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: Re: oFono DUN server issue
Date: Mon, 18 Jun 2012 12:04:37 +0200	[thread overview]
Message-ID: <4FDEFD35.1080006@linux.intel.com> (raw)
In-Reply-To: <4FDA6F36.6060602@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]

Hi Gustavo and Denis.

On 15/06/2012 01:09, Denis Kenzior wrote:
> Hi Gustavo,
>
>>> ofonod[20340]: plugins/udevng.c:remove_device()
>>> /sys/devices/virtual/tty/rfcomm0
>>> ofonod[20340]: plugins/udev.c:remove_modem() 
>>> /devices/virtual/tty/rfcomm0
>
> Actually this looks highly suspicious to me.  What would still be 
> using RFCOMM tty emulation?
>
>> Does this work when you try to connect from a different DUN Client, like
>> dundee, or even trying to open the RFCOMM channel by hand using the 
>> rfcomm
>> tool?
>
> An sdptool dump before starting oFono would be useful as well.
>

Thanks for your help both of you.
I have investigated deeper into this issue with Frédéric Danis, and we 
have found that Bluez is publishing a Dial Up Networking Service, 
although oFono is not launched.

Service Name: Dial-up Networking
Service RecHandle: 0x10006
Service Class ID List:
   "Dialup Networking" (0x1103)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 1


When I launch also oFono I have 2 DUN services.

When I try to connect with DUN client it seems we are passing through 
BlueZ DUN service and not the oFono one.
This is explaining the traces with rfcomm0 I have sent.

So DUN service is published by BlueZ using pnat plugin.
The workaround I have found to test oFono DUN server is to disable the 
plugin into BlueZ and then oFono DUN server is working fine.
Now I still don't understand how I could have tested it properly one 
year ago without this workaround.

Kind regards,
Guillaume




      reply	other threads:[~2012-06-18 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-14 14:21 oFono DUN server issue Guillaume Zajac
2012-06-14 12:43 ` Denis Kenzior
2012-06-15  2:27   ` Gustavo Padovan
2012-06-14 22:29     ` Denis Kenzior
2012-06-15  2:58       ` Gustavo Padovan
2012-06-14 22:46         ` Denis Kenzior
2012-06-15  3:11 ` Gustavo Padovan
2012-06-14 23:09   ` Denis Kenzior
2012-06-18 10:04     ` Guillaume Zajac [this message]

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=4FDEFD35.1080006@linux.intel.com \
    --to=guillaume.zajac@linux.intel.com \
    --cc=ofono@ofono.org \
    /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