Questions tagged [mac-address]
A Media Access Control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment.
1,039
questions
-1
votes
0
answers
39
views
Checking a Mac address in an URL using PHP
I have written a script in PHP that, when my server get an http request in this format "http://provmitel.csprep.hub-t.net/Mac_address.cfg" it check the address mac in the URL and then it ...
0
votes
0
answers
36
views
linux system call sendto() not working for different mac-address
i am using raw sockets in c to craft a custom packet.
The program executes fine if i put my mac adress in eth->h_source.
But, the packet is not sent if i put any other mac address. How can i ...
0
votes
1
answer
75
views
Send a frame ethernet with an arbitrary source MAC address [duplicate]
I'm trying to send a frame Ethernet in a Linux system by the C function sendto(). The frame does not contain any IP level information because the IP protocol is not used in my application.
The sendto()...
0
votes
1
answer
49
views
Unable to retrieve MAC address on Android 11 and above using getHardwareAddress()
I have been using the following code snippet to retrieve the MAC address on Android devices running 9 and 10 successfully: But this function is not working on android 11 and above
public String ...
0
votes
1
answer
61
views
How to change the MAC adress of FPGA ZedBoard
How can I assign different MAC addresses to the FPGA? Currently all the ZedBoards have the same default MAC addresses.
I'm using PetaLinux and my FPGA ZedBoards boot from SD card.
0
votes
1
answer
44
views
Get list of MAC Addresses nearby (without pairing with those devices)
I was wondering if it is possible to uniquely identify Bluetooth devices around you with iOS..
My first idea was to get the MAC address (or any other kind of unique GUID) but I was reading on the ...
-1
votes
1
answer
50
views
Split data in Range of Cells
a) Write VBA code that takes a user-provided MAC address from cell C7
b)Displays the portion of the MAC address that identifies the manufacturer of the hardware network
adapter, with colons, and ...
0
votes
1
answer
46
views
While using painlessMesh for ESP32, how is nodeId calculated based on the MAC adress?
In the documentation for painlessMesh, we can found this statement:
Return the nodeId of the node that we are running on.
On the ESP hardware nodeId is uniquely calculated from the MAC address of the ...
0
votes
0
answers
78
views
Changing Wifi Mac Address in Nox Emulator
I wanted to change Nox emulator mac address but it did not work at all
When I use their commands guidance and using the mac changer part to alter mac address, nothing happens, and when I check from ...
1
vote
1
answer
83
views
How to get Bluetooth device MAC address using Swift mbientlab bluetooth scanner
Working with the MbientLab metawear MetaMotionRL motion sensor. Building mobile app in flutter with both an Android and iOS frontend. Access to the device is via mbientlab API. Using Java for Android ...
0
votes
1
answer
59
views
Extract MAC Address from Ethernet frame [duplicate]
I am trying to extract the Destination & Source MACs from an ethernet frame using python and Linux.
I used the code below to print the bytes of a frame.
s = socket.socket(socket.AF_INET, socket....
1
vote
1
answer
201
views
Flutter/Dart : How to get MAC Address devices on the local network
So as the title suggests, I am trying to gather MAC Addresses from connected devices on my local network. Any idea on how I can achieve this would be helpful!
This is what I have made so far to find ...
0
votes
0
answers
20
views
Node.js - how to find ethernet key on different operation system using "os" module or a npm package
I am working with a service in node.js that communicate with different machines.
Each machine should have a unique identifier when the service emit an event to the main server, so we need to use the ...
0
votes
1
answer
365
views
How to get device MAC address in Flutter DART?
I need to access the MAC address of the device.
I tried many packages like get_mac, mac_address, macadress_gen from pub.dev but always got 02:00:00:00:00:00 as my MAC address, but nothing seems to ...
0
votes
1
answer
51
views
How to insert into POSTGRESQL table mac-address from string value
I use a table with mac-address field.
Now I want to create an insert statement to insert mac address from my edit.
SQL Insert:
cInsertL2IfParams : string = 'INSERT INTO tb_macaddresses(fmacaddr) ' +...
0
votes
1
answer
33
views
Regex for Mac address not working properly
I am using javascript trying to grep everything that is NOT the mac address and remove it.
Here is an example of a string.
var x = "20:ce:c4:00:01:e6 VLAN_ID=0";
I am trying to remove the &...
0
votes
0
answers
157
views
How to get MAC address in AOSP Android 12 STB (using priv-app)?
I'm new to Android STB framework development. I want to get MAC address to my vendor android application. My Android STB version is Android 12.
As per Google official release note we can able to get ...
0
votes
0
answers
37
views
Flutter how to resolve this issue mac_address
[!] No podspec found for mac_address in .symlinks/plugins/mac_address/ios
I want to retrieve the mac address of my iOS phone.
0
votes
0
answers
19
views
Integration of files with MAC in Python (Related to Cryptography)
So I have this assignment of password-protecting public and private keys and then ensuring the integrity of these files with MAC. However, I do not understand what integrity with MAC means?
This is ...
0
votes
0
answers
63
views
The online swf games are which information can see about us?
I have an online swf game that I play via Adobe Flash Player. We wonder that data the swf game can read from us for privacy. Maybe MAC Address, Motherboard name or IP? Thanks.
-1
votes
1
answer
100
views
How to "listen" MAC address in ethernet network?
When we send data to some server on the Internet, we specify its IP and port. If this server, for example, is written in C++, then sockets will be used on the server. But how does it work if we use ...
0
votes
0
answers
57
views
Compliant way to randomly generate an EUI-48 / MAC-48 for point to point communications
I am designing a Linux device that will communication with a windows host via CDC-NCM. As this is intended only for point to point communication I don't need a unique EUI-48 address. I intend to use a ...
0
votes
0
answers
99
views
Is there a way to spoof Mac-Address for selected programs only
Sorry for the noob question, but I want certain programs on my PC to think that my Mac address is xx_xx_xx_xx_xx. Is that even possible or I am thinking about the wrong things.
Explanation if you'd ...
-1
votes
1
answer
25
views
What does mean digits after dots?
can you please help me to know what is the 1a after point mean in the following MAC address? Also why it starts from 01 and after that MAC address starts.
Many thanks!
0174.b2ba.c585.1a
0
votes
1
answer
27
views
I am trying to get ether mac address it is in the second column
ifconfig | grep ether | cut -d " " -f 10
This is how I am trying to get the ether but I am on this for about 2 hours trying to understand why I am selecting 10th column to cut out when ...
0
votes
0
answers
132
views
Android GetPhysicalAddress is returning null
When trying to query the PhysicalAddress of a NetworkInterface in C# (in Unity) specifically on Android, it returns empty rather than the mac address. On Windows (In the Unity Editor) it works ...
0
votes
1
answer
194
views
What permissions are required for NetworkInterface.getHardwareAddress() to access the MAC address?
I have the following code below to access the current devices MAC address. When updating the application to android 11 and higher, NetworkInterface.getHardwareAddress is now returning a null value. I ...
2
votes
1
answer
35
views
SQL: Query to order colums to rows based on type
I've been working on a report based on SCCM data. ;-)
SELECT DISTINCT ResourceID
, AdapterType0
, MACAddress0
FROM V_GS_NETWORK_ADAPTER
WHERE MACAddress0 is not ...
0
votes
1
answer
195
views
Does the bluetooth address of Android device changes after some time?
I am asking this question because I want to create an application which stores the data of the user according to the Bluetooth address of their phones. We can share his profile according to that ...
0
votes
2
answers
96
views
How to get a MAC address through MATLAB?
I am going to design a firewall using MATLAB and I need to get Ethernet data like IP, Port and MAC address to write my filter rules.
How do I obtain those?
0
votes
1
answer
231
views
Layer 2 socket programming
I'm trying to connect to a device just with its mac address. I'm working on Linux-Ubuntu with c language. First I wanna send a simple packet broadcasting so I set destination address to ff:ff:ff:ff:ff:...
1
vote
1
answer
111
views
I cannot access the MAC address of another computer in the network
I am using the macfromip module available in npm. I want to access the mac address of the other computer on the same network with the IP information.Yesterday I was able to access the mac address with ...
0
votes
1
answer
164
views
Nmap - multiple hosts with the same MAC address
I'm using nmap on my local network and saw that the output of sudo nmap 192.168.1.0/24 has multiple hosts that have the same MAC address.
Nmap scan report for 192.168.1.120
Host is up (0.13s latency).
...
1
vote
3
answers
191
views
How to convert MAC Address formats in Perl?
I have to make a Perl script that gets a MAC address in the format HHHH.HHHH.HHHH where "H" is a hex digit, and give me a output of HH:HH:HH:HH:HH:HH. How can I make this conversion in Perl?
...
-1
votes
1
answer
532
views
WARNING: Mac address to reach destination not found. Using broadcast
Why it is giving me this error ?
0
votes
0
answers
75
views
Network scanning with vendor detection - Is it still possible in Android 11?
What would be the best way in Android 11 to go about creating a network scanner that allows me to be able to detect a specific device is in the network so that I can communicate with it?
With Android ...
1
vote
0
answers
75
views
Flutter TextField Mac Address Auto Format
Is there a way to auto format a textfield into Mac Address Format?
Like after every two characters user input, a ':' will be inserted automatically and after 16 characters (excluding the ':') the ...
0
votes
1
answer
39
views
Mapping MAC to Vendor, where is the list?
I have seen tools and website like nmap which map a given mac address to a matching vendor, but my question is:
Where can I retrieve this list from? I'm looking for an authoritative, always up-to-date ...
0
votes
0
answers
70
views
How can I limit the number of devices connected to ESP32 (with mac filter) ESP32 itself is a Wifi router
I want to use the mac address filter to limit the number of devices connected to the ESP32. What can I do to do this?
0
votes
0
answers
410
views
How to find MAC address with IP in Windows
I want to learn the MAC address of specific IP. Actually, what I want is to write a function with Nodejs, that will return the MAC address of the device that is on the same network I gave the IP ...
1
vote
1
answer
860
views
Can I get an unique and permanent device identifier on a Flutter app (iOS)?
I have the requirement to obtain a unique permanent identifier which allows me to identify an iOS device (iPhone) using a Flutter application.
I've understood that the IMEI is impossible to be used ...
0
votes
1
answer
498
views
How to find the connected WIFI MacAddress in Android 9 Programmatically?
Android documentation reference
MAC addresses are globally unique, not user-resettable, and survive
factory resets. For these reasons, to protect user privacy, on Android
versions 6 and higher, ...
0
votes
1
answer
226
views
How to Access Wifi MacAddress on latest Android devices Programmatically?
I was looking for the attributes which make a wifi Access point unique from others so macAddress is one.
Now i'm trying to find the macAddress of connected wifi. I'm following this article which works ...
0
votes
0
answers
118
views
I wanted Encrypt PDF in a Such way that it open with given MAC ADDRESS Device
I am interested to encrypt my pdf file. I used a basic password authentication system. But still, it is not secure. Online tools like ilovepdf, etc brokes my file. I also tried to convert them into ...
-3
votes
1
answer
75
views
Is it possible that many ports of a switch to have the same MAC address in its MAC address table?
I found that it is possible to do so by MAC spoofing. Apart from spoofing, is it possible? If so, in what instances is this possible?
0
votes
1
answer
137
views
Formatting Mac Address in MS Access
New to MS Access. Had a question regarding formatting of a MAC Address in one of my Access forms. There is a field I have set up using an input mask aa:aa:aa:aa:aa:aa;;a where users can manually enter ...
1
vote
1
answer
963
views
Get UUID from mac address on iOS
I'm a new developer developing a BLE service on iOS and Android. Currently there is a problem that I am facing, that the device address on iOS is the UUID mapped from the mac address, and on Android ...
0
votes
1
answer
1k
views
Flutter get Mac Address from iOS device
i have tried to get the mac address from device, on Android i don't have any problems, but on iOS the device give me iOS version instead of MAC Address.
I use this:
import 'package:macadress_gen/...
1
vote
2
answers
565
views
how to make a mac address mask in angular 13
I have an input field in which the user have to type a MAC Address, but i wanted to apply a mask that:
if the person entered with the 12 digits without the ':' it would automatically complete it
if ...
0
votes
1
answer
510
views
How to get MAC Adress on expo project react native?
***when i want to get mac adress using expo-NETWORK ,
it asks for *** "hundling promises"
code :
`
const ipAlert = async () => {
try {
const ip = await Network.getMacAddressAsync('...