自動製作故障排除指南,所以我作爲一個技術可以只是press..start ..這是我堅持的步驟之一,如何我可以做一批文件做到這一點?製作成一個批處理文件
Check procedure:
1. Ping 10.70.222.62 -t
Look for any dropped packets. > or = 1%, send at least 100 pings.
2.Check the subnet mask
3.Check the default gateway
4.Check NIC configuration. If more than 1 NIC is installed then only one should have the gateway set.
If all OK, then network is OK.
我沒有太大的網絡傢伙,所以當它說,像檢查子網掩碼,我不知道什麼是通過還是什麼我檢查它換貨。此外,NIC配置可能很難用批處理文件檢查嗎? 謝謝。
發現了一些我確實改變了幾個號碼的詳細信息,可以幫助..
Subnet Mask 255.255.254.0
Default Gateway 10.72.170.1
但我可以改回在一次所需的代碼。
步驟1到目前爲止..
ping -n 100 x.x.x.x | find "TTL"
if not errorlevel 1 set error=FAILED
if errorlevel 1 set error=PASSED
echo Result: %error%
唯一的問題是它顯示了所有的ping,反正有它不顯示坪?
第2步我想你必須做一個ipconfig並找到結果?但不知道如何.. 同爲第3步
第4步我不知道它甚至談論...
您是否已有密碼,請顯示。 – Endoro
有步驟1的代碼.. –