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.

A MAC address is a 48 bit identifier assigned to every device connected to a network. They are normally written as 6 octets displayed as hexadecimal digits, for example 08:01:27:0E:25:B8. The first 3 octets identify the manufacturer, the last 3 are to ensure that each address for that manufacturer is unique.

MAC addresses are used for numerous network technologies and most IEEE 802 network technologies, including Ethernet. Logically, MAC addresses are used in the Media Access Control protocol sub-layer of the OSI reference model.

1056 questions
6
votes
3 answers

Apple rejected app because it's transmitting MAC Address without user permission

We had a recently developed app rejected by Apple. Here is their explanation: We found your app does not obtain user consent before collecting the user's personal data, as required by theApp Store Review Guidelines. Specifically, your…
silasjmatson
  • 1,814
  • 18
  • 37
6
votes
2 answers

How to get an IP address from Mac address programmatically on Android?

Programmatically, I got Mac addresses of other Wifi enabled devices from my device on the same network. Same I need to apply here. Is there any apps or any other possibilities to get an IP addresses of each wifi enabled devices on the network by…
Achiever
  • 1,626
  • 10
  • 30
  • 54
6
votes
3 answers

Does the Android Device Emulator have a MAC Address?

I wrote the following code to get the MAC address: WifiManager wimanager = (WifiManager) getSystemService(Context.WIFI_SERVICE); String address = wimanager.getConnectionInfo().getMacAddress(); Log.d("TOKEN", address); This works perfectly on my…
ademar111190
  • 14,215
  • 14
  • 85
  • 114
5
votes
6 answers

How to change MAC address with batch file on Windows 7?

I want to change with simple click (using a batch file) the MAC address of my wireless device. How I'll accomplish this? It needs to choose a random MAC address.
ilhan
  • 8,700
  • 35
  • 117
  • 201
5
votes
4 answers

Verify TCP connection is from same machine by MAC address

Please don't criticise the solution. It's not my design and yes, it sucks. On a computer running Linux, and using C, we need to verify that a TCP connection made to a process is from the same machine. Doing it by IP address is problematic since the…
AlastairG
  • 4,119
  • 5
  • 26
  • 41
5
votes
4 answers

How to get local IP and MAC address C

Possible Duplicate: Linux / C++: Get the IP Address of local computer I am trying to get my local computer's IP and MAC addresses of all interfaces, but I can not really succeed. I need to get it together, so I know which IP belongs to which…
shaggy
  • 631
  • 4
  • 11
  • 22
5
votes
3 answers

How can I get the MAC address from an Android device with Android 11?

We are using NetworkInterface.getHardwareAddress() to get the MAC address, but as we can see from MAC address availability changes in Android 11, now it will not be used for Android 11. Is there a solution to this or any guideline?
Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142
5
votes
1 answer

Static MAC addresses for EC2 instance

Is there a way to have the MAC addresses of an EC2 instance fixed? Some software requires a static MAC address for licensing. How can this be overcome?
Dual1ty
  • 168
  • 1
  • 1
  • 7
5
votes
3 answers

How to get Client IP Address and MAC Address in laravel?

I am working on laravel project. I need to access client's IP Address and MAC Address those who access the website. Is their any way to get both the Addresses. I've used: Request::ip(); I got the IP address of client. But how to get MAC…
Bhuvanesh Soni
  • 206
  • 1
  • 2
  • 9
5
votes
2 answers

Get Unique device id with php or javascript

I'm looking for something that allow me to get devices (pc, Mac, phone and tablet) unique id like a MAC address can be. I need to track all logins into a protected area but i'm unable to find an unique id with whom I can identify the used device. I…
5
votes
0 answers

How to obtain the bluetooth mac addres in android 8.1 and higher programmatically?

We have an Android application where we need to establish a connection between 2 devices via Bluetooth programmatically. String macAddress = android.provider.Settings.Secure.getString(getApplicationContext().getContentResolver(),…
5
votes
0 answers

How to get MAC address of a device through a React app?

In npm we have a facility called as "get-mac-address" which returns the MAC address as an object. I want it to be embedded in my react web app. I feel difficulty bcoz react ES6 doesn't support var getMacAddress = require("get-mac-address")…
Abhinav Kinagi
  • 3,653
  • 2
  • 27
  • 43
5
votes
2 answers

Android: getting different bssid for the same access point

The point of my app is to limit actions based on the network that I am connected to. I chose to define the network by the access point's mac address or BSSID. I'm using WifiInto's getConnectionInfo() and getBSSID() to get the BSSID of the access…
Thomas Oo
  • 379
  • 4
  • 14
5
votes
2 answers

Manage ifaddrs to return MAC addresses as well in Swift

I've got the following code that successfully retrieves all the IPs connected to my router. But I need to a get the MAC Addresses for each IP. So instead of addresses being returned as an array with [ips], be returned as a dictionary [ips:0000000,…
GuiSoySauce
  • 1,763
  • 3
  • 24
  • 37
5
votes
3 answers

Retrieving MAC Address Programmatically - Android

I'm having an issue with retrieving the MAC address of the device programatically, before anyone mentions anything about other posts I have read them already such as: How to find MAC address of an Android device programmatically however I tried…
hero8110
  • 259
  • 4
  • 5
  • 14