Return-Path: Subject: Re: [Bluez-users] A PAN newbie From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1111012139.11792.46.camel@pegasus> Mime-Version: 1.0 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, 16 Mar 2005 23:28:59 +0100 Hi Eduardo, > I'm starting to use Bluez to create a PAN. I'm using the 2.6.x linux kernel. > I did the following: > > #### > GN: > #### > > Edited the file /etc/bluetooth/hci.conf and enabled the "lm accept, > master" option. > > # hcid -f /etc/bluetooth/hci.conf > # sdpd > # sdptool add GN > # modprobe bnep > # pand --listen --role GN -n > > > #### > PANU: > #### > > # hcid -f /etc/bluetooth/hci.conf > # sdpd > # modprobe bnep > # pand --connect BT_ADDRESS > > > After the connection establishment I configured a LAN with the 10.0.0.0/24 IP > configuration. So: > > #### > GN: > #### > > # ifconfig bnep0 10.0.0.1 netmask 255.255.255.0 > > #### > PANU: > #### > > # ifconfig bnep0 10.0.0.2 netmask 255.255.255.0 > > > At this point I could ping the two host: > > #### > GN: > #### > > # ping 10.0.0.2 # that's ok > > #### > PANU: > #### > > # ping 10.0.0.1 # that's ok > > So, I tried to add a second PANU with: > > # hcid -f /etc/bluetooth/hci.conf > # sdpd > # modprobe bnep > # pand --connect BT_ADDRESS > > It connected with the GN, but when I tried: > # ifconfig bnep0 10.0.0.3 netmask 255.255.255.0 > # ping 10.0.0.1 > > The ping could not reach the GN host even the other > PANU (ping 10.0.0.2). I tried to do a ping from the GN to > the new PANU and from the old PANU to the new PANU > and the problem kept. you will get a second (bnep1) interface on the master machine and thus a bridge is needed to connect these. Regards Marcel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users