Freebsd 6.2: Как настроить Pppoe через Mpd?

Тема в разделе "Операционные системы", создана пользователем malor, 22 июл 2007.

  1. malor

    malor Active Member

    Регистрация:
    30 апр 2007
    Сообщения:
    27
    Симпатии:
    0
    Не могу выйти в инет через PPPoE используя mpd-3.18_4.tbz.
    /var/log/ppp.log:
    Код (Text):
    Jul 21 21:42:53 gangster ppp: mpd: pid 1134, version 3.18 (root@freebsd.org 06:18 15-Oct-2006)
    Jul 21 21:42:53 gangster ppp: [PPPoE] ppp node is "mpd1134-PPPoE"
    Jul 21 21:42:53 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:42:53 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:42:53 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:42:53 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:42:53 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:42:53 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:42:53 gangster ppp: [PPPoE] using interface ng0
    Jul 21 21:42:53 gangster ppp: [PPPoE] IPCP: peer address cannot be zero
    Jul 21 21:42:53 gangster ppp: [PPPoE] IFACE: Open event
    Jul 21 21:42:53 gangster ppp: [PPPoE] IPCP: Open event
    Jul 21 21:42:53 gangster ppp: [PPPoE] IPCP: state change Initial --> Starting
    Jul 21 21:42:53 gangster ppp: [PPPoE] IPCP: LayerStart
    Jul 21 21:42:53 gangster ppp: [PPPoE] bundle: OPEN event in state CLOSED
    Jul 21 21:42:53 gangster ppp: [PPPoE] opening link "PPPoE"...
    Jul 21 21:42:53 gangster ppp: [PPPoE] link: OPEN event
    Jul 21 21:42:53 gangster ppp: [PPPoE] LCP: Open event
    Jul 21 21:42:53 gangster ppp: [PPPoE] LCP: state change Initial --> Starting
    Jul 21 21:42:53 gangster ppp: [PPPoE] LCP: LayerStart
    Jul 21 21:42:53 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:42:53 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:42:53 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:42:53 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:42:53 gangster ppp: [PPPoE] can't connect bypass,link0 and vr0:orphans,mpd1134-PPPoE: No such file or directory
    Jul 21 21:42:53 gangster ppp: [PPPoE] can't remove hook mpd1134-PPPoE from node "vr0:orphans": No such file or directory
    Jul 21 21:42:53 gangster ppp: [PPPoE] device is now in state OPENING
    Jul 21 21:42:53 gangster ppp: [PPPoE] device: DOWN event in state OPENING
    Jul 21 21:42:53 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:42:53 gangster ppp: [PPPoE] link: DOWN event
    Jul 21 21:42:53 gangster ppp: [PPPoE] LCP: Down event
    Jul 21 21:42:53 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:42:53 gangster ppp: [PPPoE] pausing 6 seconds before open
    Jul 21 21:42:53 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:42:59 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:42:59 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:43:00 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:43:00 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:43:00 gangster ppp: [PPPoE] can't connect bypass,link0 and vr0:orphans,mpd1134-PPPoE: No such file or directory
    Jul 21 21:43:00 gangster ppp: [PPPoE] can't remove hook mpd1134-PPPoE from node "vr0:orphans": No such file or directory
    Jul 21 21:43:00 gangster ppp: [PPPoE] device is now in state OPENING
    Jul 21 21:43:00 gangster ppp: [PPPoE] device: DOWN event in state OPENING
    Jul 21 21:43:00 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:00 gangster ppp: [PPPoE] link: DOWN event
    Jul 21 21:43:00 gangster ppp: [PPPoE] LCP: Down event
    Jul 21 21:43:00 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:00 gangster ppp: [PPPoE] pausing 4 seconds before open
    Jul 21 21:43:00 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:04 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:04 gangster ppp: [PPPoE] pausing 2 seconds before open
    Jul 21 21:43:04 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:06 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:06 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:43:06 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:43:06 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:43:06 gangster ppp: [PPPoE] can't connect bypass,link0 and vr0:orphans,mpd1134-PPPoE: No such file or directory
    Jul 21 21:43:06 gangster ppp: [PPPoE] can't remove hook mpd1134-PPPoE from node "vr0:orphans": No such file or directory
    Jul 21 21:43:06 gangster ppp: [PPPoE] device is now in state OPENING
    Jul 21 21:43:06 gangster ppp: [PPPoE] device: DOWN event in state OPENING
    Jul 21 21:43:06 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:06 gangster ppp: [PPPoE] link: DOWN event
    Jul 21 21:43:06 gangster ppp: [PPPoE] LCP: Down event
    Jul 21 21:43:06 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:06 gangster ppp: [PPPoE] pausing 6 seconds before open
    Jul 21 21:43:06 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:12 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:12 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:43:12 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:43:12 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:43:12 gangster ppp: [PPPoE] can't connect bypass,link0 and vr0:orphans,mpd1134-PPPoE: No such file or directory
    Jul 21 21:43:12 gangster ppp: [PPPoE] can't remove hook mpd1134-PPPoE from node "vr0:orphans": No such file or directory
    Jul 21 21:43:12 gangster ppp: [PPPoE] device is now in state OPENING
    Jul 21 21:43:12 gangster ppp: [PPPoE] device: DOWN event in state OPENING
    Jul 21 21:43:12 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:12 gangster ppp: [PPPoE] link: DOWN event
    Jul 21 21:43:12 gangster ppp: [PPPoE] LCP: Down event
    Jul 21 21:43:12 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:12 gangster ppp: [PPPoE] pausing 6 seconds before open
    Jul 21 21:43:12 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:18 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:18 gangster ppp: [PPPoE] exec: /sbin/ifconfig vr0 up
    Jul 21 21:43:18 gangster ppp: [PPPoE] Cannot send a netgraph message: vr0::No such file or directory
    Jul 21 21:43:18 gangster ppp: [PPPoE] Error in creation ng_pppoe node on vr0:
    Jul 21 21:43:18 gangster ppp: [PPPoE] can't connect bypass,link0 and vr0:orphans,mpd1134-PPPoE: No such file or directory
    Jul 21 21:43:18 gangster ppp: [PPPoE] can't remove hook mpd1134-PPPoE from node "vr0:orphans": No such file or directory
    Jul 21 21:43:18 gangster ppp: [PPPoE] device is now in state OPENING
    Jul 21 21:43:18 gangster ppp: [PPPoE] device: DOWN event in state OPENING
    Jul 21 21:43:18 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:18 gangster ppp: [PPPoE] link: DOWN event
    Jul 21 21:43:18 gangster ppp: [PPPoE] LCP: Down event
    Jul 21 21:43:18 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:18 gangster ppp: [PPPoE] pausing 4 seconds before open
    Jul 21 21:43:18 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:22 gangster ppp: [PPPoE] device: OPEN event in state DOWN
    Jul 21 21:43:22 gangster ppp: [PPPoE] pausing 1 seconds before open
    Jul 21 21:43:22 gangster ppp: [PPPoE] device is now in state DOWN
    Jul 21 21:43:22 gangster ppp: mpd: caught fatal signal term
    Jul 21 21:43:22 gangster ppp: [PPPoE] IPCP: Down event
    Jul 21 21:43:22 gangster ppp: [PPPoE] IFACE: Close event
    Jul 21 21:43:22 gangster ppp: [PPPoE] IPCP: Close event
    Jul 21 21:43:22 gangster ppp: [PPPoE] IPCP: state change Starting --> Initial
    Jul 21 21:43:22 gangster ppp: [PPPoE] IPCP: LayerFinish
    Jul 21 21:43:22 gangster ppp: [PPPoE] bundle: CLOSE event in state OPENED
    Jul 21 21:43:22 gangster ppp: [PPPoE] closing link "PPPoE"...
    Jul 21 21:43:22 gangster ppp: [PPPoE] link: CLOSE event
    Jul 21 21:43:22 gangster ppp: [PPPoE] LCP: Close event
    Jul 21 21:43:22 gangster ppp: [PPPoE] LCP: state change Starting --> Initial
    Jul 21 21:43:22 gangster ppp: [PPPoE] LCP: LayerFinish
    Jul 21 21:43:22 gangster ppp: [PPPoE] device: CLOSE event in state DOWN
    Jul 21 21:43:22 gangster ppp: [PPPoE] device is now in state DOWN
    Содержимое конфигов - /usr/local/etc/mpd.conf:
    Код (Text):
    default:
    load PPPoE

    ... другие разделы...

    PPPoE:
    new -i ng0 PPPoE PPPoE
    set iface addrs 1.1.1.1 2.2.2.2
    set iface route default
    set iface disable on-demand
    set iface idle 0
    set bundle disable multilink
    set bundle authname malor
    set bundle password moi_parol
    set link no acfcomp protocomp
    set link disable pap chap
    set link accept chap
    set link mtu 1492
    set link keep-alive 10 60
    set ipcp yes vjcomp
    set ipcp ranges 0.0.0.0/0 0.0.0.0/0
    open iface

    ... другие разделы ...
    /usr/local/etc/mpd.links:
    Код (Text):
    ...
    PPPoE:
    set link type pppoe
    set pppoe iface vr0
    set pppoe service "*"
    set pppoe disable incoming
    set pppoe enable originate
    ...
    В /usr/local/etc/mpd.secret прописана строка с именем и паролем.

    Что делать?

    P.S. Где в инете инструкции по настройке PPPoE через mpd?

    FreeBSD 6.2
     
  2. @rtem

    @rtem Гость

    читайте handbook
    или вот
    http://freebsd.org.ru
    там все детально описано
     
Загрузка...

Поделиться этой страницей