How to enable blueZ bluetooth daemon again after shutting do

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to enable blueZ bluetooth daemon again after shutting do

Postby k273 on Mon Mar 14, 2011 5:46 am

Recently I noticed this trouble on my HP notebook that each and every time I disabled/turned off bluetooth (either from Windows or Mint) and then shut the computer down, when I boot into Mint 10 I cannot get blueman bluetooth manager to run. It always said:
"blueZ daemon not running, blueman-manager cannot continue."

Now the laptop has a dedicated wireless switch button (for WiFi and/or Bluetooth) that works fine in Windows, but doesn't function at all in Mint (wireless signal LED just stayed red instead of turning blue). So for me non-terminal user it was a dead end. Blueman GUI (to turn on bluetooth) wouldn't display because blueZ daemon itself was disabled. It's very circular. And I knew I didn't do anything at all that had made blueZ uninstalled. And I knew I have to go terminal.

I looked up for some answers in the internet but almost everything came up with lengthy explanations to check my bluetooth daemon installation, install bluetooth daemon, etc. I knew there's nothing wrong with anything installation and all, it's just about enabling/disabling it. I searched again until I found the single, easy answer that works for all Debian-based distro.

So, anytime I want to enable bluetooth in Mint, in terminal, I just have to type
sudo /etc/init.d/bluetooth start

then I can go back to GUI, in start menu or any other shortcut click my bluetooth manager (whether gnome-bluetooth or blueman), after which there will be a message saying:
"Bluetooth must be enabled to run bluetooth manager."
and options 1)no 2)enable bluetooth below it. Just click enable bluetooth and my wireless LED turns to blue again.

To turn off your bluetooth again just in case you want it, you can type
sudo /etc/init.d/bluetooth stop

To start bluetooth daemon automatically so you're avoided the hassle each time you boot into Linux, just type
/etc/init.d/bluetooth start
in Mint startup applications (Linux Mint start menu>Preferences>Startup Applications, click [Add] button), in command box, and give it any name you want.
But the easiest thing to do is never turn off your bluetooth before shutting down your computer:-D

I decided to post this because from what I experienced it's not easy for me in the internet to find the answer to the problem I encountered, easy as an answer as it might be, and the answers existing was convoluted in other stuff which may or may not be related). And to several people who've been asking (I read many of this in other websites and forums): this works whatever is the brand your PC or laptop. Just be sure that your hardware is ok and blueZ daemon is installed (that again;-) )
k273
Level 1
Level 1
 
Posts: 45
Joined: Sun Mar 06, 2011 3:38 pm
Location: Cimahi, IDN

Linux Mint is funded by ads and donations.
 

Re: How to enable blueZ bluetooth daemon again after shuttin

Postby vincent on Fri Mar 18, 2011 5:45 am

k273 wrote:To start bluetooth daemon automatically so you're avoided the hassle each time you boot into Linux, just type
/etc/init.d/bluetooth start
in Mint startup applications (Linux Mint start menu>Preferences>Startup Applications, click [Add] button), in command box, and give it any name you want.


As a side note, any command that needs to be run with root privileges at bootup should not go into gnome-session-properties as advised above, but should be put in /etc/rc.local instead.
Code: Select all
gksudo gedit /etc/rc.local
Debian Testing x64/LM9 Main x64/Windows 7 x64 - LG R580 laptop w/ Intel Core 2 Duo T6500 2.1 GHz, 4 GB DDR2 RAM, Nvidia Geforce G 105M, Ralink rt2860 802.11n, 300 GB WD HD 5400 rpm
vincent
Level 8
Level 8
 
Posts: 2221
Joined: Tue Feb 09, 2010 4:10 am

Re: How to enable blueZ bluetooth daemon again after shuttin

Postby k273 on Fri Mar 18, 2011 11:59 am

Thanks for the info, Vincent!

I really am just searching my way around Linux now, and any help is very welcome.
k273
Level 1
Level 1
 
Posts: 45
Joined: Sun Mar 06, 2011 3:38 pm
Location: Cimahi, IDN


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 3 guests