linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] PAN over bluetooth - no TCP/IP activity
@ 2006-06-02 14:53 Stefan
  2006-06-02 15:07 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan @ 2006-06-02 14:53 UTC (permalink / raw)
  To: bluez-users

Hello,

I'm trying to create a PAN between a laptop and a desktop computer. 

I carefully followed the instructions for creating a PAN network
(http://bluez.sourceforge.net/contrib/HOWTO-PAN).

Right now I am able to connect, ending up with correct and configured "bnep0"
interfaces on both computers.

The problem is, that I can not even ping them. After a lot of tries, I figured
out, that if I put the bnep0 interface in promiscuous mode, using 

ifconfig bnep0 promisc (at the NAP side)

then ICMP packets starts flowing, and the both nodes are able to ping each
other. But that's all. 

On both nodes hcid & sdpd are running, bnep module is loaded, kernel version is
2.6.16 (Fedora Core 4), bluez-utils 2.15

Here is what I do:

@NAP: # pand -s -r NAP
@PANU: # pand -Q -r PANU -d NAP
@Both (after a while): # ifconfig bnep0 10.0.0.x netmask 255.255.255.0 up
@both: # ifconfig bnep0
bnep0     Link encap:Ethernet  HWaddr 11:11:11:11:11:11
          inet addr:10.0.0.x  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:478 (478.0 b)  TX bytes:64 (64.0 b)


Accoring to all docs I read, at this poing both nodes should be able to ping
each other. But they are not!

I don't know how important is, but just in case, here is the output of

# hciconfig hci0 -a

@Desktop NAP (USB dongle):

hci0:   Type: USB
        BD Address: 11:11:11:11:11:11 ACL MTU: 678:8 SCO MTU: 48:10
        UP RUNNING PSCAN ISCAN
        RX bytes:1076 acl:25 sco:0 events:42 errors:0
        TX bytes:657 acl:19 sco:0 commands:17 errors:0
        Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: ACCEPT MASTER
        Name: 'experta'
        Class: 0x120104
        Service Classes: Networking
        Device Class: Computer, Desktop workstation
        HCI Ver: 1.2 (0x2) HCI Rev: 0x1fe LMP Ver: 1.2 (0x2) LMP Subver: 0x1fe
        Manufacturer: Integrated System Solution Corp. (57)

@Laptop PANU (IBM/Lenovo Z60m):

hci0:   Type: USB
        BD Address: 00:14:A4:DF:2D:C8 ACL MTU: 1017:8 SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:133516 acl:2949 sco:0 events:6546 errors:0
        TX bytes:108738 acl:3185 sco:0 commands:1594 errors:0
        Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'lenovo'
        Class: 0x120104
        Service Classes: Networking
        Device Class: Computer, Desktop workstation
        HCI Ver: 2.0 (0x3) HCI Rev: 0x206c LMP Ver: 2.0 (0x3) LMP Subver: 0x4132
        Manufacturer: Broadcom Corporation (15)

Could you please help me!

Regards,
Stefan




_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-06-04 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-02 14:53 [Bluez-users] PAN over bluetooth - no TCP/IP activity Stefan
2006-06-02 15:07 ` Marcel Holtmann
2006-06-02 15:31   ` Peter Stephenson
2006-06-04 12:34     ` Stefan

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).