Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 13:05:32 +0100
From:      =?iso-8859-1?b?RnLpZOlyaWM=?= PRACA <frederic.praca@freebsd-fr.org>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: DUN server on Freebsd 6
Message-ID:  <1198843532.4774e68c9a6cb@imp.free.fr>
In-Reply-To: <bb4a86c70712271614q7751309fmc8b7c04c34750d3c@mail.gmail.com>
References:  <20071227225845.6c49ec38@localhost> <bb4a86c70712271614q7751309fmc8b7c04c34750d3c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Selon Maksim Yevmenkin <maksim.yevmenkin@gmail.com>:

> hello,
>
> > I want to do what described here (http://www.fenrus.org/tomtom/ ) with
> > my FreeBSD station. I managed to change my USB dongle bluetooth class
> > type into GSM class type but rfcomm-pppd declares itself to sdpd as LAN
> > Access Using PPP not as DUN. The problem is that Tomtom just look for a
> > GSM bluetooth device with DUN capability.
> >
> > Anybody has any idea on this problem ?
>
> the problem is that tomtom assumes that there is a modem on the other
> end of bluetooth link. clearly this feature was designed to work with
> cell phones. basically, cell phone acts as a bluetooth modem in this
> case. in the article you have referenced, the author simply uses chat
> script to trick tomtom into believing that it talks to the modem.
Ok, that's what I understood.

> rfcomm_pppd(8) only registers LAN service (and SP for weird nokia
> mrouter) but it does not know anything about DUN, because it was never
> supposed to do it. in any case, if you have coding skills, it should
Well, I should have as it's my job ;-)
> be trivial to teach rfcomm_pppd(8) to register DUN service as well.
I'll give it a try and maybe provide a patch.

> just provide another option to rfcomm_pppd(8) and use SP service as an
> example. to fake modem you will need to use ppp(8) chat script and
> 'enable force-scripts' option.
Thanks a lot for your quick answer.

I still have another option which is to patch the Tomtom itself :D
Seems to be less trivial as I have to go deep in the Tomtom linux code ;-)

> thanks,
You're welcome

> max
Fred





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1198843532.4774e68c9a6cb>