From owner-freebsd-bluetooth@FreeBSD.ORG Thu May 14 05:35:11 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D52D106564A for ; Thu, 14 May 2009 05:35:11 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 774A28FC16 for ; Thu, 14 May 2009 05:35:09 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n4E58Jf3095397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 14 May 2009 14:38:19 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-bluetooth@freebsd.org Date: Thu, 14 May 2009 14:38:16 +0930 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Message-Id: <200905141438.17380.doconnor@gsoft.com.au> X-UID: 8459 Content-Type: multipart/signed; boundary="nextPart1267344.vNfn3FOOV7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.498 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Subject: btpand example X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 05:35:11 -0000 --nextPart1267344.vNfn3FOOV7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I just got btpand working with my phone (Samsung Omnia i900 - WinMo 6.1=20 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=20 work as it reports unknown host. I have 'me' in /etc/bluetooth/hosts,=20 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=20 not. I am guessing this is a bluetooth thing but I'm not sure.. If it=20 is would it be possible for btpand to set the MTU? Please CC me as I'm not on the list, thanks. =2D-=20 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 --nextPart1267344.vNfn3FOOV7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBKC6dB5ZPcIHs/zowRAlZyAJ9T8QRwHTVwqe6pXN5n821Sd8QaAwCdE3X5 yrefqMLJdoQFWffuZywomfU= =3eS1 -----END PGP SIGNATURE----- --nextPart1267344.vNfn3FOOV7--