linux - /etc/udev/rules.d/70-persistent-net.rules无法自动生成
伊谢尔伦
伊谢尔伦 2017-04-17 14:37:00
0
1
991

平台:Kali Linux 64位
1.我删除了/etc/udev/rules.d/70-persistent-net.rules这个文件。
2.电脑重启之后,这个文件并未自动生成。
3./lib/udev/write_net_rules文件也不存在,试了很多方法也不行。
还有什么其他的方法可以生成/etc/udev/rules.d/70-persistent-net.rules文件吗?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
小葫芦

The

/lib/udev/write_net_rules script does not exist and should not be generated.
Knowing the content format of 70-persistent-net.rules, creating one directly should also take effect

# PCI device 0x8086:0x153a (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="6c:0b:84:41:5a:84", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!