Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: How do I disable bluetooth on boot up?

  1. #21
    Join Date
    May 2008
    Beans
    2

    Re: How do I disable bluetooth on boot up?

    Here the easiest way, i ve try it on lucid.

    go to System > preference > startup application

    Add New

    Fill the command with :

    rfkill block bluetooth

    the other field can be fill as you want..

  2. #22
    Join Date
    Nov 2009
    Location
    /dev/
    Beans
    219

    Re: How do I disable bluetooth on boot up?

    This is absolutely ridiculous! Which moron made the decision to leave BT *on* by default?

    I thought Linux was designed by intelligent people...

  3. #23
    Join Date
    Jul 2009
    Beans
    516
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do I disable bluetooth on boot up?

    Quote Originally Posted by Lokesh123 View Post
    Quote Originally Posted by aaron.lwe View Post
    run this:
    sudo echo "options rfkill master_switch_mode=0" > /etc/modprobe.d/rfkill.conf
    this returns a: bash: /etc/modprobe.d/rfkill.conf: Permission denied

    How to do it?

    Thanks,
    Lokesh
    That command will run echo with root privileges and the redirect will have normal user privileges hence the message you got. For it to work correctly you need to use tee
    Code:
    echo "options rfkill master_switch_mode=0" | sudo tee /etc/modprobe.d/rfkill.conf
    Mark your thread as [SOLVED], use Thread Tools on forum page.

  4. #24
    Join Date
    Dec 2009
    Beans
    2

    Re: How do I disable bluetooth on boot up?

    Quote Originally Posted by btindie View Post
    That command will run echo with root privileges and the redirect will have normal user privileges hence the message you got. For it to work correctly you need to use tee
    Code:
    echo "options rfkill master_switch_mode=0" | sudo tee /etc/modprobe.d/rfkill.conf
    Setting “options rfkill master_switch_mode=0” in /etc/modprobe.d/rfkill.conf did not fix this on HP Mini 5101; the only thing that did was to execute “rfkill block bluetooth” in /etc/rc.local.

    (That HP Mini is still running Lucid.)

  5. #25
    Join Date
    Jul 2009
    Beans
    516
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do I disable bluetooth on boot up?

    I was telling you how to correctly run the command the previous poster gave to update rfkill.conf ....

    I think the command does work, if you only boot into terminal mode. I think the problem is when X starts along with all the other programs which ignore the current status of the bluetooth radio turning it on. When the command is run in rc.local, that is one of the last things that's run on startup and thus turns it off. So bluetooth is loaded as Off -> On -> Off via rc.local, not great I know. It would be good if it remembered the previous setting as it does under Windows. FYI, hciconfig hci0 down does the same thing I think. That's one of my main irritations having Bluetooth turned on at startup when it's not needed - I'd rather it was just left off when the module was loaded.
    Mark your thread as [SOLVED], use Thread Tools on forum page.

  6. #26
    Join Date
    May 2008
    Location
    Lisbon, Portugal
    Beans
    10
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How do I disable bluetooth on boot up?

    In 10.10 the command "rfkill block bluetooth" seems to work.

  7. #27
    Join Date
    Oct 2006
    Location
    Slovakia
    Beans
    590
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: How do I disable bluetooth on boot up?

    Quote Originally Posted by glossywhite View Post
    This is absolutely ridiculous! Which moron made the decision to leave BT *on* by default?

    I thought Linux was designed by intelligent people...
    I second that, unfortunately Ubuntu desktops (both KDE and Gnome) have been painstakingly designed to be as idiot-friendly as possible, giving way to errors such as this one...
    בראשית ברא אלהים את השמים ואת הארץ׃

  8. #28
    Join Date
    Jan 2010
    Beans
    5

    Re: How do I disable bluetooth on boot up?

    Quote Originally Posted by qhoore View Post
    Here the easiest way, i ve try it on lucid.

    go to System > preference > startup application

    Add New

    Fill the command with :

    rfkill block bluetooth

    the other field can be fill as you want..
    Just set this up on 11.10 x64 works a treat - simple is often then best

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •