- talaon2016-03-11中级会员82010
- 本帖最后由 talaon 于 2016-3-11 21:29 编辑 *
机子是debian的,PPTP服务器是ros,
用pptpclient或pptp-linux连接不上,
我是参考 http://pptpclient.sourceforge.net/howto-debian.phtml 搞的
有搞过的大侠请指点一下/etc/ppp/options.pptp
- lock noauth nobsdcomp nodeflate复制代码
/etc/ppp/chap-secrets
- 用户名 扶墙 "密码" *复制代码
/etc/ppp/peers/扶墙
- pty "pptp IP --nolaunchpppd"
- lock
- noauth
- nobsdcomp
- nodeflate
- name lebao
- remotename 扶墙
- ipparam 扶墙复制代码
pon 扶墙 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/peers/扶墙)
- name lebao # (from /etc/ppp/peers/扶墙)
- remotename 扶墙 # (from /etc/ppp/peers/扶墙)
- # (from /etc/ppp/peers/扶墙)
- pty pptp IP --nolaunchpppd # (from /etc/ppp/peers/扶墙)
- crtscts # (from /etc/ppp/options)
- # (from /etc/ppp/options)
- asyncmap 0 # (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 扶墙 # (from /etc/ppp/peers/扶墙)
- nobsdcomp # (from /etc/ppp/peers/扶墙)
- nodeflate # (from /etc/ppp/peers/扶墙)
- noipx # (from /etc/ppp/options)
- using channel 31
- Using interface ppp0
- Connect: ppp0 /dev/pts/3
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- sent [LCP ConfReq id=0x1 ]
- LCP: timeout sending Config-Requests
- Connection terminated.
- Modem hangup
- Waiting for 1 child processes...
- script pptp IP --nolaunchpppd, pid 6369
- Script pptp IP --nolaunchpppd finished (pid 6369), status = 0x0
- 复制代码