linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Simon <ml133@netpole.com.br>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Anonymous service setup
Date: Sat, 1 Apr 2006 13:19:49 -0300	[thread overview]
Message-ID: <20060401131949.fdb6d992.ml133@netpole.com.br> (raw)

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

             reply	other threads:[~2006-04-01 16:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01 16:19 Christoph Simon [this message]
2006-04-02 17:17 ` [Bluez-users] Anonymous service setup Albert Huang
2006-04-09 20:46   ` Christoph Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060401131949.fdb6d992.ml133@netpole.com.br \
    --to=ml133@netpole.com.br \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).