public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Aldo Maggi <turms@ciaoweb.it>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] problems with network via bluetooth
Date: Sat, 2 Jun 2007 18:40:43 +0200	[thread overview]
Message-ID: <20070602184043.594698c5@topolino> (raw)

my home lan is made up with three desktops.
one of them (GW) has 3 eth cards the first one links to the router
the other 2 connect PC1 and PC2 to GW.
PC1 has 2 eth cards, the first one links it to GW and i use the second
to connect, from time to time, my notebook (NB) to the lan.

recently i have bought 2 bluetooth/usb adapters because i wished to
create a bluetooth net between PC1 and NB

in PC1 i have Ubuntu Gutsy (but i have the problem i'm going to tell
also with Debian Lenny which is installed in PC1 as well) and in the
NB i have Debian Lenny.

the two bluetooth systems see each other:

if i run in the NB:  hcitool scan
correctly get:
11:11:11:11:11:11   paperino-0
 
the same in PC1:
00:15:83:B3:D3:9A    paperinik-0

in PC1 in the /etc/bluetooth/hcid.conf i have the line:
lm accept,master;

in NB in the same file:
lm accept;

in PC1 i run:
pand  --listen --role NAP

in NB i run:
pand --role PANU --persist --search

and i can read in the relevant /var/log/daemon.log the following:
in PC1 - pand: new Connection from 00:15:83:B3:D3:9A bnep0
in NB - pand: Connecting to 11:11:11:11:11:11
        pand: bnep0 Connected

then i run
in PC1: ifconfig bnep0 192.168.6.1 netmask 255.255.255.0
in  NB: ifconfig bnep0 192.168.6.2 netmask 255.255.255.0

and i can read in the relevant /var/log/daemon.log the following:
in PC1
Jun  2 18:15:59 paperino avahi-daemon[4819]: Joining mDNS multicast
group on interface bnep0.IPv4 with address 192.168.6.1. 
Jun  2 18:15:59
paperino avahi-daemon[4819]: New relevant interface bnep0.IPv4 for
mDNS. 
Jun  2 18:15:59 paperino avahi-daemon[4819]: Registering new
address record for 192.168.6.1 on bnep0.IPv4. 
Jun  2 18:16:00 paperino
avahi-daemon[4819]: Registering new address record for
fe80::1311:11ff:fe11:1111 on bnep0.*. 
Jun  2 18:19:53 paperino
ntpd[4885]: Listening on interface #7 bnep0,
fe80::1311:11ff:fe11:1111#123 Enabled 
Jun  2 18:19:53 paperino
ntpd[4885]: Listening on interface #8 bnep0, 192.168.6.1#123 Enabled

and in NB
Jun  2 18:17:07 paperinik avahi-daemon[2750]: New relevant interface bnep0.IPv4 for mDNS.
Jun  2 18:17:07 paperinik avahi-daemon[2750]: Joining mDNS multicast group on interface bnep0.IPv4 with address 192.168.6.2.
Jun  2 18:17:07 paperinik avahi-daemon[2750]: Registering new address record for 192.168.6.2 on bnep0.

the 192.168.6.0 net on bnep0 is correctly shown by netstat -nr in both
PC1 and NB

but if i do ping from one machine the ip of the other i get Destination
Host Unreachable 

where do you think i'm wrong?
thanks

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2007-06-02 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 16:40 Aldo Maggi [this message]
2007-06-04 15:24 ` [Bluez-users] problems with network via bluetooth Marcel Holtmann
2007-06-04 17:11   ` Raymond Ingles
2007-06-04 19:14     ` Marcel Holtmann
2007-06-08 22:27   ` Aldo Maggi

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=20070602184043.594698c5@topolino \
    --to=turms@ciaoweb.it \
    --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