Log in

Bekijk de volledige versie : PPTP what is wrong ??



kdeparade
08-10-2005, 14:50
Need Help for configuration the ASUS deluxe and PPTP(With mppe).
My firmware is the 1.9.2.7-6b .

I have set a static Route to the PPTP-Server(172.x.x.x) and the Ping is OK.
In the IP-WAN-Settings I only put the IP of the PPTP-Server in field Heart-Beat Server: 172.x.x.x and I put the IP of Nameserver in the field DNS.
After Reboot- nothing happens. In the /tmp/syslog follows:

*****************
00:01:32 pppd[99]: Starting link Jn 1 00:01:32 pptp[138]: anon log[main:pptp.c:267]: The synchronous pptp option is NO
Jan 1 00:01:32 pppd[99]: Serial connection established.
Jan 1 00:01:32 pppd[99]: Connect: ppp0 <--> /dev/pts/0
Jan 1 00:01:32 pptp[141]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Reques
Jan 1 00:01:32 pptp[141]: anon log[ctrlp_disp:pptp_ctrl.c:732]: Received Start Control Connection Reply
Jan 1 00:01:32 pptp[141]: anon log[ctrlp_disp:pptp_ctrl.c:766]: Client connection established.
Jan 1 00:01:33 pptp[141]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 1 00:01:33 pptp[141]: anon log[ctrlp_disp:pptp_ctrl.c:851]: Received Outgoing Call Reply.
Jan 1 00:01:33 pptp[141]: anon log[ctrlp_disp:pptp_ctrl.c:890]: Outgoing call established (call ID 0, peer's call ID 21504).
Jan 1 00:01:33 pppd[99]: LCP terminated by peer (MPPE required but peer negotiation failed)
Jan 1 00:01:33 pptp[141]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
Jan 1 00:01:33 pptp[141]: anon log[callmgr_main:pptp_callmgr.c:253]: Closing connection
Jan 1 00:01:33 pptp[141]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jan 1 00:01:33 pptp[141]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
Jan 1 00:01:33 pppd[99]: Modem hangup
Jan 1 00:01:33 pppd[99]: Connection terminated.
Jan 1 00:01:33 pptp[141]: anon log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
Jan 1 00:01:35 pptp[141]: anon log[pptp_send_ctrl_packet:pptp_ctrl.c:615]: write error: Broken pipe
Jan 1 00:01:35 pptp[141]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
an 1 00:01:32 pptp[138]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated

*****************************

My Options.wan
++++++
noauth refuse-eap
user 'myusername'
password 'mypassword'
connect true
pty '/usr/sbin/pptp 172.16.0.2 --nolaunchpppd'
lock
idle 1800 demand
defaultroute
persist
ipcp-accept-remote ipcp-accept-local noipdefault
ktune
default-asyncmap nopcomp noaccomp
novj nobsdcomp nodeflate
lcp-echo-interval 10
lcp-echo-failure 6
unit 0
+++++++++

My Kernel-Route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.0 192.168.1.1 255.255.255.0 UG 1 0 0 br0
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo


Please Help
THX

Kai-Uwe

Oleg
11-10-2005, 11:56
You've to type "nomppe nomppc maxfail 0" (without quotes) to the Additional pppd options field.

kdeparade
13-10-2005, 17:39
:mad: :mad: :mad: :mad: :mad:
No. These options are not working.
I need MPPE !!
Since 2 Month I use a Linksys WRT54GS.
For the Konfiguration of VPN I need 2 Days. Then everything is running.
Since nearly 1 month I fight with the ASUS deluxe. VPN is NOT running yet.
Here is my Option-File of the Linksys
LINKSYS
##################
defaultroute
noauth
mppe required,no40,no56,stateless
refuse-eap
lcp-echo-failure 3
lcp-echo-interval 20
maxfail 2
persist
nodetach
ip-up-script /jffs/etc/ppp/vpn-up
ip-down-script /jffs/etc/ppp/vpn-down
user myusername
password mypassword
###################
I start the VPN in the startup_file with
#!/bin/sh
/usr/sbin/iptables -I FORWARD -o ppp0 -j ACCEPT
/usr/sbin/iptables -t nat -I POSTROUTING -o ppp0 -j MASQUERADE
echo 'nameserver 217.113.177.249' >> /etc/resolv.conf
sleep 60
pptp 172.16.0.2 file /jffs/etc/config/options.vpn

It works great!!!!!!!!!

And now the ASUS;-((((
How can I start the pptp manuely??? Not Over the WEB-Interface !!!!
Like an startup-File of the Linksys.
My Optionfile of the
ASUS
#####
noauth refuse-eap
user 'myusername'
password 'mypassword'
connect true
pty '/usr/sbin/pptp 172.16.0.2 --nolaunchpppd'
lock
defaultroute
persist
ipcp-accept-remote ipcp-accept-local noipdefault
ktune
default-asyncmap nopcomp noaccomp
novj nobsdcomp nodeflate
lcp-echo-interval 10
lcp-echo-failure 6
unit 0
nomppe nomppc maxfail 0
##################
This was generated of the Web-Interface.


Now it need a little and I 'll throw my Asus away!!!:mad: :mad: :mad: :mad:

Is there anybody out there who build up an VPN-connection with mppe???


KUD