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.

AM6548: Rename ethernet interface name

Part Number: AM6548

Hi Ti,

We are using Linux RT SDK 07.01.00.18 on our evm board.

Our goal is to rename the ethernet port name.

For example, rename the eth2 to eth3, and rename eth3 to th2.

We can do this by using ioctl with SIOCSIFNAME via socket from user space.

However, we still want to know is there any possible to achieve this by using shell script?

I have tried to use "ip link set eth2 name eth3" command, but always got "RTNETLINK answers: File exists" .

Thanks.

Eric