All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amateur <ztl.post@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Problem : multi connection with PAN
Date: Thu, 9 Mar 2006 14:55:41 +0800	[thread overview]
Message-ID: <20060309065541.GA10323@163.com> (raw)
In-Reply-To: <20060307105813.97181.qmail@web26503.mail.ukl.yahoo.com>

On Tue, Mar 07, 2006 at 11:58:13AM +0100, BATAILLE Philippe wrote:
> 
>    # network files on each PC:  
> /etc/sysconfig/network-script/ifcfg-bnep0
>    DEVICE=bnep0
>    BOOTPROTO=static
>    BROADCAST=10.255.255.255
>    HWADDR=00:02:72:C6:6E:89         # specific device
> address different 
> for each node
>    IPADDR=10.0.0.x                            # x= 1,
> 2 and 3 for A, B 
> et C respectively
>    NETMASK=255.0.0.0
>    NETWORK=10.0.0.0
>    ONBOOT=no
>    

You should have a configuration file 'ifcfg-bnep1' there for device
benp1 too. Each PAN connection has its interface, named bnep0, bnep1,
and so on.

>    # on GN (bdaddr_A) starting  pand
>    pand -s  -r GN
> 
>    # on each PANU (bdaddr_B, bdaddr_C) creating a
> connection with A
>    pand -c bdaddr_A (on B)
>    pand -c bdaddr_A  (on C)
> 
>    # show the connections on A with 'pand --show'
>    bnep1:bdaddr_C GN

You can see here that you have two interface bnep0 and bnep1, but only
one of them have been configured.

>    bnep0:bdaddr_B GN
> 
>    # on A, ping to B (IP:10.0.0.2)
>    ping 10.0.0.2   (this command is OK)
>   
>    # on A ping to C (IP:10.0.0.3)
>    ping 10.0.0.3  (this command is not OK : Message
> "Host unreachable" )

Not surprisingly.

> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-03-09  6:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07 10:58 [Bluez-users] Problem : multi connection with PAN BATAILLE Philippe
2006-03-09  6:55 ` Amateur [this message]
2006-03-15  4:46   ` BATAILLE Philippe

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=20060309065541.GA10323@163.com \
    --to=ztl.post@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.