Talk:Bluetooth Network Aggregation Point

= Upstream config changes =

This howto stopped working for me with bluez-4.69 and above... The problem seems to be, that a different config is needed for NAP to work: pan0 isn't created when pluggin in the dongle (ifconfig -a)... Can't find a better solution than downgrading to bluez-4.66-r1. :-( http://forums.gentoo.org/viewtopic-t-844132-highlight-pan.html

According to bug336845, this problem should have been fixed for bluez>=4.71

No, bugs are closed but not fixed. In previous bluez versions, pan0 was automatically created, but not used with our setup. The packet counters of "ifconfig pan0" always showed zeros. But there were upstream config changes. The /etc/bluetooth/network.service and /etc/bluetooth/network.conf files don't seem to work anymore. The NAP service isn't started when pluging in the dongle. However the NAP service can still be started manually, using a script that was part of older bluez versions. The script is still around on some unmaintained sites and git repositories. I suspect bridging problems in my case. With STP off, I managed to bring up working connections for about 4 seconds, using Opera Mini on the phone, loading Internet pages. The connections crash for unknown reasons. With STP on, the packets are not picked up by the bridge. Checked that with "ifconfig bnep0" showing changing packet counters, while "ifconfig br0" showing hardly any change. And "brctl show" shows that bnep0 is part of br0 (I'm using br0 instead of br1 in the wiki). Anyone got more success with NAP? EDIT: /etc/conf.d/net and brctl don't set a value of 1 for setfd if stp is on, setfd 2 works. The default seems to be 15 then. It can be set to 1 manually though: brctl stp br0 off; brctl setfd br0 1; brctl stp br0 on; brctl showstp br0. Opera Mini is keeping the connection now, and works fine. However the logs show that new connections crash within a few seconds, and the phone does dhcp twice. EDIT: put "setfd 1" before "stp on" in /etc/conf.d/net

It's working again. Config was changed by upstream, and udev support to start daemons was dropped.