저는 Arch Linux를 사용하고 이를 사용하여 pptp
VPN에 연결합니다. Arch 위키 단계에 따르면 Arch Linux를 업데이트하기 전에는 작동했습니다. Arch 홈페이지 명령에 따라 Arch를 업데이트했습니다.
pacman -Syuw # download packages
rm /etc/ssl/certs/ca-certificates.crt # remove conflicting file
pacman -Su # perform upgrade
그럼 내가 달리면 pptpclient
얻을거야
Error: either "to" is duplicate, or "uid" is a garbage
또는 오랫동안 라우팅하고 핑한 후에 다음 오류가 발생합니다.
Modem hangup
Sent 1002073833 bytes, received 0 bytes
MPPE disabled
Connection terminated
Waiting for 1 child processes...
script /etc/ppp/ip-down, pid 2726
Script /etc/ppp/ip-down finished (pid 2726), status = 0x0
무슨 문제인지는 모르겠지만 pptpclient
라우팅 후 데이터를 받을 수 없는 것 같은 느낌이 듭니다.
진행하는 방법을 아는 사람이 있나요?
고쳐 쓰다:
명령을 사용하여 디버깅 할 때 pptpclient
:
sudo pon myVpn debug dump logfd 2 nodetach
그러면 디버깅 정보는 다음과 같습니다.
pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options)
name dxcqcv # (from /etc/ppp/peers/myVpn)
remotename PPTP # (from /etc/ppp/peers/myVpn)
# (from /etc/ppp/options)
pty pptp p1.hk3.flydidu.com --nolaunchpppd # (from /etc/ppp/peers/myVpn)
crtscts # (from /etc/ppp/options)
# (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
mru 1400 # (from /etc/ppp/options)
mtu 1400 # (from /etc/ppp/options)
silent # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/options)
ipparam myVpn # (from /etc/ppp/peers/myVpn)
proxyarp # (from /etc/ppp/options)
usepeerdns # (from /etc/ppp/peers/myVpn)
nobsdcomp # (from /etc/ppp/options)
nodeflate # (from /etc/ppp/options)
require-mppe-128 # (from /etc/ppp/peers/myVpn)
noipx # (from /etc/ppp/options)
using channel 8
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
***Error: either "to" is duplicate, or "uid" is a garbage.***
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x80de6b20> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1400> <asyncmap 0x0> <magic 0xd2626b7a> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x80de6b20> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <mru 1400> <asyncmap 0x0> <magic 0xd2626b7a> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xd2626b7a]
rcvd [LCP EchoReq id=0x0 magic=0x80de6b20]
sent [LCP EchoRep id=0x0 magic=0xd2626b7a]
rcvd [CHAP Challenge id=0x7d <94f97c87ea84a9097b3910d403d0ab14>, name = "pptpd"]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
added response cache entry 0
sent [CHAP Response id=0x7d <289521c7e2bf1d1a2d3bd8addb8b494e0000000000000000d8ae891c6114fbe4097ef6b89fef69e516540b92f2198a3e00>, name = "dxcqcv"]
rcvd [LCP EchoRep id=0x0 magic=0x80de6b20]
rcvd [CHAP Success id=0x7d "S=A37F545150DBF921600B0B681B1E1ADDD7238617"]
response found in cache (entry 0)
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 10.10.0.1>]
sent [IPCP ConfAck id=0x1 <addr 10.10.0.1>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
sent [IPCP ConfReq id=0x3 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
rcvd [IPCP ConfAck id=0x3 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
Cannot determine ethernet address for proxy ARP
local IP address 10.10.0.21
remote IP address 10.10.0.1
primary DNS address 8.8.8.8
secondary DNS address 8.8.4.4
Script /etc/ppp/ip-up started (pid 8055)
Script /etc/ppp/ip-up finished (pid 8055), status = 0x0
이번에 ppp0을 생성할 때 내 경로는 다음과 같습니다.
sudo ip route replace default dev ppp0
이전처럼 작동해야 하지만 Arch를 업데이트한 후에는 작동하지 않으며 오류 메시지는 다음과 같습니다.
Script pptp p1.hk3.flydidu.com --nolaunchpppd finished (pid 8047), status = 0x0
Modem hangup
**Connect time 2.0 minutes.
Sent 851273846 bytes, received 0 bytes.**
Script /etc/ppp/ip-down started (pid 8097)
MPPE disabled
sent [LCP TermReq id=0x2 "MPPE disabled"]
Connection terminated.
Waiting for 1 child processes...
script /etc/ppp/ip-down, pid 8097
Script /etc/ppp/ip-down finished (pid 8097), status = 0x0
답변1
이 메시지는 pptpclient가 연결을 설정하는 데 사용할 수 있는 명령에서 나온 것입니다 Error: either "to" is duplicate, or "uid" is a garbage
. ip
이는 주어진 명령줄이 구문상 유효하지 않아 구문 분석할 수 없다는 의미입니다.
Arch 설치를 업그레이드한 후에 시작되었다고 주장하므로 이는 최신 버전의 프로그램에 있는 버그일 가능성이 높습니다 pptpclient
.
프로그램의 버그 추적기에 버그를 신고하겠습니다.