From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 09:25:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B40C37B401 for ; Tue, 13 May 2003 09:25:50 -0700 (PDT) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 269A743FCB for ; Tue, 13 May 2003 09:25:50 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030513162550.21116.qmail@web40302.mail.yahoo.com> Received: from [165.193.27.35] by web40302.mail.yahoo.com via HTTP; Tue, 13 May 2003 09:25:50 PDT Date: Tue, 13 May 2003 09:25:50 -0700 (PDT) From: Maksim Yevmenkin To: Takanori Watanabe , hackers@freebsd.org In-Reply-To: <3EC11129.3010307@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Bluetooth Interoperability ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 16:25:50 -0000 Hello Takanori, > I do connect two FreeBSD system with rfcomm_pppd, good :) > But I have never succeeded to use Windows XP LAN service from > FreeBSD Bluetooth just to verify. you are saying that WinXP actually *provides* LAN server, right? WinXP actually acts as a *server*? i've never seen this before. anyway, if WinXP *is* providing LAN service than WinXP should answer SPD (Service Discovery Procotol). could you please compile "sdp-1.0rc3" package from snapshot's ports/ directory and then then do # sdptool browse if this gives no output then you could try # sdptool search --bdaddr= LAN depending on you Bluetooth security settings you may need to setup link keys or pin codes in hcsecd(8). this should give you RFCOMM channel number. then you should try to run rfcomm_pppd(8) in *client* mode and try to open connection to the WinXP BD_ADDR and RFCOMM channel. i have no idea how to configure PPP *server* on your WinXP/Bluetooth software. > and FreeBSD LAN service served by rfcomm_pppd from Windows98. 1) you need to run "sdpd" (from sdp-1.0rc3 package) on your FreeBSD box. 2) you need to register LAN service with sdpd on your FreeBSD box # sdptool add --channel= LAN 3) verify local SDP database and make sure you see LAN service. # spdtool browse ff:ff:ff:00:00:00 4) run rfcomm_pppd(8) in server mode on the RFCOMM channel you have specified in the local SDP database 5) depending on you Bluetooth security settings you may need to setup link keys/pin codes in hcsecd(8). 6) run Windows software and do "inquiry" - discover devices in range. 7) click on FreeBSD device and verify that you see LAN service icon. 8) click on the LAN icon and enter you PPP username and password (as configured on FreeBSD side). NOTE: be careful when configuring PPP on FreeBSD side. check your 'default' section in ppp.conf file. *all* commands in the 'defaults' section gets executed *before* you rfcomm PPP section. > The Windows side of bluetooth stack is made by AIPTEK. > > How can I use the bluetooth LAN service from/to Windows? see above. i have tested my code with 3COM, Xircom and WIDCOMM stacks on w2k. if nothing above works. than could you please compile and install "hcidump" package from snapshot ports/ directory and then run it # hcidump -x than try to connect from windows and send me the output. thanks, max __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com