Author Topic: [Solved] - Best Way to Prevent Bluetooth from Starting?  (Read 3057 times)

cuscotravelservices

  • Sr. Member
  • ****
  • Posts: 104
    • View Profile
    • Cusco Travel Services
[Solved] - Best Way to Prevent Bluetooth from Starting?
« on: November 01, 2014, 08:13:02 PM »
Hi Biff, Blaze et al,

What's the best way to prevent Bluetooth from starting?

Should I just alter the Execution permissions for /etc/init.d/bluetooth so that Nobody can execute it?

Thanks, Michael.
« Last Edit: November 14, 2014, 07:45:11 PM by cuscotravelservices »

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: Best Way to Prevent Bluetooth from Starting?
« Reply #1 on: November 02, 2014, 08:24:59 AM »
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)

cuscotravelservices

  • Sr. Member
  • ****
  • Posts: 104
    • View Profile
    • Cusco Travel Services
Re: Best Way to Prevent Bluetooth from Starting?
« Reply #2 on: November 03, 2014, 06:56:40 PM »
Found some ideas  :) or just purge bluetooth  ;D

http://linuxg.net/how-to-disable-bluetooth-at-startup-5-practical-methods/

Hi Blaze,

I had seen that page already.

So, I decided to try changing the Permissions for Execution to Nobody and that appears to have done the trick.

It requires less User input to manage.

The Motherboard, of the old PC, does not have any Bluetooth hardware on it. However, I suppose it could be possible to connect a USB device with Bluetooth capabilities and then it would be quick to reverse the Permissions when required.

Hasta pronto, Michael.

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: Best Way to Prevent Bluetooth from Starting?
« Reply #3 on: November 03, 2014, 11:15:47 PM »
Solved then  ;)
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)

cuscotravelservices

  • Sr. Member
  • ****
  • Posts: 104
    • View Profile
    • Cusco Travel Services
Re: Best Way to Prevent Bluetooth from Starting?
« Reply #4 on: November 03, 2014, 11:42:10 PM »
Solved then  ;)

Well, I'm hoping so.  ;)

Still don't know if this is the most appropriate method though.

seppalta

  • Guest
Re: [Solved?] - Best Way to Prevent Bluetooth from Starting?
« Reply #5 on: November 14, 2014, 04:25:04 AM »
Quote
Still don't know if this is the most appropriate method though.
To stop bluetooth from runing on your computer, enter the following into the terminal:
                 
Code: [Select]
sudo update-rc.d bluetooth remove.
To restart bluetooth:
                 
Code: [Select]
sudo update-rc.d bluetooth defaultsTo get the exact names of the processes on your computer, install the little tool rcconf, and run in the terminal:
                 
Code: [Select]
sudo rcconf Any of these processes can be stopped or restarted using the recipe just described for bluetooth.
http://lxlinux.com/#21
« Last Edit: November 14, 2014, 04:31:28 AM by seppalta »

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: [Solved?] - Best Way to Prevent Bluetooth from Starting?
« Reply #6 on: November 14, 2014, 03:05:19 PM »
Thanks for clarifying seppalta.  :)
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)

cuscotravelservices

  • Sr. Member
  • ****
  • Posts: 104
    • View Profile
    • Cusco Travel Services
Re: [Solved] - Best Way to Prevent Bluetooth from Starting?
« Reply #7 on: November 14, 2014, 07:44:25 PM »
Thanks seppalta!

To stop bluetooth from runing on your computer, enter the following into the terminal:
                 
Code: [Select]
sudo update-rc.d bluetooth remove.

Curious to know what this actually does, I discovered that the above removes the entries for bluetooth from the files ".depend.start" and ".depend.stop".


To restart bluetooth:
                 
Code: [Select]
sudo update-rc.d bluetooth defaults

The above inserts the entries for bluetooth into the files ".depend.start" and ".depend.stop".


To get the exact names of the processes on your computer, install the little tool rcconf, and run in the terminal:
                 
Code: [Select]
sudo rcconf Any of these processes can be stopped or restarted using the recipe just described for bluetooth.
http://lxlinux.com/#21

Will do.

When I do a Remaster, will the change be incorporated?

Hasta luego, Michael.
« Last Edit: November 14, 2014, 07:47:35 PM by cuscotravelservices »