The Semb + Wever Family
[ start | index | login ]
start > 2009-07-02 > 1

2009-07-02 #1

Created by michaelwever. Last edited by michaelwever, 251 days ago. Viewed 156 times. #6
[diff] [history] [edit] [rdf]
labels
attachments

[SOLUTION] … bnep module in 2.6.27 fails to provide bnep0 device

From a thread in linux-bluetooth@vger.kernel.org where i originally posted troubles getting a working pand connection from my laptop to a mobile phone as a tethered 3G modem. Everything worked in the linux kernel-2.6.26 but was broken in >=kernel-2.6.27

With a new phone months later i finally got it working on post 2.6.26 kernels. I did try posting to back to the list but it's not coming through (whether my subscription is dead or the thread was too application level for list's intention i don't know, and don't care) - but the reply is here for anybody that cares.

> > I'm using the following combination on gentoo:
> > 
> >  linux-2.6.27 (64-bit)
> >  bluez-libs-3.36
> >  bluez-utils-3.36
> 
> The problem exists the same after an upgrade to kernel-2.6.28
> 
> Downgrading to 2.6.26 everything works well.
> The same environment is being used so the userspace seems not at
> fault.

Ok, 6 months down the track i lose my phone and buy a new Sony Ericsson C901. I get the same behaviour but have found by luck a work around.

If i "Browse files on device..." (using gnome's bluetooth-applet) and connect to my phone (establishing, via obex, a bluez connection)

AND THEN run pand -c <bdaddr>

everything works fine, and it played well with NetworkManager.

To simplify, now that i know, I can just run: hcitool cc <baddr> && pand -c <bdaddr>

The successful system log looked like:

> Jun 25 15:30:31 [pand] Connecting to 00:25:E7:0D:5E:6D > Jun 25 15:30:32 [pand] bnep0 connected > Jun 25 15:30:32 [NetworkManager] <info> (bnep0): driver 'btusb' does not support carrier detection.__You must switch to it manually._ > Jun 25 15:30:32 [NetworkManager] <info> (bnep0): new Ethernet device (driver: 'btusb')_ > Jun 25 15:30:32 [NetworkManager] <info> (bnep0): exported as /org/freedesktop/Hal/devices/net_00_03_7a_dc_47_18_ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 1 -> 2_ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): bringing up device._ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): preparing device._ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): deactivating device (reason: 2)._ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 2 -> 3_ > Jun 25 15:30:37 [nm-system-settings] Added default wired connection 'Auto bnep0' for /org/freedesktop/Hal/devices/net_00_03_7a_dc_47_18 > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) starting connection 'Auto bnep0'_ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 3 -> 4_ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) scheduled..._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) started..._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) scheduled..._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 1 of 5 (Device Prepare) complete._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) starting..._ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 4 -> 5_ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) successful._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) scheduled._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 2 of 5 (Device Configure) complete._ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) started..._ > Jun 25 15:30:37 [NetworkManager] <info> (bnep0): device state change: 5 -> 7_ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Beginning DHCP transaction._ > Jun 25 15:30:37 [NetworkManager] <info> dhcpcd started with pid 20383_ > Jun 25 15:30:37 [NetworkManager] <info> Activation (bnep0) Stage 3 of 5 (IP Configure Start) complete._ > Jun 25 15:30:37 [dhcpcd] bnep0: dhcpcd 4.0.13 starting > Jun 25 15:30:37 [NetworkManager] <info> DHCP: device bnep0 state changed normal exit -> preinit_ > Jun 25 15:30:37 [dhcpcd] bnep0: broadcasting for a lease > Jun 25 15:30:37 [dhcpcd] bnep0: offered … from 10.252.177.241 > Jun 25 15:30:37 [dhcpcd] bnep0: acknowledged … from 10.252.177.241 > Jun 25 15:30:37 [dhcpcd] bnep0: checking … is available on attached networks > Jun 25 15:30:42 [dhcpcd] bnep0: leased … for 300 seconds > Jun 25 15:30:42 [NetworkManager] <info> DHCP: device bnep0 state changed preinit -> bound_ > Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) scheduled..._ > Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) started..._ > Jun 25 15:30:42 [NetworkManager] <info> address ..._ > Jun 25 15:30:42 [NetworkManager] <info> prefix 29 (255.255.255.248)_ > Jun 25 15:30:42 [NetworkManager] <info> gateway 10.252.177.243_ > Jun 25 15:30:42 [NetworkManager] <info> nameserver '212.169.123.67'_ > Jun 25 15:30:42 [NetworkManager] <info> nameserver '212.45.188.254'_ > Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) scheduled..._ > Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 4 of 5 (IP Configure Get) complete._ > Jun 25 15:30:42 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) started..._ > Jun 25 15:30:43 [NetworkManager] <info> (bnep0): device state change: 7 -> 8_ > Jun 25 15:30:43 [NetworkManager] <info> Policy set 'Auto bnep0' (bnep0) as default for routing and DNS._ > Jun 25 15:30:43 [NetworkManager] <info> Activation (bnep0) successful, device activated._ > Jun 25 15:30:43 [NetworkManager] <info> Activation (bnep0) Stage 5 of 5 (IP Configure Commit) complete._

no comments | post comment
Semb Wever Family:
>>Family Tree, >>Wedding, & >>Photos
>>Music & Movies
>>Mck's Radio Station
>>Hosted GnuPG Keys

< March 2010 >
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
28293031

Corporate links:
Vet Products|Bokklubben|Finn

Opensource projects:
Scarab|NetBeans


Describe here what your SnipSnap is about!

Configure this box!

  1. Login in
  2. Click here: snipsnap-portlet-2
  3. Edit this box



>>The only thing worse than using cracked/stolen software is actually paying for it.
>>Liberate yourself. Free Software Foundation.


XHTML 1.0 validated CSS validated RSS 2.0 validated SnipSnap Get Firefox! RSS Feed
Powered by Gentoo Linux/GNU






Rainforest Site