Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 39464
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 60304
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Rolf <mi.rolf@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bluetooth.tgz Updated bluetooth init.d script and associated conf.d application/x-gzip-compressed Michael Richmond 2004-01-30 13:04 0000 1.50 KB Details
bluetooth.tgz Second update of bluetooth init.d and conf.d files application/x-gzip-compressed Michael Richmond 2004-01-31 23:03 0000 1.50 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 39464 depends on: Show dependency tree
Bug 39464 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-26 08:47 0000
At the moment /etc/init.d/bluetooth will start and stop hcid, sdpd and
hciattach. 
One bluez-daemon is missing: pand

Why not add handling of pand to the bluetooth script?


Reproducible: Always
Steps to Reproduce:

Actual Results:  
I have to start pand manually, write my own pand start script or have to patch
the  bluetooth script on my own.

Expected Results:  
The bluetooth script should be handle pand like all the other bluez daemons.

A little config file (e.g. in /etc/bluetooth or /etc/conf.d) is needed to tell
the script in which mode (none = only client mode, NAP oder GN) the pand have
to
be started.

------- Comment #1 From Michael Richmond 2004-01-30 13:04:42 0000 -------
Created an attachment (id=24657) [details]
Updated bluetooth init.d script and associated conf.d

I've updated the bluetooth config script to start the dund server and set up
appropriate ip forwarding. Options to turn this off can be found in the
associated conf.d file.

This version should replace the current bluetooth init.d script.

This does not yet start the pand daemon but it does start everything else. I
will include pand once I find the appropriate arguments and can test it.

------- Comment #2 From Michael Rolf 2004-01-31 08:18:44 0000 -------
My configuration for pan is very easy. I added only the following line to
/etc/init.d/bluetooth

start-stop-daemon --start --quiet --exec /usr/bin/pand -- -s -r GN

Ip configuration is done by another script: /etc/init.d/net.bnep0 (a copy of
the net.eth0 script) and firewall configuration is done by /etc/init/iptables.

I think that the user can make enhanced configurations (e.g. bridged ethernet)
in /etc/init.d/net.bnep0, too.

So, in my opinion, /etc/init.d/bluetooth must only look if pand exist, if the
user wants to start pand and if the user wants to use the GN or NAP role.

Michael

------- Comment #3 From Michael Richmond 2004-01-31 23:03:51 0000 -------
Created an attachment (id=24719) [details]
Second update of bluetooth init.d and conf.d files

This bluetooth startup script now optionally starts dund and pand.

dund options and optional forwarding is configurable in the
/etc/conf.d/bluetooth file.

pand startup option in /etc/conf.d/bluetooth file.

This update replaces previous files.

------- Comment #4 From Alastair Tse (RETIRED) 2004-03-28 18:11:06 0000 -------
not kernel related

------- Comment #5 From Alastair Tse (RETIRED) 2004-07-24 12:57:55 0000 -------
don't actually have any bluetooth devices myself that are capable of pand ..
but will look into this.

------- Comment #6 From Florian Ehrenthal 2004-08-16 09:07:25 0000 -------
hi i recently came across the sames issues
please have a look at my solution bug #60304

------- Comment #7 From Alastair Tse (RETIRED) 2004-09-21 16:06:38 0000 -------

*** This bug has been marked as a duplicate of 60304 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug