2009-01-27 08:05:01 pptp-client connection problem on BF537 STAMP board
Murat Sezgin (TURKEY)
Message: 68397
Hi all,
I am trying to make a PPTP connection to my Windows 2003 server from my board. I get the following errror.
Jan 1 08:49:06 blackfin daemon.notice pppd[119]: pppd 2.4.4 started by root, uid 0
Jan 1 08:49:06 blackfin user.debug syslog: using channel 1
Jan 1 08:49:06 blackfin user.info syslog: Using interface ppp0
Jan 1 08:49:06 blackfin user.notice syslog: Connect: ppp0 <--> /dev/pts/0
Jan 1 08:49:06 blackfin user.info pptp[121]: Trying host 192.168.0.140 ...
Jan 1 08:49:06 blackfin user.info pptp[121]: Connect succeeded
Jan 1 08:49:06 blackfin user.info pptp_callmgr[123]: Client connection established.
Jan 1 08:49:07 blackfin user.warn syslog: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jan 1 08:49:09 blackfin user.info pptp[121]: Using pty /dev/pts/1,/dev/pts/1
Jan 1 08:49:09 blackfin user.info pptp_callmgr[123]: Outgoing call established.
Jan 1 08:49:37 blackfin user.warn syslog: LCP: timeout sending Config-Requests
Jan 1 08:49:37 blackfin user.notice syslog: Connection terminated.
Jan 1 08:49:37 blackfin user.notice syslog: Modem hangup
Jan 1 08:49:42 blackfin user.info syslog: Exit.
Jan 1 08:51:40 blackfin user.info pptp_callmgr[123]: Control connection closed by peer
Jan 1 08:51:40 blackfin user.info pptp_callmgr[123]: closing 6 (inet)
Jan 1 08:51:40 blackfin user.info pptp_callmgr[123]: conn down!
Jan 1 09:03:00 blackfin syslog.info -- MARK --
My configuration files are as below.
etc/ppp/options.pptp
root:/etc/ppp> cat options.pptp
###############################################################################
# $Id: options.pptp,v 1.3 2006/03/26 23:11:05 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection. See "man pppd".
#
# You are expected to change this file to suit your system. As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################
# Lock the port
lock
# Authentication
# We don't need the tunnel server to authenticate itself
noauth
# We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
# (you may need to remove these refusals if the server is not using MPPE)
#refuse-pap
#refuse-eap
#refuse-chap
#refuse-mschap
# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate
# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)
# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}
# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
"murat" PPTP "murat" *
etc/ppp/peers/tunnel
pty "/bin/pptp 192.168.0.140 --nolaunchpppd"
name murat
remotename PPTP
file /etc/ppp/options.pptp
ipparam tunnel
In the menuconfig, I select "pptp" and "pptp_callmgr".
I just enter the below command to run the client.
"pppd call tunnel"
What can be the problem? Do you think I need more configurations?
Regards,
Murat
QuoteReplyEditDelete
2009-01-27 10:03:54 Re: pptp-client connection problem on BF537 STAMP board
Mike Frysinger (UNITED STATES)
Message: 68403
what version of software are you using exactly ? you should be using 2008R1.5 ...
QuoteReplyEditDelete
2009-01-27 12:30:41 Re: pptp-client connection problem on BF537 STAMP board
Murat Sezgin (TURKEY)
Message: 68420
Yes, it is "uClinux-dist-2008R1.5-RC3".
QuoteReplyEditDelete
2009-01-27 13:11:26 Re: pptp-client connection problem on BF537 STAMP board
Mike Frysinger (UNITED STATES)
Message: 68422
we dont really have any pptp experience, so you might want to try the people who develop it:
http://pptpclient.sourceforge.net/
there's documentation and mailing lists there
QuoteReplyEditDelete
2009-01-27 13:29:00 Re: pptp-client connection problem on BF537 STAMP board
Murat Sezgin (TURKEY)
Message: 68426
I also asked in their mail list, but they directed me to uClinux list :). I emailed both you and uClinux list. So, I think I need to wait for their their response.
Thanks,
Murat