How to get MacAddesses and Vendor information in surroundings Wifi signals?
-
@Mijaz
Wifi management is outside of the scope of Qt.
You also didnt mention what OS you are on. -
Hi @raven-worx ;
Your reply is appreciated! I am using Linux OS where I want to build the application and basically design the WiFi scanner for in which i will show the MacAddress(es) and SSIDs and Vendor of wifi this extracted information will be stored in tabulated form.
Thanks in advance! -
@Mijaz
"Linux OS" is still not precise enough.
If your distribution uses NetworkManager you can use it's D-Bus interface using Qt's dbus classesAlternatively parse the output of
iw dev wlan0 scan
-
@raven-worx Hi;
Thanks for your reply! Kindly give me any source code example. -
Hi @raven-worx ;
Is it possible to run any other application to run behind the qt application of packet sniffer like wireshark etc. -
Hi @artwaw;
Thanks for your kind reply! I didn't understand the accounts permission boundary, please elaborate on your reply. Wireshark is another application build in different environments I have only its .exe file which will be run in the qt application behind a button in the qt app. When I press the button the Wireshark application should open.
Thanks in Advance! -
-
I don't know if you are aware but on Windows you have basic three accounts levels:
- Administrator: Administrator accounts are special accounts that are used for making changes to system settings or managing other people's accounts. They have full access to every setting on the computer. Every computer will have at least one Administrator account, and if you're the owner you should already have a password to this account.
- Standard: Standard accounts are the basic accounts you use for normal everyday tasks. As a Standard user, you can do just about anything you would need to do, such as running software or personalizing your desktop.
- Standard with Family Safety: These are the only accounts that can have parental controls. You can create a Standard account for each child, then go to the Family Safety settings in your Control Panel to set website restrictions, time limits, and more.
I haven't used Wireshark on Windows for quite some time but one of the problems you might expect is enabling promiscuous mode on the network adapter. If memory serves that requires elevated (admin) privileges.
I strongly suggest levelling up on your system administration skills and general knowledge before diving deep into creating programs that make use of complex system integrations. One has to learn to walk before one will learn to run.
-
Hi
the mac layer is on driver level and Qt has nothing for that as far as i know.Most likely you would need to use a library like
https://www.tcpdump.org/ (Libpcap )to be able to get such information.