nfs啓動出現網絡斷開Try to bring eth0 interface up....../etc/init.d/ifconfig-eth0: line 6: grep: not found

在調試NFS網絡時,在已經掛在成功後出現網絡鏈接中斷,並且打印如下信息

Try to bring eth0 interface up....../etc/init.d/ifconfig-eth0: line 6: grep: not found

主要原因由於執行了重新設置網卡的腳本,在/etc/init.d/rcS文件中,註釋掉網絡設置命令/etc/init.d/ifconfig-eth0 ,問題可解決。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章