This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ethernet problem

hi all,

please help me how to find the MAC address of a device for ethernet coding.
and also please help how to set the MAC address.

we are using the LAN8720 IC for ethernet interface.

Parents
  • Your question is about as simple to answer as if I would ask "Please help me how to find the color of my t-shirt."

    Don't you think it would have been good if you had given a bit more information?

    It really isn't so easy to locate a device if you neither know IP nor MAC and you don't know of any broadcast message that the device responds to.

    But right now, we don't even know if you have a hardware unit you want to find the MAC for, or if you have the source code but don't know where the MAC is specified.

    Actually, we don't know basically anything, except the name of a specific chip. The datasheet for that chip doesn't seem to indicate that there are any magic display on it that will present the used MAC address.

    You might be able to do
    > ping 255.255.255.255
    or
    > ping 224.0.0.1

    And check your arp table.

    But not all devices cares about broadcast ping or multicast ping.

    Or you might consider using the program arp-scan

Reply
  • Your question is about as simple to answer as if I would ask "Please help me how to find the color of my t-shirt."

    Don't you think it would have been good if you had given a bit more information?

    It really isn't so easy to locate a device if you neither know IP nor MAC and you don't know of any broadcast message that the device responds to.

    But right now, we don't even know if you have a hardware unit you want to find the MAC for, or if you have the source code but don't know where the MAC is specified.

    Actually, we don't know basically anything, except the name of a specific chip. The datasheet for that chip doesn't seem to indicate that there are any magic display on it that will present the used MAC address.

    You might be able to do
    > ping 255.255.255.255
    or
    > ping 224.0.0.1

    And check your arp table.

    But not all devices cares about broadcast ping or multicast ping.

    Or you might consider using the program arp-scan

Children