Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
请问如何让deepin的vpn断线自动重连?
Experiences and Insight
1141
views ·
3
replies ·
To
floor
Go
186******39
deepin
2019-03-06 17:16
Author
系统提供这种功能吗?
或者说怎么在命令行下启动vpn?
下面这些是查找到的pptp进程,我执行第二个可以吗?
root 6407 1 0 08:16 ? 00:00:00 /usr/lib/NetworkManager/nm-pptp-service --bus-name org.freedesktop.NetworkManager.pptp.Connection_21
root 6411 6407 0 08:16 ? 00:00:00 /usr/sbin/pppd pty /usr/sbin/pptp 我的vpn网关 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-6407 ipparam nm-pptp-service-6407 nodetach lock usepeerdns noipdefault nodefaultroute noauth user 我的用户名 remotename 我的vpn网关 require-mppe lcp-echo-failure 0 lcp-echo-interval 0 plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so
root 6414 6411 0 08:16 ? 00:00:00 sh -c /usr/sbin/pptp 我的vpn网关 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-6407
root 6416 6414 0 08:16 ? 00:00:01 /usr/sbin/pptp 我的vpn网关 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-6407
root 6427 1 0 08:16 ? 00:00:00 /usr/sbin/pptp 我的vpn网关 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-6407
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
ih******op@vip.qq.com
deepin
2019-03-06 18:12
#1
nmcli c -h
Copy the Code
Reply
Like 0
View the author
186******39
deepin
2019-03-07 16:23
#2
https://bbs.deepin.org/post/175270
我理解了下,是说查找 /etc/NetworkManager/system-connections/ 下的vpn连接名称,然后用
nmcli c up 连接名称 来重新启动vpn连接吗?
Reply
Like 0
View the author
186******39
deepin
2019-03-07 16:25
#3
谢啦,试验成功
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
或者说怎么在命令行下启动vpn?
下面这些是查找到的pptp进程,我执行第二个可以吗?