numberworker:/home/piktor# /usr/sbin/pptpsetup --create t1 --server xxx.xxx.xxx.xxx --username president --password ************ --startUsing interface ppp1Connect: ppp1 <--> /dev/pts/2CHAP authentication succeededLCP terminated by peerModem hangupConnection terminated.numberworker:/home/piktor#
У мене на роботі така річ нормально працює на Debian Etch, якщо ще потрібно можу написати як налаштовувати.
pty "pptp 192.168.4.1 --nolaunchpppd"file /etc/ppp/inet.pptp
locknoauthrefuse-eaprefuse-chaprefuse-mschapnobsdcompnodeflaterequire-mppe-128holdoff 10#persistnodetachuser VIST #тут ваша назва користувача, регістр літер має значення#debugmtu 1452mru 1452defaultroute
# Secrets for authentication using CHAP# client server secret IP addressesVIST "*" пароль "*"
pppd call inet
numberworker:/home/piktor# pppd call inet Using interface ppp1Connect: ppp1 <--> /dev/pts/2anon warn[open_inetsock:pptp_callmgr.c:329]: connect: Network is unreachableanon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 192.168.4.1anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256Modem hangupConnection terminated.numberworker:/home/piktor#
numberworker:/home/piktor# pppd call inet debug dump logfd 2 nodetachpppd options in effect:debug # (from command line)nodetach # (from command line)holdoff 10 # (from /etc/ppp/inet.pptp)logfd 2 # (from command line)dump # (from command line)noauth # (from /etc/ppp/inet.pptp)refuse-chap # (from /etc/ppp/inet.pptp)refuse-mschap # (from /etc/ppp/inet.pptp)refuse-eap # (from /etc/ppp/inet.pptp)user president # (from /etc/ppp/inet.pptp) # (from /etc/ppp/inet.pptp)pty pptp xxx.xxx.xxx.xxx --nolaunchpppd # (from /etc/ppp/peers/inet)crtscts # (from /etc/ppp/options) # (from /etc/ppp/options)asyncmap 0 # (from /etc/ppp/options)mru 1452 # (from /etc/ppp/inet.pptp)mtu 1452 # (from /etc/ppp/inet.pptp)lcp-echo-failure 4 # (from /etc/ppp/options)lcp-echo-interval 30 # (from /etc/ppp/options)hide-password # (from /etc/ppp/options)defaultroute # (from /etc/ppp/inet.pptp)proxyarp # (from /etc/ppp/options)nobsdcomp # (from /etc/ppp/inet.pptp)nodeflate # (from /etc/ppp/inet.pptp)require-mppe-128 # (from /etc/ppp/inet.pptp)noipx # (from /etc/ppp/options)using channel 5Using interface ppp1Connect: ppp1 <--> /dev/pts/2sent [LCP ConfReq id=0x1 <mru 1452> <asyncmap 0x0> <magic 0x1cdbb121> <pcomp> <accomp>]rcvd [LCP ConfReq id=0x1 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x642f0902> <auth chap MS-v2>]sent [LCP ConfAck id=0x1 <accomp> <pcomp> <asyncmap 0x0> <mru 1500> <magic 0x642f0902> <auth chap MS-v2>]rcvd [LCP ConfAck id=0x1 <mru 1452> <asyncmap 0x0> <magic 0x1cdbb121> <pcomp> <accomp>]sent [LCP EchoReq id=0x0 magic=0x1cdbb121]rcvd [CHAP Challenge id=0x1 <a2aea151a23315ed6369b3ca660b21d1>, name = ""]No CHAP secret found for authenticating us to sent [CHAP Response id=0x1 <da68a554b90ad9cf2c6f203c84d1555900000000000000007a28a290f44e0cc82246deda28051c84e41de53f44c7d88900>, name = "president"]rcvd [LCP EchoRep id=0x0 magic=0x642f0902]rcvd [CHAP Failure id=0x1 "E=691 R=0 C=A2AEA151A23315ED6369B3CA660B21D1 V=3 M=Invalid!\000"]MS-CHAP authentication failed: Invalid!CHAP authentication failedsent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]rcvd [LCP TermReq id=0x2]sent [LCP TermAck id=0x2]Script pptp 195.138.73.151 --nolaunchpppd finished (pid 3883), status = 0x0Modem hangupConnection terminated.numberworker:/home/piktor
No CHAP secret found for authenticating us to
noauthrefuse-chaprefuse-mschaprequire-mppe-128