Networking Forums

Networking Forums > Computer Networking > Linux Networking > pptp on debian linux with w2k client

Reply
Thread Tools Display Modes

pptp on debian linux with w2k client

 
 
wachtda
Guest
Posts: n/a

 
      03-05-2004, 09:33 AM
i just try to make a pptp-vpn (with encryption) on a debian linux
machine,
with a w2k client!

if i try to connect to my pptp (poptop) server i receive a message,
with the error 734: ppp-connection-control-protocol closed...
whats wrong with my preferences???

can anybody help me..?

thanx
wachtda

information about my system:
+debian woody with kernel 2.4.19, mppe patched

+lsmod gives follow results:
Module Size Used by Tainted: P
ppp_async 7168 0
ppp_mppe 19840 0 (unused)
ppp_generic 22956 0 [ppp_async ppp_mppe]
slhc 4544 0 [ppp_generic]
keybdev 1664 0 (unused)
usbkbd 2848 0 (unused)
input 3488 0 [keybdev usbkbd]
usb-uhci 21668 0 (unused)
usbcore 57760 1 [usbkbd usb-uhci]

+pppd version 2.4.2

+poptop version 1.1.4-b3


file:/var/log/syslog
************************************************** ******************************
Mar 5 03:26:31 debianvm01 pptpd[247]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: local address =
193.247.237.99
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: remote address =
193.247.237.90
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pppd speed = 115200
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Client 193.247.237.178
control connection started
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
Message (type: 1)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Made a START CTRL CONN
RPLY packet
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: I wrote 156 bytes to the
client.
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Sent packet to client
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
Message (type: 7)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: 0 min_bps, 1525 max_bps,
32 window size
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Made a OUT CALL RPLY
packet
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Starting call (launching
pppd, opening GRE)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pty_fd = 5
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: tty_fd = 6
Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher):
Connection speed = 115200
Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher): local
address = 193.247.237.99
Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher): remote
address = 193.247.237.90
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: I wrote 32 bytes to the
client.
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Sent packet to client
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
Message (type: 15)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Got a SET LINK INFO
packet with standard ACCMs
Mar 5 03:26:31 debianvm01 pppd[248]: pppd 2.4.2 started by root, uid
0
Mar 5 03:26:31 debianvm01 pppd[248]: using channel 1
Mar 5 03:26:31 debianvm01 pppd[248]: Starting negotiation on
/dev/pts/0
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfReq id=0x1 <mru
1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
<accomp> <mrru 1450> <endpoint [MAC:00:0c:29:78:90:07]>]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfReq id=0x0 <mru
1400> <magic 0x777852eb> <pcomp> <accomp> <callback CBCP>]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfRej id=0x0
<callback CBCP>]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfRej id=0x1 <mrru
1450> <endpoint [MAC:00:0c:29:78:90:07]>]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfReq id=0x2 <mru
1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
<accomp>]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfReq id=0x1 <mru
1400> <magic 0x777852eb> <pcomp> <accomp>]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfAck id=0x1 <mru
1400> <magic 0x777852eb> <pcomp> <accomp>]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfAck id=0x2 <mru
1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
<accomp>]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP EchoReq id=0x0
magic=0xf61f34e6]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [CHAP Challenge id=0x55
<168a08384eb5274716f499efe96f9f19>, name = "debianvm01"]
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
Message (type: 15)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Ignored a SET LINK INFO
packet with real ACCMs!
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP code=0xc id=0x2 77 78
52 eb 4d 53 52 41 53 56 35 2e 31 30]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP CodeRej id=0x3 0c 02
00 12 77 78 52 eb 4d 53 52 41 53 56 35 2e 31 30]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP code=0xc id=0x3 77 78
52 eb 4d 53 52 41 53 2d 31 2d 49 4d 53 50 43 30 31 44 57 41]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP CodeRej id=0x4 0c 03
00 1a 77 78 52 eb 4d 53 52 41 53 2d 31 2d 49 4d 53 50 43 30 31 44 57
41]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP EchoRep id=0x0
magic=0x777852eb]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [CHAP Response id=0x55
<a6a49e62d42f1980dfefc6eb8d58f82200000000000000004 a7cd9fbc4bfca44ca0b0fde3966ad8de4f3bb673880b11300> ,
name = "myuser"]
Mar 5 03:26:31 debianvm01 pppd[248]: sent [CHAP Success id=0x55
"S=EFB0775543AF32D61C84A132BAF0503F1DF122AB M=Access granted"]
Mar 5 03:26:31 debianvm01 pppd[248]: Using interface ppp0
Mar 5 03:26:31 debianvm01 kernel: compress rejected:
opt_len=22,o[0]=12,o[1]=6
Mar 5 03:26:31 debianvm01 pppd[248]: MPPE required, but kernel has no
support.
Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP TermReq id=0x5 "MPPE
required but not available"]
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [CCP ConfReq id=0x4 <mppe
+H +M +S +L -D -C>]
Mar 5 03:26:31 debianvm01 pppd[248]: Discarded non-LCP packet when
LCP not open
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [IPCP ConfReq id=0x5 <addr
0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0>
<ms-wins 0.0.0.0>]
Mar 5 03:26:31 debianvm01 pppd[248]: Discarded non-LCP packet when
LCP not open
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
Message (type: 15)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Got a SET LINK INFO
packet with standard ACCMs
Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP TermAck id=0x5 "MPPE
required but not available"]
Mar 5 03:26:31 debianvm01 pppd[248]: Connection terminated.
Mar 5 03:26:31 debianvm01 pppd[248]: Connect time 0.0 minutes.
Mar 5 03:26:31 debianvm01 pppd[248]: Sent 0 bytes, received 0 bytes.
Mar 5 03:26:31 debianvm01 pppd[248]: Exit.
Mar 5 03:26:31 debianvm01 pptpd[247]: Error reading from pppd:
Input/output error
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: GRE read or PTY write
failed (gre,pty)=(6,5)
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Client 193.247.237.178
control connection finished
Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Exiting now
Mar 5 03:26:31 debianvm01 pptpd[220]: MGR: Reaped child 247
************************************************** ******************************


file: /etc/pptpd.conf
************************************************** ******************************
################################################## ##############################
#
# Sample PoPToP configuration file
#
# for PoPToP version 0.9.12
#
################################################## ##############################

# TAG: speed
#
# Specifies the speed for the PPP daemon to talk at.
#
speed 115200

# TAG: option
#
# Specifies the location of the PPP options file.
# By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/options.pptpd

# TAG: debug
#
# Turns on (more) debugging to syslog
#
debug

# TAG: localip
# TAG: remoteip
#
# Specifies the local and remote IP address ranges.
#
# You can specify single IP addresses seperated by commas or you
can
# specify ranges, or both. For example:
#
# 192.168.0.234,192.168.0.245-249,192.168.0.254
#
# IMPORTANT RESTRICTIONS:
#
# 1. No spaces are permitted between commas or within addresses.
#
# 2. If you give more IP addresses than MAX_CONNECTIONS, it will
# start at the beginning of the list and go until it gets
# MAX_CONNECTIONS IPs. Others will be ignored.
#
# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
# you must type 234-238 if you mean this.
#
# 4. If you give a single localIP, that's ok - all local IPs
will
# be set to the given one. You MUST still give at least one
remote
# IP for each simultaneous client.
#
#localip 192.168.0.234-238,192.168.0.245
#remoteip 192.168.1.234-238,192.168.1.245
localip 193.247.237.99
remoteip 193.247.237.90-97
************************************************** ******************************

file: /etc/ppp/options.pptpd
************************************************** ******************************
name debianvm01
lock
proxyarp
noauth
debug
multilink
refuse-pap
refuse-chap
require-mppe
nomppe-40
require-mppe-128
refuse-mschap
require-mschap-v2
mtu 1450
mru 1450
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 30
lcp-echo-interval 5
deflate 0
************************************************** ******************************

file: /etc/ppp/chap-secrets
************************************************** ******************************
# Secrets for authentication using CHAP
# client server secret IP addresses
myuser debianvm01 mypasswd *
************************************************** ******************************

of course my /etc/ppp/options is blank!
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      03-05-2004, 03:51 PM
wachtda <(E-Mail Removed)> wrote:
> i just try to make a pptp-vpn (with encryption) on a debian linux
> machine, with a w2k client!


> if i try to connect to my pptp (poptop) server i receive a message,
> with the error 734: ppp-connection-control-protocol closed...
> whats wrong with my preferences???

....

> Mar 5 03:26:31 debianvm01 kernel: compress rejected:
> opt_len=22,o[0]=12,o[1]=6
> Mar 5 03:26:31 debianvm01 pppd[248]: MPPE required, but kernel has no
> support.
> Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP TermReq id=0x5 "MPPE
> required but not available"]


The time sequencing of kernel/pppd messages isn't as synchronized as
might be desirable, but the meaning is clear: The kernel doesn't
support MPPE. That might be because the patch is flawed, or the
ppp_mppe module isn't getting used for some reason.

Do you have the line

alias ppp-compress-18 ppp_mppe

in /etc/modules.conf? You might be able to upgrade your modutils and
not need this line.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Speak softly and carry a sucker rod (See man syslogd, footnote to
recommendation 4 under SECURITY THREATS). */
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for PPTP VPN from Debian to MS Server Nexus7 Linux Networking 0 09-19-2007 10:33 PM
Recipe for PPTP VPN from Debian to MS Server Nexus7 Linux Networking 0 09-19-2007 08:50 PM
pptp + mppe @ Debian Sarge Jacob Linux Networking 0 07-26-2006 08:50 AM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
VPN client behind Debian Linux router kaczmar2 Linux Networking 1 06-12-2004 09:04 AM



1 2 3 4 5 6 7 8 9 10 11