解決Linux中遇到No such device


虛擬機備份轉移后,網絡啟動異常,提示“SIOCSIFADDR: No such device”

he problem lies in the fact that ethernet MAC addresses are cached. 

You need to remove a file to clear the cached value: 

問題是由於以太網MAC地址被緩存。 你需要刪除一個文件來清除緩存值:

$ sudo rm /etc/udev/rules.d/70-persistent-net.rules 
$ reboot

重啟后就恢復正常!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM