Skip to contentSkip to conversation

bluez pan problem

Bluez-users Ronan Naughton 3 participants 3 messages Mar 8, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,
I am having a problem with setting up a bluez pan between three machines and i don't know what I'm doing wrong.

I set one node ( say B )the GN to listen

                                          pand --listen --master --role GN

I then connect the other two nodes ( A & C )

                                         pand --connect  mac_addr_of_master

I then assign an ip address to A, C and then the master B:

                                          ifconfig bnep0 10.0.0.1
                                          ifconfig bnep0 10.0.0.3
                                          ifconfig bnep0 10.0.0.2

Then for some reason:
The first pc (10.0.0.1) can ping the other PANU and the GN The second pc (10.0.0.3) cannot ping the other PANU or the GN The GN (10.0.0.2 ) can only ping the second pc (10.0.0.3)

Why on earth is this happening. Ip forwarding is turned on on all machines. I have no idea why it won't work-please help!!!!!!!! Regards,
Ronan.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Hi Ronan

Quoted 13 lines

I am having a problem with setting up a bluez pan between three machines and
i don't know what I'm doing wrong.

I set one node ( say B )the GN to listen

                                           pand --listen --master

--role GN

I then connect the other two nodes ( A & C )

                                          pand --connect 
Quoted 8 lines

mac_addr_of_master

I then assign an ip address to A, C and then the master B:

                                           ifconfig bnep0 10.0.0.1
                                           ifconfig bnep0 10.0.0.3
                                           ifconfig bnep0 10.0.0.2

I am not exactly sure about your problem. But I think you should be using the ifconfig bnep0 for the connection with one PANU and ifconfig bnep1 for the other PANU.

Quoted 9 lines

Then for some reason:
The first pc (10.0.0.1) can ping the other PANU and the GN The second pc (10.0.0.3) cannot ping the other PANU or the GN The GN (10.0.0.2 ) can only ping the second pc (10.0.0.3)

Why on earth is this happening. Ip forwarding is turned on on all machines.
I have no idea why it won't work-please help!!!!!!!!

Anyways, do send the output screens when you enter

##> ifconfig bnep0

and

##> ifconfig bnep1

on the three computers. That will help in getting a clearer understanding of your problem. And guys, if I am wrong, please do correct me also...

Regards
Lalith

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#2 lore raw
In reply to Ronan Naughton

Hi Ronan,

Quoted 20 lines

I am having a problem with setting up a bluez pan between three machines and i don't know what I'm doing wrong.

I set one node ( say B )the GN to listen

                                           pand --listen --master --role GN

I then connect the other two nodes ( A & C )

                                          pand --connect  mac_addr_of_master

I then assign an ip address to A, C and then the master B:

                                           ifconfig bnep0 10.0.0.1
                                           ifconfig bnep0 10.0.0.3
                                           ifconfig bnep0 10.0.0.2
Quoted 4 lines

Then for some reason:
The first pc (10.0.0.1) can ping the other PANU and the GN The second pc (10.0.0.3) cannot ping the other PANU or the GN The GN (10.0.0.2 ) can only ping the second pc (10.0.0.3)

from your setup the master must be have to BNEP connection bnep0 and bnep1. You must bring both up and assign an IP to them. Actually you will ran into problems with PANU to PANU connections over the GN. I propose that you build a bridge above every bnepX connection on the master. See the PAN HOWTO and the mailing list archive for more details.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users