Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pand deprecated in bluez-utils
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
StriderA
n00b
n00b


Joined: 09 Sep 2003
Posts: 11
Location: Balad, Iraq

PostPosted: Tue Sep 18, 2007 4:25 am    Post subject: pand deprecated in bluez-utils Reply with quote

So, after researching for a good hour trying to figure out why I didn't have the pand command, I found out that it comes from bluez-utils and only if you use the old-daemons package. This says that it will install DEPRECATED daemons, which I guess pand has become.

So... since it's deprecated now, I would assume there is a better alternative. Anyone know of any?

Also, the how-to should either be updated with new info or stating that bluez-utils should be installed with the old-daemons USE flag.
_________________
Comments should not be used in any way that may be construed as important.
Back to top
View user's profile Send private message
krushia
n00b
n00b


Joined: 10 May 2007
Posts: 10

PostPosted: Fri Oct 26, 2007 8:04 pm    Post subject: Reply with quote

*bump*

I'm trying to figure out the same thing. I can't find any documentation that even begins to explain how to use BlueZ 3.x. I don't think using the old daemons is the right answer. Can anyone please shed some light on this?
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Wed Nov 07, 2007 10:38 pm    Post subject: Up! Reply with quote

Same here.

With my old mobile (Nokia) I used to connect my laptop to Internet using the mobile GPRS line. I used bluetooth+rfcomm to connect to the DUN (Dialup Networking) Profile of my mobile.

Now I have a new mobile (HTC) and it has no DUN profile, but a Bluetooth PAN (Personal Area Network) profile, so I need the pand command to connect to my mobile, but bluez-utils lacks it.

Any help would be appreciated.
Back to top
View user's profile Send private message
binro
l33t
l33t


Joined: 06 May 2005
Posts: 742
Location: Bangkok

PostPosted: Sat Nov 10, 2007 12:44 pm    Post subject: Reply with quote

I am curious too... There is still a pand directory in the bluez-utils source tarball on the BlueZ site.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
binro
l33t
l33t


Joined: 06 May 2005
Posts: 742
Location: Bangkok

PostPosted: Sun Nov 11, 2007 11:46 am    Post subject: Reply with quote

Ah ha! I set PAN to autostart=yes in /etc/bluetooth/network.service, recycled bluetooth and now I see in the syslog:

    Nov 11 18:32:14 opal hcid[15161]: Bluetooth HCI daemon
    Nov 11 18:32:14 opal hcid[15161]: HCI dev 0 registered
    Nov 11 18:32:14 opal hcid[15161]: HCI dev 0 already up
    Nov 11 18:32:14 opal hcid[15161]: Device hci0 has been added
    Nov 11 18:32:14 opal hcid[15161]: Starting security manager 0
    Nov 11 18:32:14 opal hcid[15161]: Device hci0 has been activated
    Nov 11 18:32:14 opal hcid[15161]: Starting SDP server
    Nov 11 18:32:14 opal hcid[15161]: Created local server at unix:abstract=/var/run/dbus-24vE6JGR7Y,guid=f06c55af6f22b1cac0d762004736e83e
    Nov 11 18:32:14 opal serial[15167]: Bluetooth Serial Port daemon
    Nov 11 18:32:14 opal serial[15167]: Registered manager path:/org/bluez/serial
    Nov 11 18:32:14 opal network[15168]: Bluetooth Network daemon
    Nov 11 18:32:14 opal network[15168]: Parsing /etc/bluetooth/network.conf failed: No such file or directory
    Nov 11 18:32:14 opal network[15168]: Failed to claim to interface:
    Nov 11 18:32:14 opal pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
    Nov 11 18:32:14 opal pan1: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
    Nov 11 18:32:14 opal network[15168]: Registered manager path:/org/bluez/network
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/panu
    Nov 11 18:32:14 opal udev-net.sh: /etc/init.d/net.pan0: does not exist or is not executable
    Nov 11 18:32:14 opal udev-net.sh: /etc/init.d/net.pan1: does not exist or is not executable
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/gn
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/nap

So now I need to know the syntax of /etc/bluetooth/network.conf and what goes in /etc/conf.d/net for pan. I assume you alias net.pan0 to net.lo in the usual way. Anybody got any further ideas?

HTH
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
Stefan.qn
n00b
n00b


Joined: 12 Nov 2007
Posts: 2

PostPosted: Mon Nov 12, 2007 10:01 am    Post subject: Reply with quote

oh I was also looking for that for an hour. Is sdpd gone, too?
Newbie OT Question: Is there a way to watch posts in this forum without replying to them? :)

I've found in that post (https://forums.gentoo.org/viewtopic-t-599945) something like:
# Start sdpd (allowed values are "true" and "false")
SDPD_ENABLE=true
but if I put it in my conf.d/bluetooth and restart it still looks like this:
* Starting Bluetooth ...
* Starting hcid ... [ ok ]
* Starting rfcomm ... [ ok ]
Back to top
View user's profile Send private message
ph03
n00b
n00b


Joined: 14 Jan 2005
Posts: 39

PostPosted: Fri Feb 29, 2008 11:54 pm    Post subject: Reply with quote

binro wrote:
Ah ha! I set PAN to autostart=yes in /etc/bluetooth/network.service, recycled bluetooth and now I see in the syslog:

    Nov 11 18:32:14 opal hcid[15161]: Bluetooth HCI daemon
    Nov 11 18:32:14 opal hcid[15161]: HCI dev 0 registered
    Nov 11 18:32:14 opal hcid[15161]: HCI dev 0 already up
    Nov 11 18:32:14 opal hcid[15161]: Device hci0 has been added
    Nov 11 18:32:14 opal hcid[15161]: Starting security manager 0
    Nov 11 18:32:14 opal hcid[15161]: Device hci0 has been activated
    Nov 11 18:32:14 opal hcid[15161]: Starting SDP server
    Nov 11 18:32:14 opal hcid[15161]: Created local server at unix:abstract=/var/run/dbus-24vE6JGR7Y,guid=f06c55af6f22b1cac0d762004736e83e
    Nov 11 18:32:14 opal serial[15167]: Bluetooth Serial Port daemon
    Nov 11 18:32:14 opal serial[15167]: Registered manager path:/org/bluez/serial
    Nov 11 18:32:14 opal network[15168]: Bluetooth Network daemon
    Nov 11 18:32:14 opal network[15168]: Parsing /etc/bluetooth/network.conf failed: No such file or directory
    Nov 11 18:32:14 opal network[15168]: Failed to claim to interface:
    Nov 11 18:32:14 opal pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
    Nov 11 18:32:14 opal pan1: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
    Nov 11 18:32:14 opal network[15168]: Registered manager path:/org/bluez/network
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/panu
    Nov 11 18:32:14 opal udev-net.sh: /etc/init.d/net.pan0: does not exist or is not executable
    Nov 11 18:32:14 opal udev-net.sh: /etc/init.d/net.pan1: does not exist or is not executable
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/gn
    Nov 11 18:32:14 opal network[15168]: Registered server path:/org/bluez/network/nap

So now I need to know the syntax of /etc/bluetooth/network.conf and what goes in /etc/conf.d/net for pan. I assume you alias net.pan0 to net.lo in the usual way. Anybody got any further ideas?

HTH


Any news about this?
Back to top
View user's profile Send private message
Rikz
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 103

PostPosted: Thu Mar 06, 2008 10:44 pm    Post subject: Reply with quote

Almost the same here:
Code:
Mar  7 01:28:05 laptop network[4523]: Bluetooth Network daemon
Mar  7 01:28:05 laptop network[4523]: Parsing /etc/bluetooth/network.conf failed: No such file or directory
Mar  7 01:28:05 laptop network[4523]: Config options: InterfacePrefix=bnep%d, PANU_Script=(null), GN_Script=(null), NAP_Script=(null), GN_Interface=pan0, NAP_Interface=pan1, Security=true
Mar  7 01:28:05 laptop network[4523]: Failed to claim to interface:
Mar  7 01:28:05 laptop pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Mar  7 01:28:05 laptop network[4523]: Registered manager path:/org/bluez/network
Mar  7 01:28:05 laptop network[4523]: Registered server path:/org/bluez/network/nap
Mar  7 01:28:05 laptop network[4523]: Registered server path:/org/bluez/network/gn
Mar  7 01:28:05 laptop network[4523]: Registered server path:/org/bluez/network/panu
Mar  7 01:28:05 laptop network[4523]: filter_function: sender=org.freedesktop.DBus destination=:1.15 obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameAcquired
Mar  7 01:28:05 laptop network[4523]: filter_function: sender=:1.2 destination=(null) obj_path=/org/freedesktop/Hal/Manager interface=org.freedesktop.Hal.Manager method=DeviceAdded


No network interfaces are created. Does this new system without 'pand' and other daemons work at all?
Back to top
View user's profile Send private message
binro
l33t
l33t


Joined: 06 May 2005
Posts: 742
Location: Bangkok

PostPosted: Fri Mar 07, 2008 8:58 am    Post subject: Reply with quote

I think so. I persevered but cannot remember exactly what I did now. :( I created the net.pan0 alias and configured my phone and got a TCP/IP connection, accompanied by a huge number of error messages. I think at that point the routing needed to be set up and I lost interest (my phone connects perfectly well over WiFi). Sorry not to be of more help.
_________________
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Tue Apr 21, 2009 4:24 am    Post subject: Reply with quote

any updates on this please ?
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Tue Apr 21, 2009 5:36 am    Post subject: Reply with quote

I switched to Ubuntu and there blueman ( http://blueman-project.org ) provides seamless nap integration. I never got blueman working with nap on gentoo though.
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Tue Apr 21, 2009 1:32 pm    Post subject: Reply with quote

thanks i'll take a look, u never know things might actually work since u last tried in gentoo, was it in portage and masked then ?
Code:
$ emerge -p bluez

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "net-wireless/bluez" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-wireless/bluez-4.34 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Tiziano Müller <dev-zero@gentoo.org> (28 Nov 2008)
# mask for testing/transition
# blueman needs policykit-gnome

- net-wireless/bluez-4.32 (masked by: package.mask)
- net-wireless/bluez-4.28 (masked by: package.mask)
- net-wireless/bluez-4.21 (masked by: package.mask)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum