btpand example

Daniel O'Connor doconnor at gsoft.com.au
Thu May 14 05:35:11 UTC 2009


Hi,
I just got btpand working with my phone (Samsung Omnia i900 - WinMo 6.1 
based) and here's what I did..

On PDA: Programs -> Internet Sharing -> Connect
sudo hccontrol -n ubt0hci write_authentication_enable 1
sudo ifconfig tap0 create mtu 600
sudo btpand -d me -s NAP -i tap0 -a pda
[enter pin on PDA as per hcsecd.conf]
sudo dhclient tap0

Note that unlike the NetBSD example '-d ubt0' or '-d ubt0hci' doesn't 
work as it reports unknown host. I have 'me' in /etc/bluetooth/hosts, 
but that is non-standard (and '-d local' doesn't work).

Also, I found the MTU by trial and error, 600 works for me, 650 does 
not. I am guessing this is a bluetooth thing but I'm not sure.. If it 
is would it be possible for btpand to set the MTU?

Please CC me as I'm not on the list, thanks.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-bluetooth/attachments/20090514/9ad7a2ff/attachment.pgp


More information about the freebsd-bluetooth mailing list