Return-Path: Message-ID: <20060315044628.6203.qmail@web26514.mail.ukl.yahoo.com> From: BATAILLE Philippe Subject: Re: [Bluez-users] Problem : multi connection with PAN To: bluez-users@lists.sourceforge.net In-Reply-To: <20060309065541.GA10323@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 15 Mar 2006 05:46:28 +0100 (CET) --- Amateur a ?crit : > 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. Hi, This problem has been resolve by configuring the bridge with 'brctl' code. The multi-connections are allowed only if the 'dev-up' script in /etc/bluetooth/pan is correctly executed by 'pand' program. My problem was that the 'dev-up' script was corrupted and then couldn't add new 'bnepx' interface when a new connection was setup. Regards Phil > > > > > > > > ------------------------------------------------------- > 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 > ___________________________________________________________________________ Nouveau : t?l?phonez moins cher avec Yahoo! Messenger ! D?couvez les tarifs exceptionnels pour appeler la France et l'international. T?l?chargez sur http://fr.messenger.yahoo.com ------------------------------------------------------- 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