ficou faltando o:<br><br>[root@fedora ppp]# cat ../pptpd.conf<br>option /etc/ppp/options.pptpd<br>logwtmp<br>stimeout 400<br>#bcrelay eth1<br>localip <a href="http://192.168.0.240">192.168.0.240</a><br>remoteip 192.168.0.241-250
<br><br><br><div><span class="gmail_quote">2006/12/5, Cristiano Furtado <<a href="mailto:jasonnfedora@gmail.com">jasonnfedora@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Segue o meu arquivo de configuração:<br>******************************************************************************<br>[root@fedora ppp]# cat chap-secrets<br># Secrets for authentication using CHAP<br># client        server  secret                  IP addresses
<br>jasonn         *       jasonn01                   *<br>******************************************************************************<br>[root@fedora ppp]# cat pap-secrets<br># Secrets for authentication using PAP<br>

# client        server  secret                  IP addresses<br>jasonn         *       jasonn01                   *<br>******************************************************************************<br>[root@fedora ppp]# cat 
options.pptpd<br>###############################################################################<br># $Id: options.pptpd,v 1.9 2005/08/02 11:33:32 quozl Exp $<br>#<br># Sample Poptop PPP options file /etc/ppp/options.pptpd
<br># Options used by PPP when a connection arrives from a client.<br># This file is pointed to by /etc/pptpd.conf option keyword.<br># Changes are effective on the next connection.  See "man pppd".<br>#<br># You are expected to change this file to suit your system.  As
<br># packaged, it requires PPP 2.4.2 and the kernel MPPE module.<br>###############################################################################<br><br><br># Authentication<br><br># Name of the local system for authentication purposes
<br># (must match the second field in /etc/ppp/chap-secrets entries)<br>name pptpd<br><br># Strip the domain prefix from the username before authentication.<br># (applies if you use pppd with chapms-strip-domain patch)<br>

#chapms-strip-domain<br><br><br># Encryption<br># (There have been multiple versions of PPP with encryption support,<br># choose with of the following sections you will use.)<br><br><br># BSD licensed ppp-2.4.2 upstream with MPPE only, kernel module ppp_mppe.o
<br># {{{<br>refuse-pap<br>refuse-chap<br>refuse-mschap<br># Require the peer to authenticate itself using MS-CHAPv2 [Microsoft<br># Challenge Handshake Authentication Protocol, Version 2] authentication.<br>require-mschap-v2
<br># Require MPPE 128-bit encryption<br># (note that MPPE requires the use of MSCHAP-V2 during authentication)<br>require-mppe-128<br># }}}<br><br><br># OpenSSL licensed ppp-2.4.1 fork with MPPE only, kernel module mppe.o

<br># {{{<br>#-chap<br>#-chapms<br># Require the peer to authenticate itself using MS-CHAPv2 [Microsoft<br># Challenge Handshake Authentication Protocol, Version 2] authentication.<br>#+chapms-v2<br># Require MPPE encryption
<br># (note that MPPE requires the use of MSCHAP-V2 during authentication)<br>#mppe-40        # enable either 40-bit or 128-bit, not both<br>#mppe-128<br>#mppe-stateless<br># }}}<br><br><br># Network and Routing<br><br># If pppd is acting as a server for Microsoft Windows clients, this
<br># option allows pppd to supply one or two DNS (Domain Name Server)<br># addresses to the clients.  The first instance of this option<br># specifies the primary DNS address; the second instance (if given)<br># specifies the secondary DNS address.
<br>#ms-dns <a href="http://10.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.0.0.1</a><br>#ms-dns <a href="http://10.0.0.2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
10.0.0.2</a><br><br># If pppd is acting as a server for Microsoft Windows or "Samba"<br># clients, this option allows pppd to supply one or two WINS (Windows
<br># Internet Name Services) server addresses to the clients.  The first<br># instance of this option specifies the primary WINS address; the<br># second instance (if given) specifies the secondary WINS address.<br>#ms-wins 
<a href="http://10.0.0.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.0.0.3</a><br>#ms-wins <a href="http://10.0.0.4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.0.0.4
</a><br><br># Add an entry to this system's ARP [Address Resolution Protocol]<br># table with the IP address of the peer and the Ethernet address of this
<br># system.  This will have the effect of making the peer appear to other<br># systems to be on the local ethernet.<br># (you do not need this if your PPTP server is responsible for routing<br># packets to the clients -- James Cameron)
<br>proxyarp<br><br><br># Logging<br><br># Enable connection debugging facilities.<br># (see your syslog configuration for where pppd sends to)<br>#debug<br><br># Print out all the option values which have been set.<br># (often requested by mailing list to verify options)
<br>#dump<br><br><br># Miscellaneous<br><br># Create a UUCP-style lock file for the pseudo-tty to ensure exclusive<br># access.<br>lock<br><br># Disable BSD-Compress compression<br>nobsdcomp<br><br># Disable Van Jacobson compression
<br># (needed on some networks with Windows 9x/ME/XP clients, see posting to<br># poptop-server on 14th April 2005 by Pawel Pokrywka and followups,<br># <a href="http://marc.theaimsgroup.com/?t=111343175400006&r=1&w=2" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://marc.theaimsgroup.com/?t=111343175400006&r=1&w=2</a> )<br>novj<br>novjccomp<br><br># turn off logging to stderr, since this may be redirected to pptpd,<br># which may trigger a loopback<br>nologfd<br><br># put plugins here
<br># (putting them higher up may cause them to sent messages to the pty)<br>******************************************************************************<br><br>Esse ae é minha vpn em produção, teste por favor ok?<br><br>

Outra coisa, lembre-se que no windows 98 é necessário instalar um suporte a vpn, de uma procurada na net ok?<br><br>Abraços.<br><br><br><br><br><br><br><br><br><div><span class="gmail_quote">2006/12/5, Leonardo Korndorfer <
<a href="mailto:leokorndorfer@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">leokorndorfer@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_10f53a7f58a1f73f_1">Pois bem...<br>
Estou tendo um problema com um tunel pptp em um sistema embarado. Seguem alguns pedaços de log:<br><br>Servidor:<br clear="all">Dec  5 09:05:48 Digistar daemon.err pppd[12475]: Received bad configure-ack:  1a 04 78 00 18 04 78 00
<br>Dec  5 09:05:51 Digistar daemon.debug pppd[12475]: sent [CCP ConfReq id=0x2 <deflate 15> <deflate(old#) 15>]<br>Dec  5 09:05:51 Digistar daemon.debug pptpd[12474]: GRE: accepting packet #24<br>Dec  5 09:05:51 Digistar 
daemon.debug pptpd[12474]: GRE: accepting packet #25<br>Dec  5 09:05:51 Digistar daemon.debug pppd[12475]: rcvd [CCP ConfReq id=0x9 <deflate 15> <deflate(old#) 15>]<br>Dec  5 09:05:51 Digistar daemon.debug pppd[12475]: sent [CCP ConfAck id=0x9 <deflate 15> <deflate(old#) 15>]
<br>Dec  5 09:05:51 Digistar daemon.debug pppd[12475]: rcvd [CCP ConfAck id=0x2 <deflate 15> <deflate(old#) 15>]<br>Dec  5 09:05:51 Digistar daemon.err pppd[12475]: Received bad configure-ack:  1a 04 78 00 18 04 78 00
<br>Dec  5 09:05:52 Digistar <a href="http://syslog.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">syslog.info</a> -- MARK --<br>Dec  5 09:05:54 Digistar daemon.debug pppd[12475]: sent [CCP ConfReq id=0x2 <deflate 15> <deflate(old#) 15>]
<br>Dec  5 09:05:54 Digistar 
daemon.debug pptpd[12474]: GRE: accepting packet #26<br>Dec  5 09:05:54 Digistar daemon.debug pptpd[12474]: GRE: accepting packet #27<br>Dec  5 09:05:54 Digistar daemon.debug pppd[12475]: rcvd [CCP ConfReq id=0xa <deflate 15> <deflate(old#) 15>]
<br>Dec  5 09:05:54 Digistar daemon.debug pppd[12475]: sent [CCP ConfAck id=0xa <deflate 15> <deflate(old#) 15>]<br>Dec  5 09:05:54 Digistar daemon.debug pppd[12475]: rcvd [CCP ConfAck id=0x2 <deflate 15> <deflate(old#) 15>]
<br>Dec  5 09:05:54 Digistar daemon.err pppd[12475]: Received bad configure-ack:  1a 04 78 00 18 04 78 00<br>Dec  5 09:05:57 Digistar daemon.warn pppd[12475]: CCP: timeout sending Config-Requests<br>Dec  5 09:06:25 Digistar 
daemon.debug pptpd[12474]: CTRL: Received PPTP Control Message (type: 5)<br>Dec  5 09:06:25 Digistar daemon.debug pptpd[12474]: CTRL: Made a ECHO RPLY packet<br>Dec  5 09:06:25 Digistar daemon.debug pptpd[12474]: CTRL: I wrote 20 bytes to the client.
<br>Dec  5 09:06:25 Digistar daemon.debug pptpd[12474]: CTRL: Sent packet to client<br>Dec  5 09:07:25 Digistar daemon.debug pptpd[12474]: CTRL: Sending ECHO REQ id 1<br>Dec  5 09:07:25 Digistar daemon.debug pptpd[12474]: CTRL: Made a ECHO REQ packet
<br>Dec  5 09:07:25 Digistar daemon.debug pptpd[12474]: CTRL: I wrote 16 bytes to the client.<br>Dec  5 09:07:25 Digistar daemon.debug pptpd[12474]: CTRL: Sent packet to client<br><br><br>Cliente:<br>Dec  5 12:01:14 eng-4 pptp[7083]: anon log[main:
pptp.c:276]: The synchronous pptp option is NOT activated<br>Dec  5 12:01:14 eng-4 pptp[7086]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'<br>Dec  5 12:01:14 eng-4 pptp[7086]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
<br>Dec  5 12:01:14 eng-4 pptp[7086]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.<br>Dec  5 12:01:15 eng-4 pptp[7086]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
<br>Dec  5 12:01:15 eng-4 pptp[7086]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.<br>Dec  5 12:01:15 eng-4 pptp[7086]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 1408).
<br>Dec  5 12:01:15 eng-4 pppd[7088]: pppd 2.4.3 started by root, uid 0<br>Dec  5 12:01:15 eng-4 pppd[7088]: Using interface ppp0<br>Dec  5 12:01:15 eng-4 pppd[7088]: Connect: ppp0 <--> /dev/pts/5<br>Dec  5 12:01:15 eng-4 pppd[7088]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
<br>Dec  5 12:01:17 eng-4 pppd[7088]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access<br>Dec  5 12:01:17 eng-4 pppd[7088]: Remote message: Login ok<br>Dec  5 12:01:17 eng-4 pppd[7088]: PAP authentication succeeded
<br>Dec  5 12:01:17 eng-4 kernel: PPP Deflate Compression module registered<br>Dec  5 12:01:17 eng-4 pppd[7088]: Deflate (15) compression enabled<br>Dec  5 12:01:17 eng-4 pppd[7088]: local  IP address <a href="http://192.168.10.51" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


192.168.10.51</a><br>Dec  5 12:01:17 eng-4 pppd[7088]: remote IP address <a href="http://192.168.10.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.10.1</a><br>Dec  5 12:01:20 eng-4 pppd[7088]: Deflate (15) compression enabled
<br><br>Este é o pedaço de codigo onde o erro é gerado.
<br>    if( !(f->callbacks->ackci? (*f->callbacks->ackci)(f, inp, len): <br>    (len == 0)) ){<br>    /* Ack is bad - ignore it */<br>    error("Received bad configure-ack: %P", inp, len);<br>    return;
<br>    }<br><br><br>Eu estou com uma grande tendencia a acreditar que nao é bug no codigo. Meus arquivos de configuraçao tambem acredito que nao tenham problemas.<br>Ele fica recebendo esses "bad configure-ack" desde o pacote #1.
<br><br>Interessante, nao?<br><br>Se alguem tiver alguma ideia sera bem vinda.<br><br><br><br><br>-- <br>Leonardo Korndorfer<br>x50/x6F/x72/x20/x66/x61/x76/x6F/x72/x21/x20/x4E/x61/x6F/x20/x61/x63/x72/x65/x64/x69/x74/x6F/x20/x71/x75/x65/x20/x74/x75/x20/x74/x65/x20/x64/x65/x73/x74/x65/x20/x6F/x20/x74/x72/x61/x62/x61/x6C/x68/x6F/x20/x64/x65/x20/x74/x72/x61/x64/x75/x7A/x69/x72/x20/x69/x73/x73/x6F/x21/x20
<br><br>alt.not.root.coffe.coffe.coffe<br><br>A monk asked Joshu, "Does a dog have the Buddha nature?<br>Joshu retorted, "Mu!"<br><br>MSN: <a href="mailto:leokorndorfer@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

leokorndorfer@hotmail.com
</a><br>ICQ: 102788426<br>Slack + Gentoo
<br></span></div>--<br>Fedora-users-br mailing list<br><a href="mailto:Fedora-users-br@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Fedora-users-br@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Cristiano Furtado dos Santos<br>Administrador de Sistemas Linux<br><a href="http://jasonnfedora.no-ip.org/repositorio" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://jasonnfedora.no-ip.org/repositorio</a><br><a href="http://fedora.org.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://fedora.org.br</a>

</blockquote></div><br><br clear="all"><br>-- <br>Cristiano Furtado dos Santos<br>Administrador de Sistemas Linux<br><a href="http://jasonnfedora.no-ip.org/repositorio">http://jasonnfedora.no-ip.org/repositorio</a><br><a href="http://fedora.org.br">
http://fedora.org.br</a>