[FUG-BR] RES: RES: Problema com mpd 3.18 FreeBSD 7.1
Ricardo Augusto de Souza
ricardo.souza em cmtsp.com.br
Segunda Abril 13 19:04:15 BRT 2009
Subi o mpd com a seguinte configuração:
Trinity# cat mpd.conf
default:
load pptp0
pptp0:
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 172.16.0.1/32 172.16.0.2/24
# set ipcp dns 192.168.1.3
# set ipcp nbns 192.168.1.4
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
# We can use use RADIUS authentication/accounting by including
# another config section with label 'radius'.
# load radius
set link keep-alive 10 60
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
# Configure PPTP
set pptp self 200.143.XXX.YYYY
# Allow to accept calls
set link enable incoming
Erro:
[L-1] LCP: SendConfigReq #10
[L-1] ACFCOMP
[L-1] PROTOCOMP
[L-1] MRU 1500
[L-1] MAGICNUM f657733c
[L-1] AUTHPROTO CHAP MSOFTv2
[L-1] MP MRRU 2048
[L-1] MP SHORTSEQ
[L-1] ENDPOINTDISC [802.1] 00 1a 64 79 1d c4
[L-1] LCP: parameter negotiation failed
[L-1] LCP: state change Req-Sent --> Stopped
[L-1] LCP: LayerFinish
[L-1] PPTP call terminated
[L-1] Link: DOWN event
[L-1] LCP: Close event
[L-1] LCP: state change Stopped --> Closed
[L-1] LCP: Down event
[L-1] LCP: state change Closed --> Initial
[L-1] Link: SHUTDOWN event
[L-1] Link: Shutdown
Alguem tem alguma idéia?
-----Mensagem original-----
De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em nome de Márcio Luciano Donada
Enviada em: segunda-feira, 13 de abril de 2009 18:21
Para: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)"
Assunto: Re: [FUG-BR] RES: Problema com mpd 3.18 FreeBSD 7.1
Ricardo Augusto de Souza escreveu:
> Ok,
>
> Instalei o 5.2 e agora tenho estes erros:
> Label 'startup' not found
> mpd.conf:5: Unknown command: 'new -i ng0 pptp0 pptp0'. Try "help".
> mpd.conf:6: Incorrect context for: 'set bundle disable multilink'
> mpd.conf:7: Incorrect context for: 'set ipcp ranges 172.16.0.1/32 172.16.0.2/24'
> mpd.conf:8: Incorrect context for: 'set iface enable proxy-arp'
> mpd.conf:9: Incorrect context for: 'set iface route 172.16.0.1/24'
> mpd.conf:12: Incorrect context for: 'set link deny pap chap'
> mpd.conf:13: Incorrect context for: 'set link enable chap'
> mpd.conf:16: Incorrect context for: 'set ipcp enable vjcomp'
> mpd.conf:17: Incorrect context for: 'set bundle enable compression'
> mpd.conf:18: Incorrect context for: 'set ccp yes mppc'
> mpd.conf:19: Incorrect context for: 'set ccp yes mpp-e40'
> mpd.conf:20: Incorrect context for: 'set ccp yes mpp-e128'
> mpd.conf:21: Incorrect context for: 'set ccp yes mpp-stateless'
> [] quit
>
Sim, agora você vai ter que configurar o mesmo mpd5.conf, seguindo a doc
dele.
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
Mais detalhes sobre a lista de discussão freebsd