-
-
Save novaDev315/1a807b2b874235efff94fccb5b612d95 to your computer and use it in GitHub Desktop.
Revisions
-
madKoding revised this gist
Jun 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,7 +55,7 @@ We will use this `pairing key` to make Linux pair our keyboard, without re-pairi `sudo nano /var/lib/bluetooth/[Unique ID]/[Mac Address]/info` ``` sudo nano /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info ``` *11)* In the `info` file go to the `[LinkKey]` section and replace the `Key` value with the `pairing key` -
madKoding revised this gist
Jun 13, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,9 +33,9 @@ Node has 1 subkeys and 0 values ``` Like this one equivalent to `00:F4:8D:9E:41:AA` *8)* Enter in each `Unique id` folder to search for your MAC address of your bluetooth device in each `value name` ``` (...)\Services\BTHPORT\Parameters\Keys> cd 00f48d9e41aa (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> ls Node has 0 subkeys and 3 values size type value name [value if type DWORD] @@ -58,12 +58,12 @@ We will use this `pairing key` to make Linux pair our keyboard, without re-pairi sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info ``` *11)* In the `info` file go to the `[LinkKey]` section and replace the `Key` value with the `pairing key` ``` Key=BE7FB1992329D5B26AE2F6962EFD168A ``` *12)* Save and restart the bluetooth service in Linux and you are ready to go ``` sudo service bluetooth restart ``` -
madKoding revised this gist
Jun 13, 2021 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ *1)* Pair ALL bluetooth devices in linux (it is to have the files you will need to edit later) *2)* Pair ALL bluetooth devices in Windows 10. If you know how, get the `MAC address` id from your bluethooth keyboard, we will need it later *3)* Reboot and go back to Linux @@ -24,7 +24,7 @@ chntpw -e SYSTEM cd \ControlSet001\Services\BTHPORT\Parameters\Keys ``` *7)* run `ls` command to show you a `Unique id` lists ``` (...)\Services\BTHPORT\Parameters\Keys> ls Node has 1 subkeys and 0 values @@ -43,14 +43,14 @@ Node has 0 subkeys and 3 values 16 3 REG_BINARY <34885db5f481> ``` *9)* Get the hex code (that we will call friendly: the `pairing key`) from the keyboard `MAC address` value ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> hex 34885dd82480 Value <34885dd82480> of type REG_BINARY (3), data length 16 [0x10] :00000 BE 7F B1 99 23 29 D5 B2 6A E2 F6 96 2E FD 16 8A ....#)..j....... ``` *10)* So... we will copy the `pairing key` that use Wintendo to pair your device: `BE7FB1992329D5B26AE2F6962EFD168A` We will use this `pairing key` to make Linux pair our keyboard, without re-pairing again. We will use now de `Unique Id`, the `MAC Address` and edit this file in your Linux drive: `sudo nano /var/lib/bluetooth/[Unique ID]/[Mac Address]/info` -
madKoding revised this gist
Jun 13, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ *3)* Reboot and go back to Linux *4)* Install `chntpw` package, this is needed to read the registry keys from Wintendo ``` sudo apt-get install chntpw ``` @@ -51,7 +51,7 @@ Value <34885dd82480> of type REG_BINARY (3), data length 16 [0x10] ``` *10)* So... we will copy "the code", `BE7FB1992329D5B26AE2F6962EFD168A`, that is the `pairing key` in Wintendo for your device. We will use this `pairing key` to make Linux pair our keyboard, without re-pairing again. We will use now de `Unique Id`, the `MAC Address` and edit this file in your Linux drive: `sudo nano /var/lib/bluetooth/[Unique ID]/[Mac Address]/info` ``` @@ -63,7 +63,7 @@ sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/ Key=BE7FB1992329D5B26AE2F6962EFD168A ``` *12)* Restart the bluetooth service in Linux and you are ready to go ``` sudo service bluetooth restart ``` -
madKoding revised this gist
Jun 13, 2021 . 1 changed file with 17 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,15 @@ *1)* Pair ALL bluetooth devices in linux *2)* Pair ALL bluetooth devices in Windows 10, if you know how, get the MAC device id from your bluethooth keyboard, we will need it later *3)* Reboot and go back to Linux *4)* Install chntpw package, this is needed to read the registry keys from Wintendo ``` sudo apt-get install chntpw ``` *5)* Mount your Wintendo system drive in Linux and enter to this folder ``` cd /[MountedDrive]/Windows/System32/config ``` @@ -17,54 +19,51 @@ cd /[MountedDrive]/Windows/System32/config chntpw -e SYSTEM ``` *6)* In the `chntpw` raised console, enter in the bluetooth registry keys list like this: ``` cd \ControlSet001\Services\BTHPORT\Parameters\Keys ``` *7)* run `ls` command to show you a `unique id` lists ``` (...)\Services\BTHPORT\Parameters\Keys> ls Node has 1 subkeys and 0 values key name <00f48d9e41aa> ``` Like this one equivalent to `00:F4:8D:9E:41:AA` *8)* Enter in each folder to search for your MAC address from your Bluetooth keyboard in each value ``` cd 00f48d9e41aa (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> ls Node has 0 subkeys and 3 values size type value name [value if type DWORD] 16 3 REG_BINARY <34885dd82480> <- This is our keyboard 16 3 REG_BINARY <34885db5f481> ``` *9)* Get the hex code (that we will call friendly: `the pairing key`) from the MAC address value ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> hex 34885dd82480 Value <34885dd82480> of type REG_BINARY (3), data length 16 [0x10] :00000 BE 7F B1 99 23 29 D5 B2 6A E2 F6 96 2E FD 16 8A ....#)..j....... ``` *10)* So... we will copy "the code", `BE7FB1992329D5B26AE2F6962EFD168A`, that is the `pairing key` in Wintendo for your device. We will use this `pairing key` to make Linux pair our keaboard, without re-pairing again. We will use now de `Unique Id`, the `MAC Address` and edit this file in your Linux drive: `sudo nano /var/lib/bluetooth/[Unique ID]/[Mac Address]/info` ``` sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info ``` *11)* In the `[LinkKey]` section, replace the `Key` value with the `pairing key` ``` Key=BE7FB1992329D5B26AE2F6962EFD168A ``` *12)* Restart the service bluetooth service in Linux and you are ready to go ``` sudo service bluetooth restart ``` -
Jose Luis Gonzalez revised this gist
Apr 18, 2020 . 1 changed file with 19 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,40 +1,41 @@ *1)* Pair ALL bluetooth devices that you will need in Windows 10 and then reboot *2)* Pair ALL bluetooth devices in linux *3)* Install chntpw package ``` sudo apt-get install chntpw ``` *4)* Mount your Windows system drive and enter to this folder ``` cd /[MountedDrive]/Windows/System32/config ``` *5)* Execute this command inside that folder ``` chntpw -e SYSTEM ``` *6)* In the `chntpw` console, run this command that will have the bluetooth device in windows ``` cd \ControlSet001\Services\BTHPORT\Parameters\Keys ``` *7)* run `ls` command, this will shows you the bluetooth port folder ``` (...)\Services\BTHPORT\Parameters\Keys> ls Node has 1 subkeys and 0 values key name <00f48d9e41aa> ``` *8)* Enter to the key retrieved, this is de MAC bluetooth device folder ``` cd 00f48d9e41aa ``` *9)* List the existing devices paired in windows ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> ls Node has 0 subkeys and 3 values @@ -43,26 +44,27 @@ Node has 0 subkeys and 3 values 16 3 REG_BINARY <34885db5f481> ``` *10)* Get the hex MAC values for each bluetooth device ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> hex 34885dd82480 Value <34885dd82480> of type REG_BINARY (3), data length 16 [0x10] :00000 BE 7F B1 99 23 29 D5 B2 6A E2 F6 96 2E FD 16 8A ....#)..j....... ``` *11)* So... we copy the `BE7FB1992329D5B26AE2F6962EFD168A` that will be the pairing key and edit it the linux bluetooth info as this `sudo nano /var/lib/bluetooth/[bluetooth folder as MAC]/[device as MAC]/info` ``` sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info ``` *12)* In the `[LinkKey]` section replace the Key value with the pairing key you copy ``` Key=BE7FB1992329D5B26AE2F6962EFD168A ``` *13)* Restart the service and you are ready to go ``` sudo service bluetooth restart ``` -
Jose Luis Gonzalez renamed this gist
Apr 18, 2020 . 1 changed file with 37 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,46 +1,68 @@ First... pair ALL bluetooth devices that you will need in Windows 10 and then reboot Second... pair ALL bluetooth devices in linux then install chntpw package ``` sudo apt-get install chntpw ``` Mount your Windows system drive and enter to this folder ``` cd /[MountedDrive]/Windows/System32/config ``` Execute this command ``` chntpw -e SYSTEM ``` in the chntpw terminal, go to this folder ``` cd \ControlSet001\Services\BTHPORT\Parameters\Keys ``` run 'ls' command, this will shows you the bluetooth port folder ``` (...)\Services\BTHPORT\Parameters\Keys> ls Node has 1 subkeys and 0 values key name <00f48d9e41aa> ``` Enter to the bluetooth port folder ``` cd 00f48d9e41aa ``` List the existing devices paired in windows ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> ls Node has 0 subkeys and 3 values size type value name [value if type DWORD] 16 3 REG_BINARY <34885dd82480> 16 3 REG_BINARY <34885db5f481> ``` Get the hex values for each bluetooth device ``` (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> hex 98b6e9b42f24 Value <98b6e9b42f24> of type REG_BINARY (3), data length 16 [0x10] :00000 BE 7F B1 99 23 29 D5 B2 6A E2 F6 96 2E FD 16 8A ....#)..j....... ``` So... we copy the BE7FB1992329D5B26AE2F6962EFD168A that will be the pairing key and edit it the linux bluetooth info sudo nano /var/lib/bluetooth/[bluetooth folder as MAC]/[device as MAC]/info ``` sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info ``` In the [LinkKey] section replace the Key value with the pairing key you copy ``` Key=BE7FB1992329D5B26AE2F6962EFD168A ``` Restart the service and you are ready ``` sudo service bluetooth restart ``` -
Jose Luis Gonzalez renamed this gist
Apr 18, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Jose Luis Gonzalez created this gist
Apr 18, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ # First... pair ALL bluetooth devices that you will need in Windows 10 and then reboot # Second... pair ALL bluetooth devices in linux # then install chntpw package sudo apt-get install chntpw # Mount your Windows system drive and enter to this folder cd /[MountedDrive]/Windows/System32/config # Execute this command chntpw -e SYSTEM # in the chntpw terminal, go to this folder cd \ControlSet001\Services\BTHPORT\Parameters\Keys # run 'ls' command, this will shows you the bluetooth port folder (...)\Services\BTHPORT\Parameters\Keys> ls Node has 1 subkeys and 0 values key name <00f48d9e41aa> # Enter to the bluetooth port folder cd 00f48d9e41aa # List the existing devices paired in windows (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> ls Node has 0 subkeys and 3 values size type value name [value if type DWORD] 16 3 REG_BINARY <34885dd82480> 16 3 REG_BINARY <34885db5f481> # Get the hex values for each bluetooth device (...)\BTHPORT\Parameters\Keys\00f48d9e41aa> hex 98b6e9b42f24 Value <98b6e9b42f24> of type REG_BINARY (3), data length 16 [0x10] :00000 BE 7F B1 99 23 29 D5 B2 6A E2 F6 96 2E FD 16 8A ....#)..j....... # So... we copy the BE7FB1992329D5B26AE2F6962EFD168A that will be the pairing key # and edit it the linux bluetooth info # sudo nano /var/lib/bluetooth/[bluetooth folder as MAC]/[device as MAC]/info sudo nano edit /var/lib/bluetooth/00\:F4\:8D\:9E\:41\:AA/34\:88\:5d\:d8\:24\:80/info # In the [LinkKey] section replace the Key value with the pairing key you copy Key=BE7FB1992329D5B26AE2F6962EFD168A # Restart the service and you are ready sudo service bluetooth restart