linuxdeepin有没有命令能够清除(关闭)当前网络连接?
Tofloor
poster avatar
huangherusi
deepin
2013-09-30 04:44
Author
学校的WLAN太渣了,使用过程中容易出问题,这时只能重新获取ip,重新登陆。我想问一下,有没有简单的命令能够,彻底关闭当前网络连接,清除记录啥的?
Reply Favorite View the author
All Replies
cxbii
deepin
2013-09-30 04:48
#1
  1. sudo service network stop  ##停止网络服务
  2. sudo service network start ##开启网络服务
  3. sudo service network restart  ##重启网络
Copy the Code

这个合适么?
Reply View the author
woodelf
deepin
2013-09-30 08:01
#2
  1. sudo service network stop  ##停止网络服务
  2. sudo service network start ##开启网络服务
  3. sudo service network restart  ##重启网络
Copy the Code

这个合适么?
restart过程本身就包含了一次stop和一次start……
Reply View the author
cxbii
deepin
2013-09-30 17:29
#3
[quote]
  1. sudo service network stop  ##停止网络服务
  2. sudo service network start ##开启网络服务
  3. sudo service network restart  ##重启网络
Copy the Code

这个合适么?
restart过程本身就包含了一次stop和一次start……[/quote]
恩,这个我还是知道的,但是lz不是说要清除什么记录么?
这个我不知道清除什么,所以给他停止和启动服务的命令,期间想干什么都可以

如果直接能重启服务就行的话,所以给重启服务的命令
Reply View the author