DUN server on Freebsd 6
Frédéric PRACA
frederic.praca at freebsd-fr.org
Fri Dec 28 04:05:35 PST 2007
Selon Maksim Yevmenkin <maksim.yevmenkin at 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
More information about the freebsd-bluetooth
mailing list