klotz: hardware* + bluetooth*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. 2021-06-10 Tags: , , , , , , by klotz
  2. 2021-06-10 Tags: , , , , , , by klotz
  3. 2021-06-10 Tags: , , , , , , by klotz
  4. sudo nano /bin/connect-bluetooth.sh

    In that file add
    #!/bin/bash
    sudo bluetoothctl << EOF
    power on
    connect MAC Address »
    exit
    EOF

    Save that file.
    Make it executable

    sudo chmod +x /bin/connect-bluetooth.sh

    Then create a new file
    sudo nano /etc/systemd/system/connect-bluetooth.service

    Add this text:
    Unit »
    Description=Connect Bluetooth

    Service »
    Type=oneshot
    ExecStart=/bin/connect-bluetooth.sh

    Install »
    WantedBy=multi-user.target
    Save that file.

    Then run this command to enable that process
    sudo systemctl enable /etc/systemd/system/connect-bluetooth.service
  5. 2011-05-25 Tags: , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: hardware + bluetooth

About - Propulsed by SemanticScuttle