This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3354: how to set my-own mac address?

Part Number: AM3354

Tool/software: Linux

Hi,

I'm using ti-processor-sdk-linux-rt-am335x-evm-04.03.00.05.

I don't know whether it's appropriate to ask this issue on this site. But I want some advice from Linux experts.
ASIX USB-to-Ether bridge is on my board. I want to set my-own MAC address to ASIX device permanently.
How to do this correctly?

  1. Write MAC address to /etc/network/interfaces
  2. u-boot env parameter(eth2addr?)
  3. and more other method

I tried to write MAC address to /etc/network/interfaces. But not working... My description is below:

auto eth2
iface eth2 inet static
        address 192.168.3.100
        netmask 255.255.255.0
        hwaddress ether xx:xx:xx:xx:xx:xx

Thanks in advance.
Nishihashi

  • Hi,

    I will have to agree with your point that this forum will not be able to help you with this question since you are asking about a non-TI part.

    But you maybe running into an issue that has been experienced by other users on the TI network interfaces regarding SystemD which is the user run time environment that is launched for the EVM out of the box environment. SystemD is used TI but TI is not an expert on it or able to support it, there is an independent community supporting it.

    Here are a couple of additional comments on your questions:

    - The first question has to do with SystemD and the interfaces file is not directly used by it.

    - The u-boot approach might work if there is a network interface based on it, this again is a SystemD question TI cannot help with. This is probably the area you will need to research further.

    - The only method I can think of to further illustrate the SystemD connection if to please refer to this thread that explains how to assign a static IP, this does not directly help with your MAC id question though but perhaps provides a catalyst for you.

    Link to static IP assignment SystemD

    Best Regards,

    Schuyler