public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Todor Todorov <dr_doom@engineer.bg>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] BNEP connection destroing :(
Date: Tue,  1 Mar 2005 10:06:14 +0200	[thread overview]
Message-ID: <1109664374.42242276c644b@mail.orbitel.bg> (raw)

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

             reply	other threads:[~2005-03-01  8:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01  8:06 Todor Todorov [this message]
2005-03-01  8:42 ` [Bluez-users] BNEP connection destroing :( 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

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=1109664374.42242276c644b@mail.orbitel.bg \
    --to=dr_doom@engineer.bg \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox