linux怎么改网卡名?

jack_jones 发布于 2014/06/21 21:09
阅读 287
收藏 0

在终端下执行ifconfig,显示:

p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.103  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::f66d:4ff:fe15:523d  prefixlen 64  scopeid 0x20<link>
        ether f4:6d:04:15:52:3d  txqueuelen 1000  (Ethernet)
        RX packets 988  bytes 467854 (456.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1407  bytes 253393 (247.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 1  collisions 0


wls1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 48:5d:60:ea:9d:b4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



网卡为什么不是eth0和eth1呢?

要怎么改?


加载中
0
Zirconi
Zirconi

Fedora吗?

http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming

0
nut
nut
看下udev相关
0
红叔
红叔
vi /etc/sysconfig/network-scripts/ifcfg-eth0

修改DIVICE值即,修改设备名称。

返回顶部
顶部