General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-01-2025, 01:09 AM
|
#1
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,842
Rep:
|
monitoring bluetooth
i would like to have some tool that can monitor bluetooth traffic over the air and report/show what is going on. for example it would show when devices do pairing, when they connect or disconnect (and what the other device is), when they send data (and what the other device is).
would this be possible to do in Linux?
|
|
|
01-01-2025, 04:18 PM
|
#2
|
Member
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271
Rep:
|
|
|
|
01-01-2025, 05:06 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,456
|
Im not an expert but Bluetooth is encrypted so seeing the data stream over the air is not possible. You might be able to see pairing depending on what version is being used to communicate.
|
|
|
01-04-2025, 09:51 PM
|
#4
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,842
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
Im not an expert but Bluetooth is encrypted so seeing the data stream over the air is not possible. You might be able to see pairing depending on what version is being used to communicate.
|
that makes sense. and i'm glad it is encrypted, despite its short range, a possible excuse for not encrypting it. it might also have been not encrypted due to the expected small scale electronics in small devices like ear-buds. perhaps there is an option, when pairing, to not encrypt so that very tiny devices, with extremely tiny digital electronics, can be supported.
my first goal is to see how much pairing activity there is, and supplemental pairing of new devices that power on or come into range. i can understand encrypting even a target address (including connect), so i would not get to see more than pairing.
Last edited by Skaperen; 01-04-2025 at 10:00 PM.
|
|
|
01-04-2025, 10:26 PM
|
#5
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,842
Original Poster
Rep:
|
Quote:
Originally Posted by gentisle
|
you are basically saying "Try Wireshark".
|
|
|
01-04-2025, 11:20 PM
|
#6
|
Member
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271
Rep:
|
@Skaperen Yes, I misspoke.
Another thing you might consider is a Windows micro-utility called BlueToothView by Nirsoft. From what I read, it will do most of what you want. But of course, it's not Linux, and you can't use it in a script. But perhaps it's so small, that it would work under Wine? Sorry, I would have mentioned this earlier, but my mind hasn't been in Windows mode much lately and I never used those utilities very much. The *nix-like OS' are better. Hope this helps.
Code:
https://www.nirsoft.net/utils/bluetooth_viewer.html
|
|
|
01-14-2025, 07:36 PM
|
#7
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,842
Original Poster
Rep:
|
i mostly skipped Windows. i did use Windows 98 at work. i spent 4 days to get clean install that did not crash daily like it did for everyone. then i got a complaint from a network admin that my desktop was holding some shared volumes open so long that backups would fail to run. he asked me when was the last time it crashed and i replied "2 or 3 weeks ago" and he told me everyone else had a crash daily, even if they were not at work to use it.
i did have a copy of Windows 98 at home. the box was still in shrink wrap. i never used it. it was just on display that way. guess what my 5 PCs were running.
|
|
|
01-14-2025, 07:47 PM
|
#8
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,842
Original Poster
Rep:
|
Quote:
Originally Posted by gentisle
Code:
https://www.nirsoft.net/utils/bluetooth_viewer.html
|
nice. even an email for suggestions. thanks.
|
|
|
Yesterday, 09:53 PM
|
#9
|
Member
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271
Rep:
|
Quote:
Originally Posted by Skaperen
nice. even an email for suggestions. thanks.
|
My pleasure, welcome.
|
|
|
All times are GMT -5. The time now is 10:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|