2004-04-30 09:39:54

by ALBERT RIBAS GUASCH

[permalink] [raw]
Subject: Re: [Bluez-users] PAN

Hi Marcel,

If I do an hciconfig -a, i get the following info:

hci0:
Type: USB
BD Address: 00:0A:3A:50:14:BC ACL MTU: 192:8 SCO
MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:3963 acl:82 sco:0 events:60 errors:0
TX bytes:3210 acl:37 sco:0 commands:19 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1)
LMP Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)

I don't get any errors on calling dmesg, but I have
DHCP running in eth0 , does this have any influence
on the bluetooth connection?

Now, I've managed to assign IP to bnep0 in both
machines,and when everything is stable, I can ping
from one machine to the other, but I've checked that
sometimes bnep0 gets down, I can see it with
ifconfig -a, and I can assign the IP again, but how
can I do to mantain bnep0 stable?
It is something very strange because sometimes it
works fine for five minutes, others is just a pair
of minutes, and in one of the tests it's been
working for twenty minutes!

I send you the output on hcidump -w before doing a
pair of pings.

Thank you very much!!!!

Albert


----- Missatge original -----
De: Marcel Holtmann <[email protected]>
Data: Dimarts, Abril 27, 2004 1:58 pm
Assumpte: Re: [Bluez-users] PAN

> Hi Albert,
>
> > I already have two computers to try the PAN on them
> > with two USB dongles, but I still have some
problems.
> >
> > In one computer I run:
> >
> > modprobe bnep
> > hcid
> > pand --listen --role GN
> >
> > And in the other one:
> > modprobe bnep
> > hcid
> > pand --connect 00:0A:3A:50:20:3C
> >
> > then, I look at ifconfig (on both sides) and the
> > connection is ok for a while, but when I check
> > ifconfig again it has disappeared!!
> >
> > Then, If _I do a pand --show on the client side, I
> > see nothing, but on the master side, it is shown as
> > if the connection was still ok!
> >
> > Could you help me to mantain stable this
connection??
>
> try to use "ifconfig -a" so you also see
unconfigured interfaces.
> Do you
> have somekind of DHCP running? What Bluetoth chip
is on the Belkin
> dongles (check with "hciconfig -a")? Run "hcidump
-w <file>" as
> root on
> one machine and send us the binary dump file. Do
you see any errors
> whencalling dmesg?
>
> Regards
>
> Marcel
>
>
>


Attachments:
(No filename) (2.46 kB)
file (2.49 kB)
Download all attachments