Is it possible to use NMAP to find OS using a MAC address - nmap

If I only have a device mac ID (sometimes it is not even connected to a WI-FI network), is it possible to use NMAP to find it's OS?

No. OS detection uses fingerprints based on TCP/IP.
Source

Related

bluetoothctl does not show bluetooth low energy (BLE) device

I would like to pair my Bluetooth Low Energy Sport Watch (Suunto Ambit 3) to my Raspberry PI 3 B V1.2
I am using the RaspianOS Version 10 buster with kernel Version 5.4.79-v7+
This OS contains the bluez stack in version 5.50 which was installed from a predefined package via apt-get.
Usually the ble pairing is done with smartphones under android and IOS. When doing the pairing process the watch offers a pincode which has to be entered by the smartphone.
With nRFConnect app under android the pairing works fine.
When I am running the hcitool on my raspberry and the watch is in pairing mode it appears.
sudo hcitool -i hci0 lescan
but when i try to run the sudo bluetoothctl command with scan on my device does not appear and pairing with the correct mac address does not work either.
Other devices still appear in bluetoothctl
I also had a look into https://github.com/raspberrypi/linux/issues/3689 but this seems that this is only related to newer raspberry pi models.
Do have any idea what hinders my device from being found in the bluetoothctl scan mode or what can I do to pair my device with pin code enabled?
I found a solution by myself.
inside bluetoothctl calling the following sequence
menu scan
transport le
back
scan on
finally enables bluetoothctl to find my watch.
The connect command is then also working.

ethernet testing with Android Tablet 4.2.2

I am planning to develop a Ethernet test tool on android tablet. I know that it's better to run at wireless at Android. But I need the following information.
Does Android has driver support for Ethernet Cable
Does android has driver to access ethernet on USB port?
I know that this is not a programming question. But I found nowhere else to get the answers for these queries. Please don't consider this as off-topic. It would be helpful for me, if I can get the details.
Yes Android includes Ethernet over USB driver, and this function can be accessed by at least two ways:
(1) Adb port forwarding enabled by the following command in terminal. This requires adb being installed. Use any port number you want.
adb forward tcp:1234 tcp:1234
(2) USB tethering. It's usually found in Settings -> Wireless & Networks -> More... -> Tethering & portable hotspot -> USB tethering. If you connect your android device to a Linux computer via micro-USB cable and enable this function, your Linux computer will consider this cable as an "Ethernet" connection (actually shown as 'usb0' by ifconfig).
The answer is Yes. Android has Ethernet over USB Driver. I would use USB tethering. You can find it in Settings -> Wireless & Networks -> More... -> Tethering & portable hotspot -> USB tethering. If you connect your android device to a Linux computer via micro-USB cable.
I was able to find the documentation online for my question.
Thanks for help. I will close this postLink.

How to connect TWO android devices to a pc via USB

I wrote an app which runs on two android tablets at the same time. The app enables both devices to communicate with a java server which is running on the pc, via WLAN socket communication.
The problem with the WLAN connection is that it doesn't always seem to be reliable. So I wanted to setup a socket communication to the server via USB cables.
My problem no is how to connect TWO android devices to the server via USB cables. I found this tutorial for connecting ONE device to the server via ADB, but I see no possibility using this approach for two devices:
http://www.anothem.net/archives/2010/10/15/android-usb-connection-to-pc/
Has anyone an idea how to solve it? Thanks!
If your tablet is runs ICS or newer Android OS, then it is very likely that it has OTG capable micro-USB socket, and you can add a USB-Ethernet dongle, and then connect the 2 tablets to your PC over ethernet, instead of USB. This, might be the most elegant solution.
Of course, you'd need a switch (or hub) to connect them together. Also note that, not all USB-Ethernet dongles may work out-of-the-box. You might have to experiment with few models, especially the el-cheapo ones to get them to work.

Android Emulator - PC Serial Port

I need to prototype an Android application which communicates to external hardware using serial I/O. Can the emulator send and receive serial data over a PC's com port?
The Android emulator itself supports this feature, I see people use
"emulator -qemu -serial COM1" on Windows PC
or
"emulatro -qemu -serial /dev/ttyS0" on Linux PC
I have not tried it by myself yet, but that is the way in the big picture.
I came across this:
http://code.google.com/p/android-serialport-api/
this library will let you use Java to access the serial port on your Android device

WinCE 6.0 on VMWare Player - access host USB Bluetooth dongle

I made an WinCE 6.0 R2 image and load it into VMWare Player 3.1.3. The host operating system is a Windows XP Sp3. I followed this article and all worked fine (the article uses VMWare Workstation, but it worked fine also with VMWare Player).
My final goal is from the virtual machine WinCE to use the Bluetooth USB dongle attached to the Windows XP host computer. In the WinCE image I had added support for Bluetooth USB like in this Mike Hall's post. Also I want to mention that I had included support for USB Host when I created the BSP, and also USB drivers are checked.
When I go in WinCE -> Control Panel -> Bluetooth Device Properties, Bluetooth Manager is launched. But if I try to make a "Scan device" I am getting the following error:
Bluetooth hardware error 10050 (controller not present)
But the dongle is attached to the VMWare Player and disconnected from the host, so theoretically the transport layer is controlled by the virtual machine and WinCE can talk with EHCI of the USB.
Can anyone give me a hint to follow? Any suggestions are welcome.
I have no idea whether the stuff described at http://www.codeproject.com/KB/windows/bth4devemul.aspx is required in your case...
There the FreeBT.NET stack is installed on the host PC to enable the WM emulator to use a host-attached Bluetooth dongle...