LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-01-2025, 01:09 AM   #1
Skaperen
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
Blog Entries: 31

Rep: Reputation: 180Reputation: 180
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?
 
Old 01-01-2025, 04:18 PM   #2
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271

Rep: Reputation: 10
Try this:
https://wiki.wireshark.org/CaptureSetup/Bluetooth
 
Old 01-01-2025, 05:06 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,456

Rep: Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216
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.
 
Old 01-04-2025, 09:51 PM   #4
Skaperen
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
Blog Entries: 31

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by michaelk View Post
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.
 
Old 01-04-2025, 10:26 PM   #5
Skaperen
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
Blog Entries: 31

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by gentisle View Post
you are basically saying "Try Wireshark".
 
Old 01-04-2025, 11:20 PM   #6
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271

Rep: Reputation: 10
@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
 
Old 01-14-2025, 07:36 PM   #7
Skaperen
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
Blog Entries: 31

Rep: Reputation: 180Reputation: 180
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.
 
Old 01-14-2025, 07:47 PM   #8
Skaperen
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
Blog Entries: 31

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by gentisle View Post
Code:
https://www.nirsoft.net/utils/bluetooth_viewer.html
nice. even an email for suggestions. thanks.
 
Old Yesterday, 09:53 PM   #9
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 271

Rep: Reputation: 10
Quote:
Originally Posted by Skaperen View Post
nice. even an email for suggestions. thanks.
My pleasure, welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bluetooth Stopped Working "Unknown Bluetooth Controller in /etc/bluetooth/main.conf" PasBern Linux - Hardware 5 06-15-2021 11:39 AM
LXer: Real Time Linux server monitoring with GLANCES monitoring tool LXer Syndicated Linux News 0 12-06-2017 06:51 AM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 10:53 AM
network monitoring:unable to launch nagios network monitoring system oladapo1980 Linux - Newbie 0 07-21-2009 02:45 PM
Monitoring free memory with enterprise monitoring application Steelb Linux - Enterprise 2 02-13-2008 11:10 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration