From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 25 08:31:18 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 B14DA16A4CE for ; Sun, 25 Jan 2004 08:31:18 -0800 (PST) Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD3743D3F for ; Sun, 25 Jan 2004 08:31:17 -0800 (PST) (envelope-from miketemp@xs4all.nl) Received: from mojojojo.lan (a80-126-82-35.adsl.xs4all.nl [80.126.82.35]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0PGVFcr083756 for ; Sun, 25 Jan 2004 17:31:15 +0100 (CET) To: "freebsd-bluetooth@freebsd.org" From: Mike Crosland Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 25 Jan 2004 17:29:20 +0100 Message-ID: User-Agent: Opera7.23/Linux M2 build 518 Subject: Bluetooth peripherals 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: Sun, 25 Jan 2004 16:31:18 -0000 Hi, I was thinking of buying a bluetooth keyboard and/or mouse, and was wondering whether anyone had had any success (or otherwise!) using such devices. Mike From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 25 11:09:20 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 964CA16A4CE for ; Sun, 25 Jan 2004 11:09:20 -0800 (PST) Received: from web40306.mail.yahoo.com (web40306.mail.yahoo.com [66.218.78.85]) by mx1.FreeBSD.org (Postfix) with SMTP id 73F5843D31 for ; Sun, 25 Jan 2004 11:09:19 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040125190919.12196.qmail@web40306.mail.yahoo.com> Received: from [24.52.242.150] by web40306.mail.yahoo.com via HTTP; Sun, 25 Jan 2004 11:09:19 PST Date: Sun, 25 Jan 2004 11:09:19 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, miketemp@xs4all.nl In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC50E@USSC8MS04.Global.Cwintra.Com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Bluetooth peripherals 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: Sun, 25 Jan 2004 19:09:20 -0000 Hello Mike, > I was thinking of buying a bluetooth keyboard and/or mouse, and was > wondering whether anyone had had any success (or otherwise!) using such > devices. i have Microsoft Optical Desktop for Bluetooth (keyboard + mouse) on loan right now and working on adding HID support. stay tuned. thanks, max __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From owner-freebsd-bluetooth@FreeBSD.ORG Fri Feb 6 09:53:46 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 6895516A4CE for ; Fri, 6 Feb 2004 09:53:46 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 434E843D60 for ; Fri, 6 Feb 2004 09:53:19 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040206175251.47614.qmail@web40302.mail.yahoo.com> Received: from [66.35.239.94] by web40302.mail.yahoo.com via HTTP; Fri, 06 Feb 2004 09:52:51 PST Date: Fri, 6 Feb 2004 09:52:51 -0800 (PST) From: Maksim Yevmenkin To: Zhang Weiwu , freebsd-net@freebsd.org, freebsd-bluetooth@freebsd.org In-Reply-To: <4023CED7.8070603@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: need suggestions on making a wireless network using bluetooth 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: Fri, 06 Feb 2004 17:53:46 -0000 Hello, > Hello. I'll make a small wireless network in my office in the coming month. > Now I'm considering bluetooth instead of 802.11. In the office I have a > freebsd server, my own notebook runs freebsd. Other computers run MAC OS > and Windows. ok > * the office is not very big, just as big as the bluetooth signal can > reach. There are confidential information in the office, I don't want > anyone to get my data by just stopping a car in front of the office and > listen network traffice with a notebook. well, you can do many things to secure your 802.11 network :) also i'm not aware of any bluetooth snooping capabilities on of the shelf devices, but i've heard about bluetooth scanners. they used in bluetooth testing and qualification facilities and expensive, but they do exist :) > * I don't see any network traffic problem. Usually we just transfer emails, > text documents and pictures. ok. are you aware that a single bluetooth device can only support up to 8 clients at the same time? is that going to be a problem for you? > * In China, the 802.11 device market is not clear yet, I don't know what > standard to follow (you surely know about the new Chinese spec on 802.11 > network). > > * We already have some bluetooth devices. ok > * Most of us use notebook computers. Notebook 802.11 cards are more > expensive than bluetooth cards. i see > * Some people in the office are going to buy GPRS enabled cell phone. If > they buy bluetooth enabled GPRS phones, they can go surf the Internet > outside the office through GPRS cell phone. This is cheaper than having > both 802.11 card and GPRS card. FreeBSD supports DUN profile that allows you to use bluetooth enabled cell phone as a modem. you can make GRPS or CSD calls. > So I decide I'd better use bluetooth. Several questions: > > * Is it possible to make a wireless network by using bluetooth devices? Can > I have a bluetooth installed on the FreeBSD server, let it act as a > switch/hub? Would this network be stable? yes, FreeBSD supports LAN profile. in this scenario bluetooth clients connect to the server via PPP that runs over bluetooth connection. on a client side it is very similar to dialing out on regular phone line. again keep in mind that a single bluetooth device can only have up to 8 connections at a time. > * I never see anyone setup a network in this way, would there be many > unexpected problems? not likely, but you never know :) just stay away from serial based bluetooth devices. use usb bluetooth dongles. they work much better. thanks, max __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 9 10:04:11 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 844EA16A4CF for ; Mon, 9 Feb 2004 10:04:11 -0800 (PST) Received: from web40311.mail.yahoo.com (web40311.mail.yahoo.com [66.218.78.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E28243D2F for ; Mon, 9 Feb 2004 10:04:11 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040209180410.18522.qmail@web40311.mail.yahoo.com> Received: from [66.35.239.94] by web40311.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 10:04:10 PST Date: Mon, 9 Feb 2004 10:04:10 -0800 (PST) From: Maksim Yevmenkin To: Tony Frank , Zhang Weiwu In-Reply-To: <4027C569.1080308@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-bluetooth@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: need suggestions on making a wireless network using bluetooth 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, 09 Feb 2004 18:04:11 -0000 > > >Encryption is a good idea for any wireless network. > > >I believe bluetooth has a little more in this respect over 802.11 but > > >I do not know any sure statement whether by itself it is enough. > > >Eg you may need to run IPSec or similar over any wireless link to secure > > >your data. > > I don't mean bluetooth has better encryption ... I mean bluetooth cannot > > pass through walls, making it diffcult to listen network traffic outside > > the building:) > > While bluetooth is primarily designed as a short-range cable replacement, > it does use the same frequency range as 802.11 (2.4Ghz). > > I have seen bluetooth modules that can reportedly work at up to 100m. that is correct. > Practical experience in an office environment shows I can do LAN/dial up > easily over a distance 15-20m without direct line of sight to a handset. that is also correct. the range can be increased by using better antenna and increased power. > The bluetooth layer2 encryption can however be tougher to crack than the > WEP used in 802.11. Of course it only works if you enable it. personally, i do not think bluetooth link encryption would be harder to break then say WEP. i do not think that anyone actually looked into this. i recall an article about flaws in bluetooth link encryption but i can not find the link at the moment. as far as i know no one found/published the way to put of the shelf bluetooth device into monitor/promiscuous mode as one can do with prism based 802.11 cards (this statement *doesn't* mean that it cannot be done). that is the only thing that is preventing anyone from snooping on bluetooth network. i did mentioned bluetooth scanners/protocol analyzers in my previous email. have a look at http://www.palowireless.com/bluetooth/testequip.asp if (when) bluetooth gains more popularity as 802.11 then someone will find a cheap and easy way to snoop on bluetooth network. there is nothing you can do about it. > Personally when using any fixed/wireless network for sensitive > application I would use encryption at layer3 also (IPsec) at minimum. again i agree. i have one thing to say though. if someone really wants to get your data, he/she will. one way or another. there is still a human factor. you still need to communicate with the rest of the world using public internet etc. thanks, max __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-bluetooth@FreeBSD.ORG Sat Feb 21 17:58:14 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 ADF8B16A4F9 for ; Sat, 21 Feb 2004 17:58:14 -0800 (PST) Received: from hotmail.com (law11-f96.law11.hotmail.com [64.4.17.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id A69D143D1F for ; Sat, 21 Feb 2004 17:58:14 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 21 Feb 2004 17:58:14 -0800 Received: from 218.85.103.226 by lw11fd.law11.hotmail.msn.com with HTTP; Sun, 22 Feb 2004 01:58:14 GMT X-Originating-IP: [218.85.103.226] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-bluetooth@freebsd.org Date: Sun, 22 Feb 2004 09:58:14 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 22 Feb 2004 01:58:14.0598 (UTC) FILETIME=[5522BE60:01C3F8E7] Subject: use bluetooth with LAN profile X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 01:58:14 -0000 I'm new to bluetooth. I read the handbook bluetooth chapter several time, but I don't think I really get it:( Okay, let me try to explain it so please you can tell me if I have some concepture problem: To let several other bluetooth device (notebooks) to access my LAN, that is "LAN access for multiple Bluetooth devices". So I need to have a server, on this server I need to run rfcomm_pppd and sdpd. Each other notebook connect to my server's bluetooth card, and establish a single rfcomm connection, that is to emulate a serial connection between the notebook and the server. Finally I'll have several virtual serial connection to my server, for several bluetooth notebook. And on these serial connections I need to run ppp on client side and pppd on server side. Am I correct? But I have a problem: is sdpd part of the sdp-1.5 package? I cannot find this package on port tree. The handbook suggest me to get the package from but geocities is not accessable from China. This site has been blocked for several years for political reasons. Can I get the package elsewhere? "sdp bluetooth" is not a good google keyword to find it. Thank you! _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com From owner-freebsd-bluetooth@FreeBSD.ORG Sun Feb 22 12:21:24 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 40D7F16A4CE for ; Sun, 22 Feb 2004 12:21:24 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 2219D43D1F for ; Sun, 22 Feb 2004 12:21:24 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040222202124.50747.qmail@web40302.mail.yahoo.com> Received: from [24.52.242.150] by web40302.mail.yahoo.com via HTTP; Sun, 22 Feb 2004 12:21:24 PST Date: Sun, 22 Feb 2004 12:21:24 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, Zhang Weiwu In-Reply-To: <40390B03.3000304@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: use bluetooth with LAN profile 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: Sun, 22 Feb 2004 20:21:24 -0000 Hello, > To let several other bluetooth device (notebooks) to access my LAN, that is > "LAN access for multiple Bluetooth devices". So I need to have a server, on > this server I need to run rfcomm_pppd and sdpd. Each other notebook connect > to my server's bluetooth card, and establish a single rfcomm connection, > that is to emulate a serial connection between the notebook and the server. > Finally I'll have several virtual serial connection to my server, for > several bluetooth notebook. And on these serial connections I need to run > ppp on client side and pppd on server side. Am I correct? yes, except that rfcomm_pppd(8) will automatically run ppp(8) on each rfcomm connection. you do not have to do anything special. all you need to do is to add configuration entry into /etc/ppp/ppp.conf for bluetooth clients and tell rfcomm_pppd(8) to use this entry (label). the examples of such configuration entry can be found in rfcomm_pppd(8) man page. > But I have a problem: is sdpd part of the sdp-1.5 package? I cannot find > this package on port tree. The handbook suggest me to get the package from > but geocities is not accessable from > China. This site has been blocked for several years for political reasons. > Can I get the package elsewhere? "sdp bluetooth" is not a good google > keyword to find it. sdpd(8) was reimplemented under BSD license and committed to the main source tree. i have patches for the rfcomm_pppd(8) that will allow it to use stock sdpd(8). i'm waiting for permission to commit them. after that you should not use sdp-1.5. from geocities. thanks, max __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 23 18:38:19 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 E46FC16A4CE; Mon, 23 Feb 2004 18:38:19 -0800 (PST) Received: from hotmail.com (law11-f23.law11.hotmail.com [64.4.17.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C9043D39; Mon, 23 Feb 2004 18:38:19 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 Feb 2004 18:38:19 -0800 Received: from 218.85.105.53 by lw11fd.law11.hotmail.msn.com with HTTP; Tue, 24 Feb 2004 02:38:19 GMT X-Originating-IP: [218.85.105.53] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-net@freebsd.org, freebsd-bluetooth@freebsd.org Date: Tue, 24 Feb 2004 10:38:19 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 24 Feb 2004 02:38:19.0424 (UTC) FILETIME=[43599200:01C3FA7F] cc: spacenet@xmu.edu.cn Subject: [a bit OT] bluetooth with MAC OS X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 02:38:20 -0000 If you have tracked bluetooth list you know I am trying to setup a bluetooth LAN. Let me explain what I achieved so far: now I have setup a bluetooth LAN access server, rfcomm_pppd runs and listen to channel 7, accepting ppp connection without authentication (I didn't figure out how to accept multiple connection yet, but now a single computer can DUN to me.) Now I can have FreeBSD/Windows computer connect me and samba each other:) Now the problem comes with MAC OS. Someone in my office is using notebook running MAC OS X. She is a typical designer, don't know a bit about bluetooth/ppp; and I don't know a bit about MAC OS. On her network configuration -> bluetooth -> ppp there is a button "connect now", click on the button I am prompted with username/password, fill with random username/password I am rejected with "modem doesn't response". In bluetooth ppp configuration there is a modem selection list, about 50 modems, oops what is the modem for a FreeBSD server? I guess it must be a hard problem to work on, perhaps I need suggestions from people who know both MAC OS and FreeBSD, but I don't even know which forum/mailing list where MAC OS gurus usually meet. I googled around without luck: on google they are mostly talking about MAC OS <-> bluetooth cell phones. If you can simple guide me to a good MAC OS list that would be helpful! Thank you. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Tue Feb 24 09:55:42 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 CD4E916A4D0 for ; Tue, 24 Feb 2004 09:55:42 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id BF32C43D2D for ; Tue, 24 Feb 2004 09:55:42 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040224175537.74057.qmail@web40302.mail.yahoo.com> Received: from [66.35.239.94] by web40302.mail.yahoo.com via HTTP; Tue, 24 Feb 2004 09:55:37 PST Date: Tue, 24 Feb 2004 09:55:37 -0800 (PST) From: Maksim Yevmenkin To: Zhang Weiwu , freebsd-bluetooth@freebsd.org In-Reply-To: <403B8CE7.9040506@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: spacenet@xmu.edu.cn Subject: Re: [a bit OT] bluetooth with MAC OS 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: Tue, 24 Feb 2004 17:55:42 -0000 Hello, > If you have tracked bluetooth list you know I am trying to setup a > bluetooth LAN. Let me explain what I achieved so far: now I have setup a > bluetooth LAN access server, rfcomm_pppd runs and listen to channel 7, > accepting ppp connection without authentication (I didn't figure out how to > accept multiple connection yet, but now a single computer can DUN to me.) > Now I can have FreeBSD/Windows computer connect me and samba each other:) good. i think you meant to say LAN (not DUN) :) those are two different profiles. o DUN - DialUp Networking - where client uses Bluetooth RFCOMM connection to connect to a *real modem*, i.e. in order to start PPP/SLIP/RAS etc. session the client *must* sent AT commands to dial a number and wait for CONNECT etc. o LAN - LAN Access Using PPP - *very* similar to DUN, i.e. client uses Bluetooth RFCOMM connection to connect to *NULL modem*, i.e. client starts talking PPP *right after* Bluetooth connection is establised. (no AT commands, no waiting for CONNECT etc.) > Now the problem comes with MAC OS. Someone in my office is using notebook > running MAC OS X. She is a typical designer, don't know a bit about > bluetooth/ppp; and I don't know a bit about MAC OS. On her network > configuration -> bluetooth -> ppp there is a button "connect now", click on > the button I am prompted with username/password, fill with random > username/password I am rejected with "modem doesn't response". In bluetooth > ppp configuration there is a modem selection list, about 50 modems, oops > what is the modem for a FreeBSD server? it should be pretty straight forward with Mac OS X. few people have reported success. what you need to do first is to perform 'discovery' (or 'search'/'inquiry') on Mac laptop (there should be a button for that) and make sure you see FreeBSD server. when you start Bluetooth on FreeBSD make a note of BD_ADDR. make sure Mac laptop can see this BD_ADDR. FreeBSD BD_ADDR is the "modem" you should connect to. use empty user name and password. again you should use LAN profile *not* DUN because you do not need to "dial a number" to get to the PPP server. > I guess it must be a hard problem to work on, perhaps I need suggestions > from people who know both MAC OS and FreeBSD, but I don't even know which > forum/mailing list where MAC OS gurus usually meet. I googled around > without luck: on google they are mostly talking about MAC OS <-> bluetooth > cell phones. If you can simple guide me to a good MAC OS list that would be > helpful! again it should be pretty straight forward and it is known to work with Mac OS X. thanks, max __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 25 09:42: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 0DF4016A4CE for ; Wed, 25 Feb 2004 09:42:41 -0800 (PST) Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F88043D1D for ; Wed, 25 Feb 2004 09:42:40 -0800 (PST) (envelope-from mcrosland@xs4all.nl) Received: from mojojojo (a80-126-82-35.adsl.xs4all.nl [80.126.82.35]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1PHgbiW054173 for ; Wed, 25 Feb 2004 18:42:39 +0100 (CET) Date: Wed, 25 Feb 2004 18:31:57 +0100 To: freebsd-bluetooth@freebsd.org From: Mike Crosland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: Logitech DiNovo Desktop 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: Wed, 25 Feb 2004 17:42:41 -0000 Hi, I've recently become the proud owner of a Logitech DiNovo Desktop. I have it running fine in Windows 2k and Suse Linux 9.0,but I'm getting some problems with FreeBSD 5.2 Release. It has already been mentioned on freebsd-current somewhere that the mouse refuses to work on freebsd, although the keyboard support (inluding the seperate number pad or so-named 'media pad') is fine provided you disconnect the ps2 plug. The mouse however is recognised and assigned as ums0, but further nothing. On Suse both mouse and keyboard are fine, so I expect this will eventually be sorted in freebsd. In the meantime I'm trying to find a workaround. Owing to the fact that neither FreeBSD or Linux recognise the Logitech hub as a Bluetooth hub, it is necessary to add a BT dongle in a spare usb slot in order to connect to other devices. An ideal workaround to the mouse problem would therefore be to attach the mouse via the dongle. So far I've managed to pair with the mouse, and add an HID sdpchannel, but I don't know where to go from there. Presumably some sort of daemon is needed, but I have no idea how to start writing that, so if anyone ahs suggestions I'd be very grateful. Also, is it possible for the system to recognise the logitech hub as a bluetooth hub? Thanks Mike From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 25 09:58:21 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 47CF216A4D0 for ; Wed, 25 Feb 2004 09:58:21 -0800 (PST) Received: from web40307.mail.yahoo.com (web40307.mail.yahoo.com [66.218.78.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 23A2843D1F for ; Wed, 25 Feb 2004 09:58:21 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040225175820.19364.qmail@web40307.mail.yahoo.com> Received: from [66.35.239.94] by web40307.mail.yahoo.com via HTTP; Wed, 25 Feb 2004 09:58:20 PST Date: Wed, 25 Feb 2004 09:58:20 -0800 (PST) From: Maksim Yevmenkin To: Mike Crosland , freebsd-bluetooth@freebsd.org In-Reply-To: <403CE076.8090205@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Logitech DiNovo Desktop 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: Wed, 25 Feb 2004 17:58:21 -0000 Hello Mike, > I've recently become the proud owner of a LoLogitechiDiNovoesktop. [...] > Owing to the fact that neither FrFreeBSDr Linux rerecognisehe LoLogitechub > as a BlBluetoothub, it is necessary to add a BTBTongle in a spare ususblot > in order to connect to other devices. An ideal workaround to the mouse > problem would therefore be to attach the mouse via the dongle. So far I've > managed to pair with the mouse, and add an HID sdsdpchannelbut I don't > know where to go from there. Presumably some sort of daemon is needed, but > I have no idea how to start writing that, so if anyone ahahsuggestions I'd > be very grateful. Also, is it possible for the system to rerecognisehe > lologitechub as a blbluetoothub? actually i have already written most of it :) it just has not been committed yet. i have ms blbluetoothouse/keyboard on loan. the main problem is how to feed HID events into kernel. mouse somewhat easy - i use console ioctl() (sysysmouseand it sort of works (but there are few underwater stones :) keyboard is a real mess. i do not know the way to have two keyboards attached to the same console at the same time. it seems user have to switch between keyboards. it really sucks for wireless keyboard as it may disappear at any time :( i can send my code to you if you'd like. thanks max > > > Thanks > > Mike > > _______________________________________________ > frfreebsdlbluetoothrfreebsdrorgailing list > hthttp/lists.frfreebsdrorgailman/lilistinforfreebsdlbluetooth> To ununsubscribesend any mail to "frfreebsdlbluetoothnunsubscriberfreebsdrorg > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 1 19:58:46 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 2A7D716A4CE for ; Mon, 1 Mar 2004 19:58:46 -0800 (PST) Received: from hotmail.com (law11-f43.law11.hotmail.com [64.4.17.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E71F43D1D for ; Mon, 1 Mar 2004 19:58:46 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Mar 2004 19:58:45 -0800 Received: from 218.85.105.232 by lw11fd.law11.hotmail.msn.com with HTTP; Tue, 02 Mar 2004 03:58:45 GMT X-Originating-IP: [218.85.105.232] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-bluetooth@freebsd.org Date: Tue, 02 Mar 2004 11:58:45 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 02 Mar 2004 03:58:45.0976 (UTC) FILETIME=[A9173580:01C4000A] Subject: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 03:58:46 -0000 Hello. Thanks for you all helped me all the way in this week, now I have successfully set up a bluetooth LAN access server (on FreeBSD 5.2), I send everybody a bluetooth usb dodges. MAC OS notebook works fine, Windows 2000 dials in with no problem, my FreeBSD notebook works great. Each computer access desktop computers in the LAN no problem, surf the Internet etc. A Linux user is still fighting his way dialing in, but I think he will figure it out very soon. It's the finest day, the sun is shining and we have bluetooth LAN... Thank you everyone who helped me! On my configuration I setup LAN access server listen to channel 1, and everyone dials in on that channel. I'm not sure of the concept of "channels", sometimes when other people are connected, I use "rfcomm_pppd -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. Sometimes (not very frequently) iBook disconnects and cannot connect anymore unless the bluetooth ppp server restart. (Windows notebook no problem.) Is it because we are sharing channel No.1? Should I register LAN service on channel one through channel six? Please give more advices. When the network work fine and I figured out all the problems, I'll write a guide on my homepage. I hope it can be useful thanks to my mixed OS environment. and I hope you can correct my article by then:) _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 2 11:54:30 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 91B9A16A4CE for ; Tue, 2 Mar 2004 11:54:30 -0800 (PST) Received: from web40310.mail.yahoo.com (web40310.mail.yahoo.com [66.218.78.89]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E70D43D1D for ; Tue, 2 Mar 2004 11:54:30 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040302195430.58891.qmail@web40310.mail.yahoo.com> Received: from [66.35.239.94] by web40310.mail.yahoo.com via HTTP; Tue, 02 Mar 2004 11:54:30 PST Date: Tue, 2 Mar 2004 11:54:30 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, Zhang Weiwu In-Reply-To: <4044CFB1.90607@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: bluetooth channels -- not very clear on concept 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: Tue, 02 Mar 2004 19:54:30 -0000 Hello, [...] > On my configuration I setup LAN access server listen to channel 1, and > everyone dials in on that channel. I'm not sure of the concept of > "channels", in your case these are RFCOMM channels. a single RFCOMM channel represents a logical connection between two devices using RFCOMM procotol. think of it as a virtual serial cable. you can have up to 62 RFCOMM channels between *the same* pair of devices. if you simplify the picture enough you might find it similar to IP:PORT concept, where IP is a BD_ADDR of the device and PORT is a RFCOMM channel. note: this analogy is not quite correct because there is a L2CAP layer between baseband and RFCOMM. the RFCOMM server is listening on wildcard BD_ADDR (*) and RFCOMM channel 1. so when new connection is accepted from the remote device will spawn new daemon to service the connection and run PPP over it, i.e. *:1 - LISTEN -- main server BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE1:1 -- client (1) BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE2:1 -- client (2) becase BD_ADDR of the remote device is different you can share the same RFCOMM channel between serval devices. > sometimes when other people are connected, I use "rfcomm_pppd > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. hmmm... is that the exact command you using? in client mode (-c) you need to specify the address of the server to connect to (-a) otherwise it will not work. also what does "no socket available" is that the error you are getting? > Sometimes (not very frequently) iBook disconnects and cannot connect > anymore unless the > bluetooth ppp server restart. (Windows notebook no problem.) Is it because that is strange. i'd like to take a look at hcidump output. you will need to download it from http://www.geocities.com/m_evmenkin/ > we are sharing channel No.1? Should I register LAN service on channel one > through channel six? if you only have one bluetooth device attached to the server then you should be fine. you need to register mulitple RFCOMM channels only if you are running multiple RFCOMM servers. you can do it if you have more the one bluetooth device attached to the server. again, keep in mind that a single bluetooth device can only have 8 clients at a time. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 2 21:52:33 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 22A1C16A4CE for ; Tue, 2 Mar 2004 21:52:33 -0800 (PST) Received: from hotmail.com (law11-f70.law11.hotmail.com [64.4.17.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB7F43D1D for ; Tue, 2 Mar 2004 21:52:33 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 2 Mar 2004 21:52:32 -0800 Received: from 218.85.105.146 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 03 Mar 2004 05:52:31 GMT X-Originating-IP: [218.85.105.146] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: m_evmenkin@yahoo.com, freebsd-bluetooth@freebsd.org Date: Wed, 03 Mar 2004 13:52:31 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 03 Mar 2004 05:52:32.0809 (UTC) FILETIME=[B89D0190:01C400E3] Subject: Re: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 05:52:33 -0000 Maksim Yevmenkin wrote: > >Hello, > >[...] > > > On my configuration I setup LAN access server listen to channel 1, and > > everyone dials in on that channel. I'm not sure of the concept of > > "channels", > > *:1 - LISTEN -- main server > BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE1:1 -- client (1) > BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE2:1 -- client (2) > >becase BD_ADDR of the remote device is different you can share the same >RFCOMM channel between serval devices. Nice. Now I got it. Thank you. > > > sometimes when other people are connected, I use "rfcomm_pppd > > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I > > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. > >hmmm... is that the exact command you using? in client mode (-c) you need >to specify the address of the server to connect to (-a) otherwise it will >not work. also what does "no socket available" is that the error you are >getting? Sorry I wasn't clear. Here is the script(1) to produce the problem: thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth rfcomm_pppd: Could not obtain RFCOMM channel: Socket is not connected thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth thinkpad# ifconfig tun0 tun0: flags=8051 mtu 1500 inet 192.168.0.87 --> 192.168.0.120 netmask 0xffffffff Opened by PID 47776 MAC OS and Windows doesn't ask for Channel number. They recognize LAN and connect to channel 1. Linux user always gets refused. (so strange the Linux bluetooth LAN tool pand(1) don't have a parameter to specify what channel to connect to.) > > Sometimes (not very frequently) iBook disconnects and cannot connect > > anymore unless the > > bluetooth ppp server restart. (Windows notebook no problem.) Is it because > >that is strange. i'd like to take a look at hcidump output. you will need >to download it from http://www.geocities.com/m_evmenkin/ Do you mean your homepage? You forgot I am in China I cannot go to geocities. To help me you sent me your sdp package through email a week ago:) Today the iBook problem is (I guess) solved. I found this line in ppp.log: Mar 3 10:59:34 dino ppp[2274]: Phase: deflink: ** Too many ECHO LQR packets lost ** I disabled lqr, the iBook don't have the problem any more. > > we are sharing channel No.1? Should I register LAN service on channel one > > through channel six? > >if you only have one bluetooth device attached to the server then you >should be fine. you need to register mulitple RFCOMM channels only if you >are running multiple RFCOMM servers. you can do it if you have more the >one bluetooth device attached to the server. again, keep in mind that a >single bluetooth device can only have 8 clients at a time. Thank you for the advice. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 3 10:53:56 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 EFE8116A4CE for ; Wed, 3 Mar 2004 10:53:56 -0800 (PST) Received: from web40312.mail.yahoo.com (web40312.mail.yahoo.com [66.218.78.91]) by mx1.FreeBSD.org (Postfix) with SMTP id E684143D2F for ; Wed, 3 Mar 2004 10:53:56 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040303185356.54129.qmail@web40312.mail.yahoo.com> Received: from [66.35.239.94] by web40312.mail.yahoo.com via HTTP; Wed, 03 Mar 2004 10:53:56 PST Date: Wed, 3 Mar 2004 10:53:56 -0800 (PST) From: Maksim Yevmenkin To: zhangweiwu@realss.com, freebsd-bluetooth@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: bluetooth channels -- not very clear on concept 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: Wed, 03 Mar 2004 18:53:57 -0000 Hello, [...] > > > sometimes when other people are connected, I use "rfcomm_pppd > > > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, > then I > > > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. > > > >hmmm... is that the exact command you using? in client mode (-c) you need > >to specify the address of the server to connect to (-a) otherwise it will > >not work. also what does "no socket available" is that the error you are > >getting? > > Sorry I wasn't clear. Here is the script(1) to produce the problem: > > thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth > rfcomm_pppd: Could not obtain RFCOMM channel: Socket is not connected > thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth > thinkpad# ifconfig tun0 > tun0: flags=8051 mtu 1500 > inet 192.168.0.87 --> 192.168.0.120 netmask 0xffffffff > Opened by PID 47776 ok. that tells me that you are having a problem with SDP. when you specify -C LAN rfcomm_pppd(8) will try to query remote server from RFCOMM channel. for whatever reason the server did not respond to client's SDP query. when you run rfcomm_pppd(8) with -C 1 it does not use SDP and connects directly to the RFCOMM channel 1. i need to look at hcidump(1) output. > MAC OS and Windows doesn't ask for Channel number. They recognize LAN and > connect to channel 1. Linux user always gets refused. (so strange the Linux > bluetooth LAN tool pand(1) don't have a parameter to specify what channel > to connect to.) well, think about it :) how would MAC OS and Windows would know which RFCOMM channel to use? the only way to find out is to send SDP query to the server and ask if the server provides LAN service. so both MAC OS and Windows *do* ask for RFCOMM channel number. Linux tools do the same. it seems that you have the same problem on FreeBSD and Linux when you try to use SDP. > > > Sometimes (not very frequently) iBook disconnects and cannot connect > > > anymore unless the > > > bluetooth ppp server restart. (Windows notebook no problem.) Is it > because > > > >that is strange. i'd like to take a look at hcidump output. you will need > >to download it from http://www.geocities.com/m_evmenkin/ > > Do you mean your homepage? You forgot I am in China I cannot go to > geocities. To help me you sent me your sdp package through email a week > ago:) ok. i will send you the tarball. compile and intall it. then run as root # hcidump -w rfcomm.dump and in another window try to # rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth then interrupt (with ^C) hcidump(1) and send me the rfcomm.dump file. BTW Linux users should have hcidump tool. it should be compatible with the one from FreeBSD. it would be nice to have Linux dump as well. > Today the iBook problem is (I guess) solved. I found this line in ppp.log: > Mar 3 10:59:34 dino ppp[2274]: Phase: deflink: ** Too many ECHO LQR > packets lost ** > I disabled lqr, the iBook don't have the problem any more. ok. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 5 09:57: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 1AD8616A4CE for ; Fri, 5 Mar 2004 09:57:38 -0800 (PST) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id E734243D39 for ; Fri, 5 Mar 2004 09:57:29 -0800 (PST) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id i25HvIWj011643 for ; Fri, 5 Mar 2004 09:57:18 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id i25HvDTE011641 for freebsd-bluetooth@freebsd.org; Fri, 5 Mar 2004 09:57:13 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Fri, 5 Mar 2004 09:57:13 -0800 From: "Loren M. Lang" To: freebsd-bluetooth@freebsd.org Message-ID: <20040305175713.GB10889@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: Bluetooth HID support 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: Fri, 05 Mar 2004 17:57:38 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am curious on what the state of the bluetooth hid drivers are. We will sortly start some development on developing some bt hid devices and I'm looking to setup a unix workstation of some kind for it. Is there good enough support in FreeBSD 5.x for a bt keyboard or should I use a linux workstation for now. Also, it seems that just about all bt usb dongles use the same protocol looking through the linux bt usb database where they all use the same driver, though some need firmware installed. Is there a good chance then that if linux supports a specific dongle without any firmware requirements with the generic driver that it will work on FreeBSD as Linux's tested hw list is much greater and we've already purchased a belkin adapter. --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFASL95+vN6RuSjKAwRArPlAJ4n3QuwZhhWUUAv3YuiRgNcoJhrKgCgrzeC /KY0P4YxKjeaGmFF1o5HFH8= =NJ93 -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 12 15:05:34 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 1659C16A4CE for ; Fri, 12 Mar 2004 15:05:34 -0800 (PST) Received: from web40311.mail.yahoo.com (web40311.mail.yahoo.com [66.218.78.90]) by mx1.FreeBSD.org (Postfix) with SMTP id D8AA143D1F for ; Fri, 12 Mar 2004 15:05:33 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040312230533.64794.qmail@web40311.mail.yahoo.com> Received: from [66.35.239.94] by web40311.mail.yahoo.com via HTTP; Fri, 12 Mar 2004 15:05:33 PST Date: Fri, 12 Mar 2004 15:05:33 -0800 (PST) From: Maksim Yevmenkin To: "Loren M. Lang" , freebsd-bluetooth@freebsd.org In-Reply-To: <4048C017.2090201@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Bluetooth HID support 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: Fri, 12 Mar 2004 23:05:34 -0000 Hello, sorry for the delay :) ENOTIME :) > I am curious on what the state of the bluetooth hid drivers are. We > will sortly start some development on developing some bt hid devices and > I'm looking to setup a unix workstation of some kind for it. Is there > good enough support in FreeBSD 5.x for a bt keyboard or should I use a > linux workstation for now. the code is pretty much ready and working. i just need to clean it up and commit. right now i do not have much time to do this. > Also, it seems that just about all bt usb dongles use the same protocol > looking through the linux bt usb database where they all use the same > driver, though some need firmware installed. Is there a good chance > then that if linux supports a specific dongle without any firmware > requirements with the generic driver that it will work on FreeBSD as > Linux's tested hw list is much greater and we've already purchased a > belkin adapter. ng_ubt(4) driver should support any bluetooth usb dongle that conforms to the bluetooth specification. that is if the device works with linux hci_usb driver it should work with ng_ubt(4). certain belkin, d-link and other adapters use broadcom BCM2033 chip. this chip needs firmware download. FreeBSD supports these devices via ubtbcmfw(4) driver and bcmfw(8) utility. i have belkin F8T001 adapter and it works. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 22 08:05:23 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 3AC2216A4D7 for ; Mon, 22 Mar 2004 08:05:23 -0800 (PST) Received: from altair.cifrid.net (altair.cifrid.net [195.136.117.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4859043D5C for ; Mon, 22 Mar 2004 08:05:18 -0800 (PST) (envelope-from apm@cifrid.net) Received: from menkar.cifrid.net ([217.172.244.10]:49220) by altair.cifrid.net with esmtp (Exim 4.30) id 1B5Rwi-0008X4-HA for bluetooth@freebsd.org; Mon, 22 Mar 2004 17:06:36 +0100 To: bluetooth@freebsd.org From: Artur Meski Date: Mon, 22 Mar 2004 17:05:23 +0100 Message-ID: <86y8psvpdo.fsf@menkar.cifrid.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: Bluetooth, HCI timeout. 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, 22 Mar 2004 16:05:23 -0000 --=-=-= [ This is a duplicate of a message sent to current@, because I didn't ] [ notice presence of this mailing list ] I can't make my bluetooth Microstar dongle work neither with FreeBSD -CURRENT (2004/03/22) nor with 5.2.1-RELEASE. As far as I remember it has been working fine with 5.1-RELEASE (but with another PC). I don't know what can have an impact on it. See attached file for 'rc.bluetooth start ubt0' command "output" (http://artur.black.pl/bluetooth.txt). --=-=-= Content-Disposition: inline; filename=bluetooth.txt Content-Description: rc.bluetooth, messages # /usr/local/etc/rc.bluetooth start ubt0 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x3. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x9. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 BD_ADDR: 00:10:dc:4b:b6:64 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x3. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x5. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x1a. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x24. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x13. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Could not execute command "initialize". Device not configured --=-=-= -- // WWW: artur.black.pl // PGP: finger apm@acrux.cifrid.net // --=-=-=-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 23 18:49:23 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 6A0E916A4CE for ; Tue, 23 Mar 2004 18:49:23 -0800 (PST) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C3743D58 for ; Tue, 23 Mar 2004 18:49:21 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep01-mail.bloor.is.net.cable.rogers.com ESMTP <20040324024843.KRQT138614.fep01-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Tue, 23 Mar 2004 21:48:43 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00011E; 23 Mar 2004 21:50:48 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 23 Mar 2004 21:50:24 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00011D; 23 Mar 2004 21:50:17 -0500 To: freebsd-bluetooth@freebsd.org From: Dmitry Yaitskov Organization: Disorganized Date: Tue, 23 Mar 2004 21:50:17 -0500 Message-ID: <84hdwfvtzq.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Tue, 23 Mar 2004 21:48:42 -0500 Subject: Windows client/FreeBSD server Q. 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: Wed, 24 Mar 2004 02:49:23 -0000 Hi, I have a couple of bluetooth USB dongles (made by BlueGear), and would like to use these to connect my laptop to my home LAN. I went through the basic setup steps described here http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running on FreeBSD. It can also see the other dongle on the laptop, e.g. the # hccontrol -n ubt0hci inquiry returns the other device's BT_ADDR etc. Also, the other device does see the FreeBSD one. My question is, now what? I"d like somehow to let the laptop access the LAN on which the FreeBSD system is, so I need some server on the FreeBSD side (I've downloaded the sdp-1.5 package but I could not find much (any) docs/info on its use unfortunately) and a Windows client on the laptop - any pointers/advice will be much appreciated. Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 03:37:07 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 5063216A4D3 for ; Wed, 24 Mar 2004 03:37:07 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D4843D5D for ; Wed, 24 Mar 2004 03:37:06 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [210.34.10.206]) by mail27.cn4e.com (WorldPost) with ESMTP id 0C1C1D3E3BCA; Wed, 24 Mar 2004 20:03:07 +0800 (CST) Message-ID: <4061729F.4010504@realss.com> Date: Wed, 24 Mar 2004 19:35:59 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040227 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dmitry Yaitskov References: <84hdwfvtzq.fsf@nothing.nowhere.com> In-Reply-To: <84hdwfvtzq.fsf@nothing.nowhere.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: Windows client/FreeBSD server Q. 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: Wed, 24 Mar 2004 11:37:07 -0000 Dmitry Yaitskov wrote: >Hi, > >I have a couple of bluetooth USB dongles (made by BlueGear), and would >like to use these to connect my laptop to my home LAN. I went through >the basic setup steps described here >http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running >on FreeBSD. It can also see the other dongle on the laptop, e.g. the > ># hccontrol -n ubt0hci inquiry > >returns the other device's BT_ADDR etc. Also, the other device does >see the FreeBSD one. > >My question is, now what? I"d like somehow to let the laptop access >the LAN on which the FreeBSD system is, so I need some server on the >FreeBSD side (I've downloaded the sdp-1.5 package but I could not find >much (any) docs/info on its use unfortunately) and a Windows client on >the laptop - any pointers/advice will be much appreciated. > You need to run rfcomm_pppd. This tool builds ppp connection on both side. If you ever configured ppp(8) it won't be difficult. You need to run sdpd on server side, sdpd is not necessary on client side. You need to read rfcomm_pppd(8). I'm not in my office, I'll send my real configure file later when I am in my office. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 19:03:34 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 6599316A4CE for ; Wed, 24 Mar 2004 19:03:34 -0800 (PST) Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9634443D41 for ; Wed, 24 Mar 2004 19:03:33 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep04-mail.bloor.is.net.cable.rogers.com ESMTP <20040325030245.ZUMO323940.fep04-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Wed, 24 Mar 2004 22:02:45 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO000236; 24 Mar 2004 22:05:00 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 24 Mar 2004 22:04:36 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG000235; 24 Mar 2004 22:04:36 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <4061729F.4010504@realss.com> (Zhang Weiwu's message of "Wed, 24 Mar 2004 19:35:59 +0800") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> From: Dmitry Yaitskov Organization: Disorganized Date: Wed, 24 Mar 2004 22:04:36 -0500 Message-ID: <84lllp1vaz.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Wed, 24 Mar 2004 22:02:42 -0500 Subject: Re: Windows client/FreeBSD server Q. 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: Thu, 25 Mar 2004 03:03:34 -0000 Zhang Weiwu wrote: > Dmitry Yaitskov wrote: > >>Hi, >> >>I have a couple of bluetooth USB dongles (made by BlueGear), and would >>like to use these to connect my laptop to my home LAN. I went through >>the basic setup steps described here >>http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running >>on FreeBSD. It can also see the other dongle on the laptop, e.g. the >> >># hccontrol -n ubt0hci inquiry >> >>returns the other device's BT_ADDR etc. Also, the other device does >>see the FreeBSD one. >> >>My question is, now what? I"d like somehow to let the laptop access >>the LAN on which the FreeBSD system is, so I need some server on the >>FreeBSD side (I've downloaded the sdp-1.5 package but I could not find >>much (any) docs/info on its use unfortunately) and a Windows client on >>the laptop - any pointers/advice will be much appreciated. >> > You need to run rfcomm_pppd. This tool builds ppp connection on both > side. If you ever configured ppp(8) it won't be difficult. Thanks, I understand more or less what needs to be done on the server side. I am still unclear though about the client - which is WinXP - what do I need to do/run there? > You need to run sdpd on server side, sdpd is not necessary on client side. > > You need to read rfcomm_pppd(8). I'm not in my office, I'll send my > real configure file later when I am in my office. Could you do that? Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 19:20:54 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 8959516A4CE for ; Wed, 24 Mar 2004 19:20:54 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 26CFA43D2F for ; Wed, 24 Mar 2004 19:20:53 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 49825 invoked by uid 1000); 25 Mar 2004 03:20:51 -0000 Date: Thu, 25 Mar 2004 13:50:51 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325032051.GD42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Pairing a Sony Ericsson T68i to FreeBSD 5.2.1 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: Thu, 25 Mar 2004 03:20:54 -0000 --d01dLTUuW90fS44H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I just upgraded a machine to 5.2.1 to do some Bluetooth experimentation. I am trying to communicate with my T68i. My USB dongle is connected: ubt0: vendor 0x0a12 product 0x0001, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: interrupt=3D0x81, bulk-in=3D0x82, bulk-out=3D0= x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=3D0x83, isoc-out=3D0x3; wMaxPacketSize=3D49; nframes=3D6, buffer size=3D294 The phone is discoverable: > hccontrol -n ubt0hci inquiry Inquiry result, num_responses=3D1 Inquiry result #0 BD_ADDR: 00:80:37:79:bf:e9 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:22:04 Clock offset: 0x540 Inquiry complete. Status: No error [00] Now I want to pair with the phone and do some service enquiries. I have this entry in /etc/bluetooth/hcsecd.conf: device { bdaddr 00:80:37:79:bf:e9; name "T68i"; key nokey; pin "1111"; } I run 'hcsecd -d', and try to initiate pairing from the phone. Now the T68i asks for a "Passkey", but I assume it wants the PIN. Upon entering the PIN, it thinks, then reports "Bluetooth connection failed". I get no message from hcsecd. Have I missed a step here? Has anyone else got a T68i working? Further to this, and assuming I get it working at some point, I cannot seem to find the SDP tools---do I still need to download and compile the sdp-1.5 package? Thanks for any help! --=20 Paul. mailto:paulh@logicsquad.net --d01dLTUuW90fS44H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYlAT730Z/jysbzIRAlmMAJ4hLOJwU4kTtaxEXNDfUhKR7jTZIgCfVTic rKP204XnhEWoFeckRbppmS4= =fUeg -----END PGP SIGNATURE----- --d01dLTUuW90fS44H-- From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 20:19:04 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 38CCD16A4CF for ; Wed, 24 Mar 2004 20:19:04 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id CF19B43D46 for ; Wed, 24 Mar 2004 20:19:02 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 59337 invoked by uid 1000); 25 Mar 2004 04:18:59 -0000 Date: Thu, 25 Mar 2004 14:48:59 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325041859.GF42893@grover.logicsquad.net> References: <20040325032051.GD42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QXO0/MSS4VvK6f+D" Content-Disposition: inline In-Reply-To: <20040325032051.GD42893@grover.logicsquad.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Pairing a Sony Ericsson T68i to FreeBSD 5.2.1 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: Thu, 25 Mar 2004 04:19:04 -0000 --QXO0/MSS4VvK6f+D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2004 at 01:50:51PM +1030, Paul A. Hoadley wrote: > I run 'hcsecd -d', and try to initiate pairing from the phone. Now > the T68i asks for a "Passkey", but I assume it wants the PIN. Upon > entering the PIN, it thinks, then reports "Bluetooth connection > failed". I get no message from hcsecd. >=20 > Have I missed a step here? Has anyone else got a T68i working? Sorry people, my bad---I didn't read to the bottom of the Handbook page: # hccontrol -n ubt0hci write_node_role_switch 0 It now works. > Further to this, and assuming I get it working at some point, I > cannot seem to find the SDP tools---do I still need to download and > compile the sdp-1.5 package? I have successfully built the binaries from this package. Is this still the way to go? --=20 Paul. mailto:paulh@logicsquad.net --QXO0/MSS4VvK6f+D Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYl2y730Z/jysbzIRApEfAJ9tszSZOwdn5LzE+3fxJN4/7jFnKQCeJuHT EThpkWg5XNvOtU9a+r6qYeU= =cTW6 -----END PGP SIGNATURE----- --QXO0/MSS4VvK6f+D-- From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 23:03:25 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 63EE516A4CE for ; Wed, 24 Mar 2004 23:03:25 -0800 (PST) Received: from fep02-mail.bloor.is.net.cable.rogers.com (fep02-mail.bloor.is.net.cable.rogers.com [66.185.86.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9F5343D1D for ; Wed, 24 Mar 2004 23:03:24 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep02-mail.bloor.is.net.cable.rogers.com ESMTP <20040325070222.SYG39251.fep02-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Thu, 25 Mar 2004 02:02:22 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00025C; 25 Mar 2004 02:04:54 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 25 Mar 2004 02:04:36 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00025B; 25 Mar 2004 02:04:33 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <84lllp1vaz.fsf@nothing.nowhere.com> (Dmitry Yaitskov's message of "Wed, 24 Mar 2004 22:04:36 -0500") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84lllp1vaz.fsf@nothing.nowhere.com> From: Dmitry Yaitskov Organization: Disorganized Date: Thu, 25 Mar 2004 02:04:33 -0500 Message-ID: <84d6711k72.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Thu, 25 Mar 2004 02:02:22 -0500 Subject: Re: Windows client/FreeBSD server Q. 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: Thu, 25 Mar 2004 07:03:25 -0000 Hi again, Ok, I got somewhat closer to where I want to be I think... I found a set of bluetooth tools on the CDs that came with my laptop (Toshiba satellite 5000) and installed them. After some tweaking and following the rfcomm_pppd man pages I got to the point where I can see the BT device on FreeBSD from the laptop, and see the "LAN access over PPP" service on it. I can even "connect' from the laptop to that service. But then nothing happens (on the laptop's network connections panel, there is a "Bluetooth LAN emulation from Toshiba" connection, and it stays in the "network cable unplugged" status)... My guess is that the PPP part on the FreeBSD side is not configured correctly. Using the hcidump I see lots of activity when I connect, here's the last fragment: > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 72 L2CAP(d): cid 0x7a len 68 [psm 3] RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 72 L2CAP(d): cid 0x7a len 68 [psm 3] RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 8 L2CAP(d): cid 0x7a len 4 [psm 3] RFCOMM(s): DISC: cr 0 dlci 2 pf 1 ilen 0 fcs 0xd9 > HCI Event: Number of Completed Packets(0x13) plen 5 > ACL data: handle 0x0028 flags 0x02 dlen 8 L2CAP(d): cid 0x5a len 4 [psm 3] RFCOMM(s): UA: cr 0 dlci 2 pf 1 ilen 0 fcs 0xf3 then nothing happens for a while, and finally (after several minutes) this: > ACL data: handle 0x0028 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0059 scid 0x0078 < ACL data: handle 0x0028 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0059 scid 0x0078 > HCI Event: Number of Completed Packets(0x13) plen 5 > HCI Event: Disconn Complete(0x05) plen 4 which I guess means that the connection was terminated for lack of activity: My best guess is that ppp is misconfigured on the server. Here's what my ppp.conf contains (the only part that I changed is rfcomm-server): ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set timeout 180 enable dns set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) rfcomm-server: set timeout 0 set lqrperiod 10 set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 enable lqr accept lqr disable pap deny pap disable chap deny chap papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route Any ideas will be much appreciated. Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 01:13:30 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 4890116A4CE for ; Thu, 25 Mar 2004 01:13:30 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 15B1743D3F for ; Thu, 25 Mar 2004 01:13:29 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 69763 invoked by uid 1000); 25 Mar 2004 09:13:27 -0000 Date: Thu, 25 Mar 2004 19:43:27 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325091327.GI42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cVp8NMj01v+Em8Se" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: More on T68i 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: Thu, 25 Mar 2004 09:13:30 -0000 --cVp8NMj01v+Em8Se Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, After conversing with myself on-list earlier, I have now got files going back and forth between my T68i and FreeBSD 5.2.1. (This is using obexapp from the command line. I am yet to succeed with a phone-initiated transfer with sdpd running---phone just bails out with 'Bluetooth connection failed'.) Has anyone progressed any further than this with a T68i? I notice Maksim Yevmenkin refers to testing on a T68i in the obexapp man page---Maksim, are you doing anything more sophisticated than single file transfers using obexapp? I am interested in doing something like maintaining a central vCard database (though probably in a more accessible form, such as RDF, and converting to vCard as required) to which I can sync my T68i, and hopefully my Palm Zire 71. Is anyone doing anything like this? --=20 Paul. mailto:paulh@logicsquad.net --cVp8NMj01v+Em8Se Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYqK3730Z/jysbzIRAjkrAJ9FwC4GETixlOcW5VOrgRXStfH1pwCfSs9b IGEGCIKx/NnRq5eRER2mLAY= =kvQa -----END PGP SIGNATURE----- --cVp8NMj01v+Em8Se-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 04:42:22 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 0DA6E16A4CE for ; Thu, 25 Mar 2004 04:42:22 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618CD43D2F for ; Thu, 25 Mar 2004 04:42:21 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [218.85.105.169]) by mail27.cn4e.com (WorldPost) with ESMTP id 276F7D6DE6FD; Thu, 25 Mar 2004 21:08:36 +0800 (CST) Message-ID: <4062D379.9020500@realss.com> Date: Thu, 25 Mar 2004 20:41:29 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040227 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dmitry Yaitskov References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84lllp1vaz.fsf@nothing.nowhere.com> <84d6711k72.fsf@nothing.nowhere.com> In-Reply-To: <84d6711k72.fsf@nothing.nowhere.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: =?UTF-8?B?546LIOWuh+e/lA==?= Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN 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: Thu, 25 Mar 2004 12:42:22 -0000 Hi. Dmitry Yaitskov wrote: >Hi again, > >Ok, I got somewhat closer to where I want to be I think... I found a >set of bluetooth tools on the CDs that came with my laptop (Toshiba >satellite 5000) and installed them. After some tweaking and following >the rfcomm_pppd man pages I got to the point where I can see the BT >device on FreeBSD from the laptop, and see the "LAN access over PPP" >service on it. I can even "connect' from the laptop to that service. >But then nothing happens (on the laptop's network connections panel, >there is a "Bluetooth LAN emulation from Toshiba" connection, and it >stays in the "network cable unplugged" status)... My guess is that the >PPP part on the FreeBSD side is not configured correctly. Using the >hcidump I see lots of activity when I connect, here's the last >fragment: > > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 72 > L2CAP(d): cid 0x7a len 68 [psm 3] > RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 72 > L2CAP(d): cid 0x7a len 68 [psm 3] > RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 8 > L2CAP(d): cid 0x7a len 4 [psm 3] > RFCOMM(s): DISC: cr 0 dlci 2 pf 1 ilen 0 fcs 0xd9 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >>> ACL data: handle 0x0028 flags 0x02 dlen 8 >> >> > L2CAP(d): cid 0x5a len 4 [psm 3] > RFCOMM(s): UA: cr 0 dlci 2 pf 1 ilen 0 fcs 0xf3 > >then nothing happens for a while, and finally (after several minutes) >this: > > > >>> ACL data: handle 0x0028 flags 0x02 dlen 12 >> >> > L2CAP(s): Disconn req: dcid 0x0059 scid 0x0078 >< ACL data: handle 0x0028 flags 0x02 dlen 12 > L2CAP(s): Disconn rsp: dcid 0x0059 scid 0x0078 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >>> HCI Event: Disconn Complete(0x05) plen 4 >> >> > >which I guess means that the connection was terminated for >lack of activity: > >My best guess is that ppp is misconfigured on the server. Here's what >my ppp.conf contains (the only part that I changed is rfcomm-server): > >################################################################# ># PPP Sample Configuration File ># Originally written by Toshiharu OHNO ># Simplified 5/14/1999 by wself@cdrom.com ># ># See /usr/share/examples/ppp/ for some examples ># ># $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ >################################################################# > >default: > set timeout 180 > enable dns > set log Phase Chat LCP IPCP CCP tun command > ident user-ppp VERSION (built COMPILATIONDATE) > > > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set timeout 180 # 3 minute idle timer (the default) > enable dns # request DNS info (for resolv.conf) > >rfcomm-server: > set timeout 0 > set lqrperiod 10 > set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 > enable lqr > accept lqr > disable pap > deny pap > disable chap > deny chap > >papchap: > # > # edit the next three lines and replace the items in caps with > # the values which have been assigned by your ISP. > # > > set phone PHONE_NUM > set authname USERNAME > set authkey PASSWORD > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR # Add a (sticky) default route > > >Any ideas will be much appreciated. Thanks. > > -- Cheers, -Dima. > I'm sorry I'm too busy today to give a detailed reply. I copied this email to my friend who has a Windows notebook connecting to my bluetooth server, I think he can help you if he has time:) Here is my ppp configure file, for your reference: == On the client side == thinkpad# cat /etc/ppp/ppp.conf bluetooth: enable lqr accept lqr set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 add default HISADDR enable dns set dial set timeout 0 disable iface-alias deny pap disable pap deny chap disable chap On the client, to connect use /etc/rc.bluetooth start ubt0 rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth == On server side == dino# cat /etc/ppp/ppp.conf # on dino ppp is *only* used with rfcomm as bluetooth LAN # access server. This ppp.conf is written to fit that purpose. rfcomm-server: set timeout 0 set lqrperiod 10 #enable lqr disabled because Xiaojuan's notebook doesn't support lqr accept lqr set ifaddr 192.168.0.120 192.168.0.53-192.168.0.119 255.255.255.0 accept dns enable proxy #enable proxyall disable pap deny pap disable chap deny chap On the server I copied /etc/rc.bluetooth to /usr/local/etc/rc.d/bluetooth.sh and modified it to let the server start up accepting PPP connection. dino# diff /usr/local/etc/rc.d/bluetooth.sh /etc/rc.bluetooth 32,35d31 < # Zhang Weiwu: modifications --- < ## Usage check is disabled < ## Device is set to ubt0 < ## Call sdpd and rfcomm_pppd 154,157c150,153 < #if [ $# -lt 2 ]; then < # usage $0 < # exit 1 < #fi --- > if [ $# -lt 2 ]; then > usage $0 > exit 1 > fi 161,163c157,158 < #dev=$1 < #shift < dev=ubt0 --- > dev=$1 > shift 236,241d230 < # weiwu added: < hccontrol -n ubt0hci inquiry < sdpd < sdptool add --channel=1 LAN < rfcomm_pppd -s -C 1 -l rfcomm-server < echo -n ' bluetooth' From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 07:03:52 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 A879516A4CE for ; Thu, 25 Mar 2004 07:03:52 -0800 (PST) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DDC443D1D for ; Thu, 25 Mar 2004 07:03:52 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep01-mail.bloor.is.net.cable.rogers.com ESMTP <20040325150132.EWFA138614.fep01-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Thu, 25 Mar 2004 10:01:32 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO0002A8; 25 Mar 2004 10:03:45 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 25 Mar 2004 10:03:40 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG0002A7; 25 Mar 2004 10:03:36 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <4062D379.9020500@realss.com> (Zhang Weiwu's message of "Thu, 25 Mar 2004 20:41:29 +0800") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84d6711k72.fsf@nothing.nowhere.com> <4062D379.9020500@realss.com> From: Dmitry Yaitskov Organization: Disorganized Date: Thu, 25 Mar 2004 10:03:36 -0500 Message-ID: <84vfktynnb.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Thu, 25 Mar 2004 10:01:32 -0500 Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN 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: Thu, 25 Mar 2004 15:03:52 -0000 Hi Thanks Zhang. Some new info: I d/loaded a new bluetooth stack from Toshiba, and now I am actually able to connect, via a "modem" on the laptop side. The connection stays up, the problem seems to be with the TCP/IP and/or PPP settings. Here's what happens: After connection, ipconfig says the following about the connection on the laptop side: PPP adapter Direct Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface Physical Address. . . . . . . . . : 00-53-45-00-00-00 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.1.53 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : 192.168.1.53 DNS Servers . . . . . . . . . . . : 192.168.1.1 I'm not sure but the fact that IP addr and the gateway are the same seems wrong to me. On the server, I tried mimicking the config that you posted: rfcomm-server: set timeout 0 set lqrperiod 10 enable lqr accept lqr set ifaddr 192.168.1.120 192.168.1.53-192.168.1.119 255.255.255.0 accept dns enable proxy disable pap deny pap disable chap deny chap Still, the only IP that I can ping from the laptop is the IP address/default gateway one. I guess I'm missing something obvious here... -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 21:44:18 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 8F5A716A4CE for ; Thu, 25 Mar 2004 21:44:18 -0800 (PST) Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED10743D3F for ; Thu, 25 Mar 2004 21:44:17 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep03-mail.bloor.is.net.cable.rogers.com ESMTP <20040326054417.OPOW396979.fep03-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Fri, 26 Mar 2004 00:44:17 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00036D; 26 Mar 2004 00:45:50 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 26 Mar 2004 00:45:26 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00036C; 26 Mar 2004 00:45:22 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <84vfktynnb.fsf@nothing.nowhere.com> (Dmitry Yaitskov's message of "Thu, 25 Mar 2004 10:03:36 -0500") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84d6711k72.fsf@nothing.nowhere.com> <4062D379.9020500@realss.com> <84vfktynnb.fsf@nothing.nowhere.com> From: Dmitry Yaitskov Organization: Disorganized Date: Fri, 26 Mar 2004 00:45:22 -0500 Message-ID: <84brmkupot.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Fri, 26 Mar 2004 00:44:17 -0500 Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN 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: Fri, 26 Mar 2004 05:44:18 -0000 Ok, here's the bottom line: got it working. The missing link was the gateway_enable="YES" line in rc.conf. After that, it all more or less just worked :) Thanks for the advice Zhang. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Apr 28 02:18:49 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 3822916A4CE for ; Wed, 28 Apr 2004 02:18:49 -0700 (PDT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABAC43D58 for ; Wed, 28 Apr 2004 02:18:48 -0700 (PDT) (envelope-from zhangweiwu@realss.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1BIlDI-0006AQ-Sq for freebsd-bluetooth@freebsd.org; Wed, 28 Apr 2004 04:18:45 -0500 Received: from phpmailer ([192.168.0.54]) by euler with HTTP (PHPMailer); Wed, 28 Apr 2004 17:29:02 +0800 Date: Wed, 28 Apr 2004 17:29:02 +0800 To: freebsd-bluetooth@freebsd.org From: =?UTF-8?Q?=E9=9F=A1=E6=AD=A6_=E5=BC=B5?= Message-ID: <9f99fea35dc7b79c89767ba0410aac1a@euler> X-Priority: 3 X-Mailer: PHPMailer [version 1.71] X-Mailer: Dawnmail version 0.9.5 Organization: REAL Softservice MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: the BSD sdpd and the GNU sdpd? 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: Wed, 28 Apr 2004 09:18:49 -0000 Hello. I happen to have lots of problems with sdpd. Very frequently my bluetooth LAN access (over ppp) server is not discoverable, and if it is discoverable, other hosts see no service on that host (even sdpd is = running and LAN access service is registered). This happens randomly, so it's hard to debug. To helping me out, one of the author (or the only author?) wrote me long = ago suggesting me to use GNU sdpd rather than native sdpd. I'm sorry I cannot remember his/her name, that name is a bit too strange to me, very hard to remember. I remember he/she is watching this list too. But I cannot tell = the native sdpd from the gnu one. It's likely I'm using a native one, because = my sdpd does not accept option sdpd -h, nor sdpd --help, which gnu tools usually provide.=20 My problem is, if I'm not using GNU sdpd, where & how to get one? I didn't find it in the port tree. Should I get the source from GNU website and = hope it will compile and work fine on my FreeBSD 5.2? And I wonder if FreeBSD project would like to include the tool in future distriubution. I also use FreeBSD 5.2.1, which include all the tools I = need (like rfcomm_pppd and hccontrol) except sdpd. I hope sdpd can also be included:) Thank you. -- =E9=94=90=E4=B8=9A=E8=BD=AF=E6=9C=8D tel:2086411 From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 16 22:44:07 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 05B6E16A4CE for ; Sun, 16 May 2004 22:44:07 -0700 (PDT) Received: from goldfish.mallochdigital.com (goldfish.mallochdigital.com [202.46.138.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D03143D1D for ; Sun, 16 May 2004 22:44:06 -0700 (PDT) (envelope-from adrian@mallochdigital.com) Received: (qmail 89280 invoked by uid 0); 17 May 2004 05:44:54 -0000 Received: from unknown (HELO mallochdigital.com) (adrian@mallochdigital.com@192.168.0.72) by goldfish.mallochdigital.com with SMTP; 17 May 2004 05:44:54 -0000 Message-ID: <40A85124.8020607@mallochdigital.com> Date: Mon, 17 May 2004 15:44:04 +1000 From: Adrian Thearle Organization: Malloch Digital Design User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Securing Bluetooth Access 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, 17 May 2004 05:44:07 -0000 Howdy all I would like to inquire exactly how I would go about making my bluetooth LAN access a little more secure... That is ONLY allowing clients who have paired with me to connect. Thanks Adrian Thearle From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jul 1 10:50:59 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 3C48A16A4CE for ; Thu, 1 Jul 2004 10:50:59 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63A043D3F for ; Thu, 1 Jul 2004 10:50:58 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id B9A3F60; Thu, 1 Jul 2004 12:49:06 +0200 (CEST) Date: Thu, 1 Jul 2004 12:49:06 +0200 From: Guido van Rooij To: freebsd-bluetooth@freebsd.org Message-ID: <20040701104906.GA55892@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: problem pairing with a Sony-Ericsson T610 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: Thu, 01 Jul 2004 10:50:59 -0000 The subject says it all. I have the following in hcsecd.conf: device { bdaddr 00:0e:07:46:b5:c4; name "Gonz"; key nokey; pin "5449"; } with hcccpontrol I see: beck# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0e:07:46:b5:c4 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x1013 Inquiry complete. Status: No error [00] I can create connections with hccontrol: beck# hccontrol -n ubt0hci Create_Connection 00:0e:07:46:b5:c4 BD_ADDR: 00:0e:07:46:b5:c4 Connection handle: 41 Encryption mode: Disabled [0] beck# hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State 00:0e:07:46:b5:c4 41 ACL 0 MAST NONE 0 0 OPEN beck# hccontrol -n ubt0hci disconnect 41 Connection handle: 41 Reason: Connection terminated by local host [0x16] When I try to pair with hcsecd running (with -d, and a small patch that shows if it receives anything at all in the recvfrom() call), I don't see anything at all. During the pairing attempt, hcidump shows: > HCI Event: Connect Request(0x04) plen 10 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > HCI Event: Command Status(0x0f) plen 4 > HCI Event: Connect Complete(0x03) plen 11 and then the mobile phone says that the connection failed. The system I use is 5.2.1-RELEASE-p4. Relevant output: dmesg: ubt0: vendor 0x413c product 0x8000, rev 1.10/5.65, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 rc.bluetooth start ubt0: BD_ADDR: 00:10:c6:1d:33:d9 Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 Any help on how to proceed is highly appreciated. -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jul 1 18:29:21 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 621D116A4CF for ; Thu, 1 Jul 2004 18:29:21 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 48AC143D4C for ; Thu, 1 Jul 2004 18:29:21 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so3152955cwb for ; Thu, 01 Jul 2004 11:28:16 -0700 (PDT) Received: by 10.11.99.23 with SMTP id w23mr125781cwb; Thu, 01 Jul 2004 11:21:36 -0700 (PDT) Message-ID: Date: Thu, 1 Jul 2004 11:21:36 -0700 From: Maksim Yevmenkin To: Guido van Rooij , freebsd-bluetooth@freebsd.org In-Reply-To: <40E451EE.7090601@cw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40E451EE.7090601@cw.com> Subject: Re: problem pairing with a Sony-Ericsson T610 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: Thu, 01 Jul 2004 18:29:21 -0000 Hello > I have the following in hcsecd.conf: > device { > bdaddr 00:0e:07:46:b5:c4; > name "Gonz"; > key nokey; > pin "5449"; > } looks fine > with hcccpontrol I see: > beck# hccontrol -n ubt0hci inquiry > Inquiry result, num_responses=1 > Inquiry result #0 > BD_ADDR: 00:0e:07:46:b5:c4 > Page Scan Rep. Mode: 0x1 > Page Scan Period Mode: 00 > Page Scan Mode: 00 > Class: 52:02:04 > Clock offset: 0x1013 > Inquiry complete. Status: No error [00] looks fine too > I can create connections with hccontrol: > beck# hccontrol -n ubt0hci Create_Connection 00:0e:07:46:b5:c4 > BD_ADDR: 00:0e:07:46:b5:c4 > Connection handle: 41 > Encryption mode: Disabled [0] > beck# hccontrol -n ubt0hci read_connection_list > Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State > 00:0e:07:46:b5:c4 41 ACL 0 MAST NONE 0 0 OPEN > beck# hccontrol -n ubt0hci disconnect 41 > Connection handle: 41 > Reason: Connection terminated by local host [0x16] you do not have to do it but it looks fine anyway :) > When I try to pair with hcsecd running (with -d, and a small patch that > shows if it receives anything at all in the recvfrom() call), I don't > see anything at all. you won't see anything unless there is link key/pin code request > During the pairing attempt, hcidump shows: > > HCI Event: Connect Request(0x04) plen 10 > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > > HCI Event: Command Status(0x0f) plen 4 > > HCI Event: Connect Complete(0x03) plen 11 hcidump -x would be more useful :) but it looks like you are trying to initiate connection from the phone, right? by default freebsd will accept any connection without authentication. if you really want to make freebsd authenticate incoming connections then you need to # hccontrol -n ubt0hci write_authentication_enable 1 on the other hand you might pair devices by initiating connection to the phone, i.e. for example try to use obexapp(1) to get phone book. the very first time phone asks if you want to add device to the trusted list. that is how i do it on my t68i. and if i need to push data from my phone to pc i just push it. i do not need to pair devices because freebsd does not ask for it. > and then the mobile phone says that the connection failed. well, it is hard to say its really "failed" because i can not tell what status was returned in "Connect Complete" event. next time please use 'hcidump -x'. you also might need to # hccontrol -n ubt0hci write_node_role_switch 0 if your phone does not support role switch, see "troubleshooting" section at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 09:25:06 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 7D5E816A4CE for ; Fri, 2 Jul 2004 09:25:06 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF28943D31 for ; Fri, 2 Jul 2004 09:25:05 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 09FA150; Fri, 2 Jul 2004 11:23:50 +0200 (CEST) Date: Fri, 2 Jul 2004 11:23:49 +0200 From: Guido van Rooij To: Maksim Yevmenkin Message-ID: <20040702092349.GA70090@gvr.gvr.org> References: <40E451EE.7090601@cw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 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: Fri, 02 Jul 2004 09:25:06 -0000 On Thu, Jul 01, 2004 at 11:21:36AM -0700, Maksim Yevmenkin wrote: > > > During the pairing attempt, hcidump shows: > > > HCI Event: Connect Request(0x04) plen 10 > > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > > > HCI Event: Command Status(0x0f) plen 4 > > > HCI Event: Connect Complete(0x03) plen 11 > > hcidump -x would be more useful :) but it looks like you are trying to > initiate connection from > the phone, right? by default freebsd will accept any connection Yep. > without authentication. if you > really want to make freebsd authenticate incoming connections then you need to > > # hccontrol -n ubt0hci write_authentication_enable 1 Before issuing this command I got: beck# ./hcidump -x HCIDump - HCI packet analyzer ver 1.5 device: any snap_len: 65535 filter: 0xffffffff > HCI Event: Connect Request(0x04) plen 10 C4 B5 46 07 0E 00 04 02 52 01 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 C4 B5 46 07 0E 00 00 > HCI Event: Command Status(0x0f) plen 4 00 01 09 04 > HCI Event: Connect Complete(0x03) plen 11 1A 29 00 C4 B5 46 07 0E 00 01 00 then: < HCI Command: Write Authentication Enable(0x03|0x0020) plen 1 01 > HCI Event: Command Complete(0x0e) plen 4 01 20 0C 00 and after a new attempt: > HCI Event: Connect Request(0x04) plen 10 C4 B5 46 07 0E 00 04 02 52 01 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 C4 B5 46 07 0E 00 00 > HCI Event: Command Status(0x0f) plen 4 00 01 09 04 > HCI Event: Connect Complete(0x03) plen 11 1A 29 00 C4 B5 46 07 0E 00 01 00 > > on the other hand you might pair devices by initiating connection to > the phone, i.e. for example try to use obexapp(1) to get phone book. > the very first time phone asks if you want to add device to the > trusted list. that is how i do it on my t68i. and if i need to push > data from my phone to pc i just push it. i do not need to pair devices > because freebsd does not ask for it. I am trying to create a situation where my FreeBSD systems starts executing certain commands when the mobile is in range. I think it is more handy that the mobile initiates the connection. > > > and then the mobile phone says that the connection failed. > > well, it is hard to say its really "failed" because i can not tell > what status was returned in "Connect Complete" event. next time please > use 'hcidump -x'. > > you also might need to > > # hccontrol -n ubt0hci write_node_role_switch 0 > > if your phone does not support role switch, see "troubleshooting" section at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html Bingo! That's it! Thanks a lot! -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 09:28: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 0EDA216A4CE for ; Fri, 2 Jul 2004 09:28:26 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB9FF43D41 for ; Fri, 2 Jul 2004 09:28:25 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id A1A6750; Fri, 2 Jul 2004 11:26:53 +0200 (CEST) Date: Fri, 2 Jul 2004 11:26:53 +0200 From: Guido van Rooij To: Maksim Yevmenkin Message-ID: <20040702092653.GA70378@gvr.gvr.org> References: <40E451EE.7090601@cw.com> <20040702092349.GA70090@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040702092349.GA70090@gvr.gvr.org> cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 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: Fri, 02 Jul 2004 09:28:26 -0000 On Fri, Jul 02, 2004 at 11:23:49AM +0200, Guido van Rooij wrote: > I am trying to create a situation where my FreeBSD systems starts executing > certain commands when the mobile is in range. I think it is more handy > that the mobile initiates the connection. Hmm. It seems there is no 'device out of range' event. Is that correct? -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 16:24:37 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 9F43A16A4E0 for ; Fri, 2 Jul 2004 16:24:37 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.252]) by mx1.FreeBSD.org (Postfix) with SMTP id 69C3943D45 for ; Fri, 2 Jul 2004 16:24:37 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so4307695cwb for ; Fri, 02 Jul 2004 09:23:06 -0700 (PDT) Received: by 10.11.116.64 with SMTP id o64mr89043cwc; Fri, 02 Jul 2004 09:16:26 -0700 (PDT) Message-ID: Date: Fri, 2 Jul 2004 09:16:26 -0700 From: Maksim Yevmenkin To: Guido van Rooij In-Reply-To: <20040702092653.GA70378@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40E451EE.7090601@cw.com> <20040702092349.GA70090@gvr.gvr.org> <20040702092653.GA70378@gvr.gvr.org> cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 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: Fri, 02 Jul 2004 16:24:37 -0000 Hello Guido, [...] > > I am trying to create a situation where my FreeBSD systems starts executing > > certain commands when the mobile is in range. I think it is more handy > > that the mobile initiates the connection. > > Hmm. > It seems there is no 'device out of range' event. Is that correct? no, there is not. when device goes out of range, all active connections to the device are terminated by the link manager (firmware). the host (pc) just gets notification on connection termination. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 26 13:35:21 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 EAA8016A4CE for