linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Anonymous service setup
@ 2006-04-01 16:19 Christoph Simon
  2006-04-02 17:17 ` Albert Huang
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Simon @ 2006-04-01 16:19 UTC (permalink / raw)
  To: bluez-users

Hi,

I was asked to set up a linux (debian) box, which has an usb bluetooth
dongle, and which would allow anyone passing by and having a bluetooth
enabled device, to fetch some file from the server.

Unfortunately, I'm really stuck with all this, too many TLAs. I
managed to run hciconfig listing the dongle, to scan and inquire a
cellphone and to use l2ping on the MAC address. But there doesn't seem
to be a way to make a basic filetransfer.

When trying with obexftp, the celphone will asked for a PIN, when I
enter that which is written in /etc/bluetooth/pin, but then it just
hangs. In daemon.log, I can see the messages from hcid
"link_key_request" and "pin_code_request" but nothing else. After some
time, both obexftp desists, and the Motorola celphone would reboot. I
have been looking for some sort of debug mode of hcid, but couldn't
find any flag. I also changed the pin_helper line in the config file
to be a shellscript which just outputs "PIN:1234", but still doesn't
work. (the script is executable and works on the shell).

Thus, my first question is, what do I need to do to make this work. I
should work, right? And the second question is, what kind of service I
would have to setup, such that anybody can get some files prepared on
that server, with the minimum hassle of typing pincodes.

Thanks,

-- 
Chris


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-09 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 16:19 [Bluez-users] Anonymous service setup Christoph Simon
2006-04-02 17:17 ` Albert Huang
2006-04-09 20:46   ` Christoph Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).