QSCTech / zjunet

Command Line Scripts for ZJU (VPN / WLAN / DNS)
GNU General Public License v3.0
302 stars 48 forks source link

Command line is not complete. Try option "help" #94

Open Yihao-Shi opened 3 days ago

Yihao-Shi commented 3 days ago

使用命令zjunet vpn -c时出现以下错误:

[sudo] password for eleven: 
[INFO] Try to start xl2tpd if not
[INFO] xl2tpd ready.
[INFO] try disconnecting zju-l2tp-xxxxxxxx(user id)@a
[INFO] xl2tpd-control done
local  IP address 210.32.145.1
remote IP address 10.0.2.72
Script /etc/ppp/ip-up started (pid 1115412)
Script /etc/ppp/ip-up finished (pid 1115412), status = 0x0
[INFO] Setting up ip route.
Error: any valid address is expected rather than "dev".
default via 10.72.7.1 dev enp42s0 proto static metric 20100 
10.72.7.0/24 dev enp42s0 proto kernel scope link src 10.72.7.132 metric 100 
169.254.0.0/16 dev enp42s0 scope link metric 1000 
198.18.0.0/16 dev utun proto kernel scope link src 198.18.0.1 
[INFO] Stopping xl2tpd
[INFO] Starting xl2tpd
[INFO] xl2tpd ready.
[INFO] Login using xxxxxxxx(user id)@a
[INFO] Connection terminated.
[INFO] Retrying now. 
[INFO] try disconnecting zju-l2tp-xxxxxxxx(user id)@a
[INFO] xl2tpd-control done
[INFO] try connecting zju-l2tp-xxxxxxxx(user id)@a
[INFO] xl2tpd-control done
[INFO] again
[INFO] Connection terminated.
[INFO] Retrying now. 
[INFO] try disconnecting zju-l2tp-xxxxxxxx(user id)@a
[INFO] xl2tpd-control done
[INFO] try connecting zju-l2tp-xxxxxxxx(user id)@a
[INFO] xl2tpd-control done
[INFO] again
[VPN] inet 210.32.144.130 peer 10.0.2.72/32 scope global ppp0
[INFO] Setting up ip route.
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
Command line is not complete. Try option "help"
default dev ppp0 
default via 10.72.7.1 dev enp42s0 proto static metric 20100 
10.0.2.72 dev ppp0 proto kernel scope link src 210.32.144.130 
10.72.7.0/24 dev enp42s0 proto kernel scope link src 10.72.7.132 metric 100 
169.254.0.0/16 dev enp42s0 scope link metric 1000 
198.18.0.0/16 dev utun proto kernel scope link src 198.18.0.1