网卡重启命令:sudo service network restart 但在有的linux版本中会出现network :unrecognized service 我们可以换个网络重启命令就可以了: sudo service network-manager restart