Manuel Acevedo Chavira <[EMAIL PROTECTED]> writes:
> Hi
>
> I have a problem with pptpd, when i connect from my xp machine, it
> can't to
> pass the password to my pptpd server
> in my messages file i have "unrecognized option require-mppe-stateless"
> in
> /etc/ppp/options.poptop.
> when i uncheck requiere-mppe-stateles from options.poptop my client can
> pass to server and i can see the files of
> the othe subnet, but when try to open a file, it down. in this case in
> messages file i get
> "kernel : ppp: compressor dropped pkt
> last messages repeted 6 times
> ppp: comrpessor dropped pkt
> pppd[9706]: LCP terminated by peer (^IM-P^UD^@<[EMAIL PROTECTED]@^@)
>
>
> i think is a problem with compression, is that?, how can solve this
> problem, please help me
>
> mi inernet is for pppoe
> thanks in advance
>
>
> optiond.poptop
>
>
>
> #ipparam PoPToP
> #dump
> #debug
> require-mschap-v2
you could add the require-mppe option
> require-mppe-128
try without the mppe options
>
> #require-mppe-stateless
> #login
> lock
> mtu 1490
> mru 1490
> ms-wins 192.168.1.20
>
> ms-dns 192.168.1.20
>
> multilink
> proxyarp
> ipcp-accept-local
> ipcp-accept-remote
> lcp-echo-failure 30
> lcp-echo-interval 5
> deflate 0
>
>
>
> options.pptpd
>
> ############################################################################
> ###
> # $Id: options.pptpd,v 1.5 2004/04/23 07:11:33 quozl Exp $
> #
> # Sample Poptop PPP options file /etc/ppp/options.pptpd
> # Options used by PPP when a connection arrives from a client.
> # This file is pointed to by /etc/pptpd.conf option keyword.
> # 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 and the kernel MPPE module.
> ############################################################################
> ###
>
>
> # Authentication
>
> # Name of the local system for authentication purposes
> # (must match the second field in /etc/ppp/chap-secrets entries)
> name pptpd
>
> # Strip the domain prefix from the username before authentication.
> # (applies if you use pppd with chapms-strip-domain patch)
> #chapms-strip-domain
>
>
> # Encryption
> # (There have been multiple versions of PPP with encryption support,
> # choose with of the following sections you will use.)
>
>
> # BSD licensed ppp-2.4.2 upstream with MPPE only, kernel module ppp_mppe.o
> # {{{
> refuse-pap
> refuse-chap
> refuse-mschap
> # Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
> # Challenge Handshake Authentication Protocol, Version 2] authentication.
> require-mschap-v2
> # Require MPPE 128-bit encryption
> # (note that MPPE requires the use of MSCHAP-V2 during authentication)
> require-mppe-128
> # }}}
>
>
> # OpenSSL licensed ppp-2.4.1 fork with MPPE only, kernel module mppe.o
> # {{{
> #-chap
> #-chapms
> # Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
> # Challenge Handshake Authentication Protocol, Version 2] authentication.
> #+chapms-v2
> # Require MPPE encryption
> # (note that MPPE requires the use of MSCHAP-V2 during authentication)
> #mppe-40 # enable either 40-bit or 128-bit, not both
> #mppe-128
> #mppe-stateless
> # }}}
>
>
> # Network and Routing
>
> # If pppd is acting as a server for Microsoft Windows clients, this
> # option allows pppd to supply one or two DNS (Domain Name Server)
> # addresses to the clients. The first instance of this option
> # specifies the primary DNS address; the second instance (if given)
> # specifies the secondary DNS address.
> #ms-dns 10.0.0.1
> #ms-dns 10.0.0.2
>
> # If pppd is acting as a server for Microsoft Windows or "Samba"
> # clients, this option allows pppd to supply one or two WINS (Windows
> # Internet Name Services) server addresses to the clients. The first
> # instance of this option specifies the primary WINS address; the
> # second instance (if given) specifies the secondary WINS address.
> #ms-wins 10.0.0.3
> #ms-wins 10.0.0.4
>
> # Add an entry to this system's ARP [Address Resolution Protocol]
> # table with the IP address of the peer and the Ethernet address of this
> # system. This will have the effect of making the peer appear to other
> # systems to be on the local ethernet.
> # (you do not need this if your PPTP server is responsible for routing
> # packets to the clients -- James Cameron)
> proxyarp
>
>
> # Logging
>
> # Enable connection debugging facilities.
> # (see your syslog configuration for where pppd sends to)
> debug
>
> # Print out all the option values which have been set.
> # (often requested by mailing list to verify options)
> #dump
>
>
> # Miscellaneous
>
> # Create a UUCP-style lock file for the pseudo-tty to ensure exclusive
> # access.
> lock
>
> # Disable BSD-Compress compression
> nobsdcomp
>
>
> options
>
>
>
> #ipparam PoPToP
> #dump
> #debug
> require-mschap-v2
> require-mppe-128
>
> #require-mppe-stateless
> #login
> lock
> mtu 1490
> mru 1490
> ms-wins 192.168.1.20
>
> ms-dns 192.168.1.20
>
> multilink
> proxyarp
> ipcp-accept-local
> ipcp-accept-remote
> lcp-echo-failure 30
> lcp-echo-interval 5
> deflate 0
>
>
> options.pptp
>
> lock
> noauth
> nobsdcomp
> nodeflate
>
>
>
> pppoe.conf
>
>
> #***********************************************************************
> #
> # pppoe.conf
> #
> # Configuration file for rp-pppoe. Edit as appropriate and install in
> # /etc/ppp/pppoe.conf
> #
> # Copyright (C) 2000 Roaring Penguin Software Inc.
> #
> # This file may be distributed under the terms of the GNU General
> # Public License.
> #
> # $Id: pppoe.conf,v 1.1 2001/07/24 15:09:36 rchaillat Exp $
> #***********************************************************************
>
> # When you configure a variable, DO NOT leave spaces around the "=" sign.
>
> # Ethernet card connected to ADSL modem
> ETH='eth1'
>
> # ADSL user name. You may have to supply "@provider.com" Sympatico
> # users in Canada do need to include "@sympatico.ca"
> # Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
> # contains the right username/password combination.
> # For Magma, use [EMAIL PROTECTED]
> USER='expressraleigh_'
>
> ### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT
>
> # How long adsl-start waits for a new PPP interface to appear before
> # concluding something went wrong. If you use 0, then adsl-start
> # exits immediately with a successful status and does not wait for the
> # link to come up. Time is in seconds.
> #
> # WARNING WARNING WARNING:
> #
> # If you are using rp-pppoe on a physically-inaccessible host, set
> # CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
> # to connect forever after adsl-start is called. Otherwise, it will
> # give out after CONNECT_TIMEOUT seconds and will not attempt to
> # connect again, making it impossible to reach.
> CONNECT_TIMEOUT=60
>
> # How often in seconds adsl-start polls to check if link is up
> CONNECT_POLL=6
>
> # Character to echo at each poll. Use PING="" if you don't want
> # anything echoed
> PING="."
>
> # File where pppoe writes its process-ID
> PIDFILE=/var/run/$CF_BASE-adsl.pid
>
> # File which tells adsl-connect to terminate connection
> TERMINATEFILE=/var/run/pppoe.stop
>
> # Do you want to use synchronous PPP? "yes" or "no". "yes" is much
> # easier on CPU usage, but may not work for you. It is safer to use
> # "no", but you may want to experiment with "yes".
> # NOTE: It seems that using synchronous PPP causes a kernel panic under
> # Linux 2.2.14. It is therefore NOT RECOMMENDED.
> SYNCHRONOUS=no
>
> # Do you want to clamp the MSS? Here's how to decide:
> # - If you have only a SINGLE computer connected to the ADSL modem, choose
> # "no".
> # - If you have a computer acting as a gateway for a LAN, choose "1412".
> # The setting of 1412 is safe for either setup, but uses slightly more
> # CPU power.
> CLAMPMSS=1412
> #CLAMPMSS=no
>
> # LCP echo interval and failure count.
> LCP_INTERVAL=20
> LCP_FAILURE=3
>
> # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
> PPPOE_TIMEOUT=800
>
> # Firewalling: One of NONE, STANDALONE or MASQUERADE
> FIREWALL=NONE
>
> pppoe-server-options
>
> # PPP options for the PPPoE server
> # LIC: GPL
> require-pap
> login
> lcp-echo-interval 10
> lcp-echo-failure 2
>
>
>
>
>
>
>
>
>
>
>
> ____________________________________________________
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> ____________________________________________________
--
Florin (florin dot grad at gmail dot com)
http://www.mandrakesoft.com
http://people.mandrakesoft.com/~florin/
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________