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
-1
votes
1 answer

Check MAC from log

I currently have a script that checks the MAC address, tt looks like this "m"|"-m" ) if [ ! -n "$2" ] then echo "Enter MAC address" exit 0 fi out1=`cat $dhcp_files/* | grep -i "$2" 2>/dev/null` ip=`cat…
Najkon
  • 85
  • 1
  • 9
-1
votes
1 answer

MAC Address - Privacy

I wrote a program which checks for updates on my server, but I want every request to be logged on the server. Therefore I want to see which request belongs to which computer, I want to use the MAC address for this task. Now my question, if my…
Che Veyo
  • 375
  • 3
  • 14
-1
votes
3 answers

How to pass a 48-bit MAC address as a arguement in a function through a uint_8-bit variable?

Recently, I started working on a project relevant to emac and came across few doubts and blockages with respect to implementation, and decided to post my Q here to get some advise and suggestions from experienced people. At present, I am working on…
PsychedGuy
  • 187
  • 3
  • 11
-1
votes
1 answer

Identifying a public wifi network using MAC its address

The problem I am trying to figure out whether a mobile app user is located within a given wifi network. In order to do the match, I am comparing the MAC address reported by the user to the one sampled manually in advance. I have found that the…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
-1
votes
2 answers

Splitting MAC address on python

I have a MAC address that I have to manipulate just a little. I wish to convert "FF:FF:FF:FF:FF:FF" to "FF FF FF FF FF FF". How can it be done? Thanks for the answers!
pugilon
  • 87
  • 1
  • 2
  • 12
-1
votes
1 answer

Getting the MAC address and IP address of device from Android app

How can I obtain the MAC and IP addresses of the device from an Android application?
-1
votes
2 answers

Error in getting mac address of client machine

Guys I am getting error in the following code in trying to get mac address of client machine in asp.net c#.When I run same code on local machine it works perfectly but when I upload same code to server I get the error as shown below. using…
user3807218
  • 47
  • 1
  • 6
-1
votes
1 answer

Is reciepient's MAC address necessary for TCP connections?

I want to estabilish TCP connection over the internet between 2 computers which are in different local networks(wifi). I have looked for description of TCP protocol, esspecially the structure of TCP header:…
Wojciech Ketrzynski
  • 2,503
  • 2
  • 15
  • 12
-1
votes
1 answer

Know the interface from the mac-address snmp

I have the Mac-Address of one host. I want to know to which interface this host is connected to the cisco switch. I use snmp to do this work. I want to create a script to do this. So how can i do that? Should i know the vlan ? Regards
Abid
  • 91
  • 1
  • 8
-1
votes
1 answer

Does an ipv6 anycast address generated

I read from the rfc that anycast addresses are derived from unicast addresses, but unicast addresses' interface identifiers(IID) is of EUI-64 format, which is generated by link layer address, so we can indicate a link layer address from a unicast…
dspjm
  • 5,473
  • 6
  • 41
  • 62
-1
votes
1 answer

Retrieve remote system information using Java

I have a project requirement for which I need to store the information of a users system like OS, MAC address, etc. whenever he visits the website so that we can uniquely identify the user's machine. I am developing the project in Spring MVC…
ManeetK
  • 675
  • 1
  • 5
  • 11
-1
votes
1 answer

Restrictions on MAC Addresses

I programmed a MAC address generator quite a while ago and I've lost the source code. While I programmed it, I distinctly remember that there were certain rules that needed to be followed to generate a MAC address, but I can't find them. I think it…
-1
votes
2 answers

Run .exe file from linux server to Windows client?

Can .exe file runs From linux server to Windows client.. take a look at this : $command = '../views/macaddress/macaddress.exe'; exec( $command, &$output); var_dump($output,$dir); when i run this on windows the output of var_dump is array(0){ …
user2050079
-1
votes
1 answer

Is the mac address specification of wireless NIC conforming to that of wireless NIC?

By using OID_802_3_PERMANENT_ADDRESS, I can query the mac address of an ethernet card. Intuitively, I think there should exist corresponding OID_802_11_PERMANENT_ADDRESS. However, I find none. If I direct use OID_802_3_PERMANENT_ADDRESS to query the…
xmllmx
  • 39,765
  • 26
  • 162
  • 323
-1
votes
1 answer

How do I display the Android device's MAC address in a TextView on when the app starts

I have a basic Login Screen that the tablet user will log in to, I want to display that particular device's MAC address onscreen when the app starts. Later as I learn more about Android development, and I'm learning slowly, I want to insert the…
Solone
  • 11
  • 3