Swapping eth0 and eth1 on OK335xS board
2015-09-30 11:40
225 查看
/******************************************************************************* * Swapping eth0 and eth1 on OK335xS board * 声明: * 有时候我们可能希望能够将eth0和eth1的名字换一下。 * * 2015-9-30 阴 深圳 南山平山村 曾剑锋 ******************************************************************************/ 一、参考文档: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/415084/1482324 二、几种网卡接口的缩写全称: Described in the following sections is the 3-port switch (3PSW) Ethernet subsystem. The 3-port switch gigabit ethernet subsystem provides ethernet packet communication and can be configured as an ethernet switch. It provides the gigabit media independent interface (GMII),reduced gigabit media independent interface (RGMII), reduced media independent interface (RMII), the management data input output (MDIO) for physical layer device (PHY) management. 三、修改方法(etc/init.d/rc): ...... #echo `ifconfig -a` ifconfig eth0 down ifconfig eth1 down ip link set dev eth0 name eth2 ip link set dev eth1 name eth0 ip link set dev eth2 name eth1 ifconfig eth0 up ifconfig eth1 up #echo `ifconfig -a` ......
相关文章推荐
- cocos2D v3.x 中action的回调block变化
- 提交App Store ITMS-90474 iPad Multitasking support requires these orientations。ITMS-90032,ITMS-90475
- iOS 毛玻璃效果
- cocos2D v3.x 中action的回调block变化
- cocos2D v3.x 中action的回调block变化
- cocos2d-x 3.2 配置box2d
- IOS常用加密算法
- android Get请求错误的问题 关于编码
- android线程间的通信机制
- iOS下微信语音播放之切换听筒和扬声器的方法解决方案
- 【Android】Broadcast Receiver的基本使用,推一条广播给多个Receiver
- ios9 8 transform变化
- 苹果开发者各地区联系电话
- ios - 解决XCode6在IOS7系统上出现部分黑屏与不适配问题
- IOS——AFN
- 在android中画圆形图片的几种办法
- Flux Architecture on Android
- Android注入完全剖析
- [Android Pro] Fragment中使用SurfaceView切换时闪一下黑屏的解决办法
- Error:Cause: org/gradle/api/publication/maven/internal/DefaultMavenFactory Android