1、windows重启网卡命令:
rem 禁用网卡
netsh interface set interface "本地连接"disabled
rem 启用网卡
netsh interface set interface "本地连接" enabled
2、linux系统重启网卡命令:
# service network restart
1、windows重启网卡命令:
rem 禁用网卡
netsh interface set interface "本地连接"disabled
rem 启用网卡
netsh interface set interface "本地连接" enabled
2、linux系统重启网卡命令:
# service network restart