我在VMwear安裝操作CentOS的時候,忘記選擇自動開啟自動連接。由于在虛擬機環(huán)境下CentOS默認(rèn)不自動連接,系統(tǒng)安裝完畢后一直獲取不到IP地址。
重啟網(wǎng)卡服務(wù)會有 Connection activation failed: "Master connection not found or invalid” FAILED的提示。
- 修改網(wǎng)卡配置文件
vim /etc/sysconfig/network-scripts/ifcfg-eth0
將 ONBOOT="no" 改為 ONBOOT="yes" 后保存退出
重啟網(wǎng)卡服務(wù)
service network restart