在調試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 ,問題可解決。
在調試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 ,問題可解決。