From: "g.starre" <info@microllix.nl>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] connecting 2 linux pc's
Date: Fri, 25 Feb 2005 10:59:35 +0100 [thread overview]
Message-ID: <421F0517.17219.330641@localhost> (raw)
Hi all,
After a long time trying, I still cannot connect
2 linux PC's together using usb-bluetooth sticks
with rfcomm.
I'm using among others :
knoppix 3.7 CD boot (bootoption knoppix26)
debian PC (2.6.11-rc4-bk10 kernel, unstable dist)
debian laptop (2.6.11-rc4 kernel, unstable dist)
All the modules like
- hci_usb
- rfcomm
- bluetooth
- l2cap
are loaded either by the kernel (/etc/modules) or
by hand using modprobe.
These command's are used to try to setup
a connection :
hciconfig hci0 up
sdptool add sp
rfcomm bind 0 <bdaddr> 1
rfcomm connect 0
While on the "receiving" debian laptop these command's
were issued :
hciconfig hci0 up
sdptool add sp
rfcomm listen /dev/rfcomm0 1
To check connection I use cat/echo (or minicom)
-> echo "hello world" > /dev/rfcomm0
This way I can connect to a pc with some proprietary OS,
but I cannot build a connection between 2 linux pc's.
Yesterday I was able to start a connection between
a debian PC and debian laptop but immedeatily after
pressing the return button on the debian PC the
laptop responded with (rfcomm listen /dev/rfcomm0) :
Press control-c to disconnect
Disconnected
It's probably one bit I have to toggle ;-)
Some settings in hcid.conf :
pairing multi;
lm accept;
lp rswitch,hold,sniff,park;
My rfcomm.conf on the debian PC is
modified like this :
rfcomm0 {
bind yes;
device <bd-address of debian laptop connected BT dongle>;
channel 1;
}
The service was restarted each time the config
was altered with /etc/init.d/bluez-utils stop
and then ..... start
In all the howto's/archives there is a lot of
info how to connect to a phone or some device,
but there's no info how to connect 2 pc's.
Can anyone help ?
Thanks in advance.
grt, geert
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2005-02-25 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-25 9:59 g.starre [this message]
2005-02-28 8:21 ` [Bluez-users] connecting 2 linux pc's Marcel Holtmann
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=421F0517.17219.330641@localhost \
--to=info@microllix.nl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.