🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by NiCrAm Thu, 13 May 2010 10:41
mpd5 - konfiguracja
#21610
Author: NiCrAm
Date: Thu, 13 May 2010 10:41
120 lines
5226 bytes
witam
probuje postawic koncentrator pppoe na mpd5 ale jak to na poczatkach bywa 
nie zawsze wychodzi.
oto mpd.conf

startup:
     set console open
     set web open



default:
          load pppoe
pppoe:
          new -i ng0 PPPoE PPPoE
          set bundle no multilink
          set bundle enable compression
          set bundle accept encryption
          set bundle max-logins 1
          set bundle enable radius-acct
          set bundle enable radius-auth
          set iface idle 0
          set iface disable on-demand
          set iface disable proxy-arp
          set iface enable tcpmssfix
          set iface mtu 1500
          set iface route default
          set link type pppoe
          set link mtu 1500
          set link no pap chap
          set link enable pap chap
          set link keep-alive 60 180
          set link max-redial -1
          set link mtu 1492
          set link latency 1
          set ccp yes mpp-e40
          set ccp yes mpp-e128
          set ccp yes mpp-stateless
          set pppoe iface bge0
          set pppoe service "*"
          set pppoe disable originate
          set pppoe enable incoming
          set ipcp ranges 192.168.5.50/32

jak startuje ten config (zaznaczam ze jest on tylko przykladowy zeby 
wogole odpalic koncentrator) to w logu mam same bledy:

May 13 12:40:20 fbsd mpd: Multi-link PPP daemon for FreeBSD
May 13 12:40:20 fbsd mpd:
May 13 12:40:20 fbsd mpd: process 1575 started, version 5.5 (root@fbsd 
12:32 12-May-2010)
May 13 12:40:20 fbsd mpd: CONSOLE: listening on 127.0.0.1 5005
May 13 12:40:20 fbsd mpd: web: listening on 127.0.0.1 5006
May 13 12:40:20 fbsd mpd: mpd.conf:10: Unknown command: 'new -i ng0 PPPoE 
PPPoE'. Try "help".
May 13 12:40:20 fbsd mpd: mpd.conf:11: Incorrect context for: 'set bundle 
no multilink'
May 13 12:40:20 fbsd mpd: mpd.conf:12: Incorrect context for: 'set bundle 
enable compression'
May 13 12:40:20 fbsd mpd: mpd.conf:13: Incorrect context for: 'set bundle 
accept encryption'
May 13 12:40:20 fbsd mpd: mpd.conf:14: Incorrect context for: 'set bundle 
max-logins 1'
May 13 12:40:20 fbsd mpd: mpd.conf:15: Incorrect context for: 'set bundle 
enable radius-acct'
May 13 12:40:20 fbsd mpd: mpd.conf:16: Incorrect context for: 'set bundle 
enable radius-auth'
May 13 12:40:20 fbsd mpd: mpd.conf:17: Incorrect context for: 'set iface 
idle 0'
May 13 12:40:20 fbsd mpd: mpd.conf:18: Incorrect context for: 'set iface 
disable on-demand'
May 13 12:40:20 fbsd mpd: mpd.conf:19: Incorrect context for: 'set iface 
disable proxy-arp'
May 13 12:40:20 fbsd mpd: mpd.conf:20: Incorrect context for: 'set iface 
enable tcpmssfix'
May 13 12:40:20 fbsd mpd: mpd.conf:21: Incorrect context for: 'set iface 
mtu 1500'
May 13 12:40:20 fbsd mpd: mpd.conf:22: Incorrect context for: 'set iface 
route default'
May 13 12:40:20 fbsd mpd: mpd.conf:23: Incorrect context for: 'set link 
type pppoe'
May 13 12:40:20 fbsd mpd: mpd.conf:24: Incorrect context for: 'set link 
mtu 1500'
May 13 12:40:20 fbsd mpd: mpd.conf:25: Incorrect context for: 'set link no 
pap chap'
May 13 12:40:20 fbsd mpd: mpd.conf:26: Incorrect context for: 'set link 
enable pap chap'
May 13 12:40:20 fbsd mpd: mpd.conf:27: Incorrect context for: 'set link 
keep-alive 60 180'
May 13 12:40:20 fbsd mpd: mpd.conf:28: Incorrect context for: 'set link 
max-redial -1'
May 13 12:40:20 fbsd mpd: mpd.conf:29: Incorrect context for: 'set link 
mtu 1492'
May 13 12:40:20 fbsd mpd: mpd.conf:30: Incorrect context for: 'set link 
latency 1'
May 13 12:40:20 fbsd mpd: mpd.conf:31: Incorrect context for: 'set ccp yes 
mpp-e40'
May 13 12:40:20 fbsd mpd: mpd.conf:32: Incorrect context for: 'set ccp yes 
mpp-e128'
May 13 12:40:20 fbsd mpd: mpd.conf:33: Incorrect context for: 'set ccp yes 
mpp-stateless'
May 13 12:40:20 fbsd mpd: mpd.conf:34: Incorrect context for: 'set pppoe 
iface bge0'
May 13 12:40:20 fbsd mpd: mpd.conf:35: Incorrect context for: 'set pppoe 
service *'
May 13 12:40:20 fbsd mpd: mpd.conf:36: Incorrect context for: 'set pppoe 
disable originate'
May 13 12:40:20 fbsd mpd: mpd.conf:37: Incorrect context for: 'set pppoe 
enable incoming'
May 13 12:40:20 fbsd mpd: mpd.conf:38: Incorrect context for: 'set ipcp 
ranges 192.168.5.50/32 192.168.5.128/32'


moglby ktos podrzucic jakis prosty dzialajacy konfig do tego?

niestety:
man mpd5 nie wiele mowi
a
[root@fbsd /usr/local/etc/mpd5]# apropos mpd.conf
mpd.conf: nothing appropriate
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads