public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] BNEP connection destroing :(
@ 2005-03-01  8:06 Todor Todorov
  2005-03-01  8:42 ` Marcel Holtmann
  2005-03-01 15:40 ` Todor Todorov
  0 siblings, 2 replies; 6+ messages in thread
From: Todor Todorov @ 2005-03-01  8:06 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi. I successful make a bnep connection between my laptop (with Slackware 10.0, kernel 2.4.26 with openmosix 
patch and latest version of bluez libs and bluez pand, but i tryed also with other versions) and desktop PC with 
Windows XP Pro, after few minutes  (not measured), on linux system the bnep0 interface was destroyed.

Attempting to reconnect with pand worked silently, but the bnep0 interface was not created. Workaround was to 
remove and re-insert the dongle on my laptop, then i recreate the bnep connection again.
I make a simple script for making bnep connection with windows machine:

#!/bin/sh
hciconfig hci0 up
#sdpd
#sdptool add LAN
echo "Making PAN connection"
#pand --role PANU -c 00:10:60:A6:1C:30 --service GN
pand --role PANU -c 00:10:60:A6:1C:30 --service PANU
echo "Wait for connection"
sleep 6
echo "Bring UP BNEP"
hcitool lst 00:10:60:A6:1C:30 0
ifconfig bnep0 10.0.0.2 netmask 255.255.255.0
ifconfig bnep0 up
route add default gw 10.0.0.1
rm /etc/resolv.conf
touch /etc/resolv.conf
echo "nameserver 10.13.0.1" > /etc/resolv.conf

This is my kernel config for bluez:

CONFIG_BLUEZ=y
CONFIG_BLUEZ_L2CAP=y
# CONFIG_BLUEZ_SCO is not set
CONFIG_BLUEZ_RFCOMM=y
CONFIG_BLUEZ_RFCOMM_TTY=y
CONFIG_BLUEZ_BNEP=y
# CONFIG_BLUEZ_BNEP_MC_FILTER is not set
# CONFIG_BLUEZ_BNEP_PROTO_FILTER is not set
# CONFIG_BLUEZ_CMTP is not set
CONFIG_BLUEZ_HCIUSB=y
# CONFIG_BLUEZ_USB_SCO is not set
# CONFIG_BLUEZ_HCIUART is not set
# CONFIG_BLUEZ_HCIBFUSB is not set
# CONFIG_BLUEZ_HCIDTL1 is not set
# CONFIG_BLUEZ_HCIBT3C is not set
# CONFIG_BLUEZ_HCIBLUECARD is not set
# CONFIG_BLUEZ_HCIBTUART is not set
# CONFIG_BLUEZ_HCIVHCI is not set

Help me to resolve this problem.
Thank you in advance.


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-05  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-01  8:06 [Bluez-users] BNEP connection destroing :( Todor Todorov
2005-03-01  8:42 ` Marcel Holtmann
2005-03-01 15:40 ` Todor Todorov
2005-03-01 15:56   ` Todor Todorov
2005-03-01 17:16   ` Marcel Holtmann
2005-03-05  9:13     ` Todor Todorov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox