/******************************************************************************* * Swapping eth0 and E Th1 on OK335XS Board * Disclaimer: * Sometimes we might want to change the names of Eth0 and eth1. * 2015-9-30 Yin Shenzhen Nanshan Ping Shan village Zengjianfeng **************************************************** **************************/First, reference document: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/415084/1482324two, several network card interface abbreviation full name: describedinchThe following sections isThe3-portSwitch(3PSW) Ethernet subsystem. the3-portSwitchGigabit Ethernet Subsystem provides Ethernet packet communication and can be configured asAn EthernetSwitch. It provides the gigabit media independentInterface(GMII), reduced Gigabit Media IndependentInterface(RGMII), reduced media independentInterface(RMII), the management data input output (MDIO) forPhysical layer Device (PHY) management. Third, the method of modification (ETC/init.d/RC): ... #echo ' ifconfig-a ' ifconfig eth0 down ifconfig eth1 down IP linkSetDev eth0 name eth2 IP linkSetDev eth1 name eth0 IP linkSetDev eth2 name eth1 ifconfig eth0 up ifconfig eth1 up #echo ' ifconfig-a ' ...
Swapping eth0 and eth1 on OK335XS board