public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] can't add bnep0 to bridge pan0: Invalid argument
Date: Mon, 13 Nov 2006 09:19:01 +0100	[thread overview]
Message-ID: <1163405941.26272.43.camel@localhost> (raw)
In-Reply-To: <4550E041.80201@op.pl>

Hi,

> First of all I'm not completely sure if this is the right group to post
> to but since I get no error messages in logs, I hope nobody will feel
> offended.
> 
> I'm trying to create an NAP under kernel 2.6.18.2 (description from
> http://bluez.sourceforge.net/contrib/HOWTO-PAN). I use an USB BT dongle
> from Integrated System Solution Corp. and it's been recognised as follows:
> 
> ~# hciconfig -a
> hci0:   Type: USB
>         BD Address: 11:11:11:11:11:11 ACL MTU: 678:8 SCO MTU: 48:10
>         UP RUNNING PSCAN ISCAN AUTH ENCRYPT
>         RX bytes:101 acl:0 sco:0 events:13 errors:0
>         TX bytes:299 acl:0 sco:0 commands:13 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: 'tempac'
>         Class: 0x020100
>         Service Classes: Networking
>         Device Class: Computer, Uncategorized
>         HCI Ver: 1.2 (0x2) HCI Rev: 0x1fe LMP Ver: 1.2 (0x2) LMP Subver:
> 0x1fe
>         Manufacturer: Integrated System Solution Corp. (57)
> 
> The problem turn up when I try (after establishing connection) to add
> bnep0 interface to pan0 bridge interface. After
> 
> ~# brctl addif pan0 bnep0
> 
> I get:
> 
> can't add bnep0 to bridge pan0: Invalid argument
> 
> (bnep0 has IP 0.0.0.0 after ifconfig bnep0 0.0.0.0 and is up, though I
> get no answer on ping which I could be a routing problem actually. Also
> adding eth1 makes no problems).
> 
> As I said, no messages in logs, no more information. What's wrong?

you have a dongle with an invalid BD_ADDR. Return that dongle and get
one which has a valid address. Dongles using this address can't be added
to a bridge.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-11-13  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 19:36 [Bluez-devel] can't add bnep0 to bridge pan0: Invalid argument R.M.M
2006-11-13  8:19 ` Marcel Holtmann [this message]
2006-11-14 16:43   ` R.M.M
2006-11-14 16:54     ` Marcel Hilzinger

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=1163405941.26272.43.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@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