From: Eduardo Bezerra <edubezval@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] A PAN newbie
Date: Wed, 16 Mar 2005 13:53:36 -0400 [thread overview]
Message-ID: <a0580c510503160953311ea8e2@mail.gmail.com> (raw)
Hi folks,
I'm starting to use Bluez to create a PAN. I'm using the 2.6.x linux kernel.
I did the following:
####
GN:
####
Edited the file /etc/bluetooth/hci.conf and enabled the "lm accept,
master" option.
# hcid -f /etc/bluetooth/hci.conf
# sdpd
# sdptool add GN
# modprobe bnep
# pand --listen --role GN -n
####
PANU:
####
# hcid -f /etc/bluetooth/hci.conf
# sdpd
# modprobe bnep
# pand --connect BT_ADDRESS
After the connection establishment I configured a LAN with the 10.0.0.0/24 IP
configuration. So:
####
GN:
####
# ifconfig bnep0 10.0.0.1 netmask 255.255.255.0
####
PANU:
####
# ifconfig bnep0 10.0.0.2 netmask 255.255.255.0
At this point I could ping the two host:
####
GN:
####
# ping 10.0.0.2 # that's ok
####
PANU:
####
# ping 10.0.0.1 # that's ok
So, I tried to add a second PANU with:
# hcid -f /etc/bluetooth/hci.conf
# sdpd
# modprobe bnep
# pand --connect BT_ADDRESS
It connected with the GN, but when I tried:
# ifconfig bnep0 10.0.0.3 netmask 255.255.255.0
# ping 10.0.0.1
The ping could not reach the GN host even the other
PANU (ping 10.0.0.2). I tried to do a ping from the GN to
the new PANU and from the old PANU to the new PANU
and the problem kept.
What am I doing wrong?
Any help is very welcome.
cheers,
Eduardo Bezerra Valentin
-------------------------------------------------------
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-03-16 17:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 17:53 Eduardo Bezerra [this message]
2005-03-16 22:28 ` [Bluez-users] A PAN newbie Marcel Holtmann
2005-03-17 13:55 ` Eduardo Bezerra
2005-03-17 14:05 ` Marcel Holtmann
2005-03-17 14:11 ` Eduardo Bezerra
2005-03-17 8:25 ` Xavier Garreau
2005-03-17 11:16 ` 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=a0580c510503160953311ea8e2@mail.gmail.com \
--to=edubezval@gmail.com \
--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.