From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 05:26:47 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5E1C16A4CF; Mon, 2 Aug 2004 05:26:47 +0000 (GMT) Received: from kimi.asti.dost.gov.ph (kimi.asti.dost.gov.ph [202.90.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CFF43D5C; Mon, 2 Aug 2004 05:26:46 +0000 (GMT) (envelope-from edwinv@asti.dost.gov.ph) Received: from banao.pregi.net (unknown [10.10.8.3]) by kimi.asti.dost.gov.ph (Postfix) with ESMTP id 76B7223820D; Mon, 2 Aug 2004 13:26:01 +0800 (PHT) From: "Edwin D. Vinas" Organization: DOST-ASTI To: freebsd-questions@freebsd.org Date: Mon, 2 Aug 2004 13:21:31 +0800 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408021321.31329.edwinv@asti.dost.gov.ph> cc: freebsd-bluetooth@freebsd.org Subject: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 05:26:47 -0000 Hi, I recently shifted to FreeBSD-5.2 from Windows XP because I know there is a bluetooh support in these new 5.x versions. I was so glad that FreeBSD have improved a lot! However, I have a problem with installing or making the bluetooth file transfer work. Here are the details below: I followed the documentation by Pav on http://www.oook.cz/bsd/bluetooth.html. I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI bluetooth dongle. I was able to discover other devices, and execute other built-in commands such as hccontrol, l2ping, l2control, sdptool etc. But, I noticed that the the basic file transfer called OBEX was not yet incorporated in the FreeBSD-5.2 and that I have to install an openobex or something. I have succesfully installed openobex from sourceforge, but it doesn't have the "obexapp" command. The i tried installing the "obexapp" from sourceforge too. The problem is that I cant install it. tar -zxvf obexapp-1.2.tar.gz (extracts two directories openobex-1.0.1/ and obexapp/) cd openobex-1.0.1 ./configure /usr/local/bin/make /usr/local/bin/make install cd obexapp (no ./configure and NO README!!!) so i tried, "make" or "/usr/local/bin/make" when i tried "make": banao# make Warning: Object directory not changed from original /usr/home/misoy/EDV/ Bluetooth/src/obexapp cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c main.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c client.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c event.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c sdp.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c server.c server.c: In function `obexapp_server': server.c:118: error: too many arguments to function `sdp_open_local' *** Error code 1 Stop in /usr/home/misoy/EDV/Bluetooth/src/obexapp. using /usr/local/bin/make: banao# /usr/local/bin/make Makefile:23: *** missing separator. Stop. -Edwin From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 07:40:41 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 890A016A4CE; Mon, 2 Aug 2004 07:40:41 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB7B43D41; Mon, 2 Aug 2004 07:40:39 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i727eD1u039772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Aug 2004 08:40:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i727eD8i039771; Mon, 2 Aug 2004 08:40:13 +0100 (BST) (envelope-from matthew) Date: Mon, 2 Aug 2004 08:40:13 +0100 From: Matthew Seaman To: "Edwin D. Vinas" Message-ID: <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Edwin D. Vinas" , freebsd-questions@freebsd.org, freebsd-bluetooth@freebsd.org References: <200408021321.31329.edwinv@asti.dost.gov.ph> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cHMo6Wbp1wrKhbfi" Content-Disposition: inline In-Reply-To: <200408021321.31329.edwinv@asti.dost.gov.ph> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 02 Aug 2004 08:40:13 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 07:40:41 -0000 --cHMo6Wbp1wrKhbfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote: > I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI=20 > bluetooth dongle. I was able to discover other devices, and execute other= =20 > built-in commands such as hccontrol, l2ping, l2control, sdptool etc. But= , I=20 > noticed that the the basic file transfer called OBEX was not yet incorpor= ated=20 > in the FreeBSD-5.2 and that I have to install an openobex or something. I= =20 > have succesfully installed openobex from sourceforge, but it doesn't have= the=20 > "obexapp" command. The i tried installing the "obexapp" from sourceforge = too.=20 > The problem is that I cant install it. >=20 > tar -zxvf obexapp-1.2.tar.gz > (extracts two directories openobex-1.0.1/ and obexapp/) [...] Instead of trying to fix the compilation yourself, you can leverage the work of those who have gone before you by installing the comms/openobex port. In fact, with this software I think that some quite significant patching of code is required: % cd /usr/ports/comms/openobex % ls files/ patch-Makefile.in patch-src-obex.c patch-aclocal.m4 patch-src-obex.h patch-configure.in patch-src-obex_const.h patch-ltmain.sh patch-src-obex_main.c patch-src-btobex.c patch-src-obex_transport.h patch-src-netbuf.h Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --cHMo6Wbp1wrKhbfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBDe/ciD657aJF7eIRAuY5AJ9AK9H4RsKJUsd77ceTKhmYPE+YlwCgsvOM Hh/CyNg6KBSeV5S+KI49VpY= =LySh -----END PGP SIGNATURE----- --cHMo6Wbp1wrKhbfi-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 10:09:26 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D877916A4CE; Mon, 2 Aug 2004 10:09:26 +0000 (GMT) Received: from kimi.asti.dost.gov.ph (kimi.asti.dost.gov.ph [202.90.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E760643D1F; Mon, 2 Aug 2004 10:09:25 +0000 (GMT) (envelope-from edwinv@asti.dost.gov.ph) Received: from banao.pregi.net (unknown [10.10.8.3]) by kimi.asti.dost.gov.ph (Postfix) with ESMTP id 605502381A2; Mon, 2 Aug 2004 18:08:43 +0800 (PHT) From: "Edwin D. Vinas" Organization: DOST-ASTI To: Matthew Seaman Date: Mon, 2 Aug 2004 18:04:14 +0800 User-Agent: KMail/1.5.4 References: <200408021321.31329.edwinv@asti.dost.gov.ph> <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408021804.14436.edwinv@asti.dost.gov.ph> cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 10:09:27 -0000 On Monday 02 August 2004 03:40 pm, you wrote: > On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote: > > I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI > > bluetooth dongle. I was able to discover other devices, and execute other > > built-in commands such as hccontrol, l2ping, l2control, sdptool etc. > > But, I noticed that the the basic file transfer called OBEX was not yet > > incorporated in the FreeBSD-5.2 and that I have to install an openobex or > > something. I have succesfully installed openobex from sourceforge, but it > > doesn't have the "obexapp" command. The i tried installing the "obexapp" > > from sourceforge too. The problem is that I cant install it. > > > > tar -zxvf obexapp-1.2.tar.gz > > (extracts two directories openobex-1.0.1/ and obexapp/) > > [...] > > Instead of trying to fix the compilation yourself, you can leverage > the work of those who have gone before you by installing the > comms/openobex port. In fact, with this software I think that some > quite significant patching of code is required: > > % cd /usr/ports/comms/openobex > % ls files/ > patch-Makefile.in patch-src-obex.c > patch-aclocal.m4 patch-src-obex.h > patch-configure.in patch-src-obex_const.h > patch-ltmain.sh patch-src-obex_main.c > patch-src-btobex.c patch-src-obex_transport.h > patch-src-netbuf.h > Thanks Matthew for the reply. But, its sad to say that I can't find any "openobex" ports in my machine. banao# ls /usr/ports/comms/openobex ls: /usr/ports/comms/openobex: No such file or directory I thought of actually using this openobex port but do you know how to find the ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. Im actually searching the web for it but some sites dont have a link to the files to be downloaded. In case you know where to find the installer that would really work for FreeBSD-5.2, please send the link to me. Thanks again! -edwin > Cheers, > > Matthew From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 12:09:38 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D8316A4CE; Mon, 2 Aug 2004 12:09:38 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6947A43D1F; Mon, 2 Aug 2004 12:09:37 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i72C9Eir011910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Aug 2004 13:09:14 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i72C9E5d011909; Mon, 2 Aug 2004 13:09:14 +0100 (BST) (envelope-from matthew) Date: Mon, 2 Aug 2004 13:09:14 +0100 From: Matthew Seaman To: "Edwin D. Vinas" Message-ID: <20040802120914.GB11420@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Edwin D. Vinas" , freebsd-bluetooth@freebsd.org, freebsd-questions@freebsd.org References: <200408021321.31329.edwinv@asti.dost.gov.ph> <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> <200408021804.14436.edwinv@asti.dost.gov.ph> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <200408021804.14436.edwinv@asti.dost.gov.ph> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 02 Aug 2004 13:09:14 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 12:09:38 -0000 --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 02, 2004 at 06:04:14PM +0800, Edwin D. Vinas wrote: =20 > Thanks Matthew for the reply. But, its sad to say that I can't find any= =20 > "openobex" ports in my machine. >=20 > banao# ls /usr/ports/comms/openobex > ls: /usr/ports/comms/openobex: No such file or directory >=20 > I thought of actually using this openobex port but do you know how to fin= d the=20 > ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. I= m=20 > actually searching the web for it but some sites dont have a link to the= =20 > files to be downloaded. In case you know where to find the installer that= =20 > would really work for FreeBSD-5.2, please send the link to me. > You have an out of date ports tree: openobex has been in ports for some 4 months now: http://www.freebsd.org/ports/comms.html#openobex-1.0.1 You're also running a deprecated version of FreeBSD -- there were some serious bugs in version 5.2 which necessitated the release of 5.2.1 shortly afterwards. I advise you to install cvsup -- # pkg_add -r cvsup-without-gui and then use that to get an up to date copy of the ports tree. While you're at it, also install portupgrade(1) as that will make maintaining your installed ports into a doddle. Instructions from the Handbook are here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.h= tml http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html and a series of articles which give some very useful hints and tips are here: http://www.oreillynet.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html http://www.oreillynet.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html http://www.oreillynet.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBDi7qiD657aJF7eIRAiavAJ985aMovpcDJqYB1kPeM91dKko9AgCff+0E WOEwdApm47fODyA82Fkn224= =hv/C -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--