public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] problems with network via bluetooth
@ 2007-06-02 16:40 Aldo Maggi
  2007-06-04 15:24 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Aldo Maggi @ 2007-06-02 16:40 UTC (permalink / raw)
  To: bluez-users

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

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

end of thread, other threads:[~2007-06-08 22:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 16:40 [Bluez-users] problems with network via bluetooth Aldo Maggi
2007-06-04 15:24 ` Marcel Holtmann
2007-06-04 17:11   ` Raymond Ingles
2007-06-04 19:14     ` Marcel Holtmann
2007-06-08 22:27   ` Aldo Maggi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox