ppp PPPoE Подкиньте идею

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение paradox » 2008-03-20 15:22:43

давайте ваши логи и конфиги будем смотреть
у меня pptp в режиме сервера еще и по радиусу с биллингом работал)
а пользователи по префиксу в логине выбирали через какой pppoe линк они будут ходить)

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2460 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

KVIN
рядовой
Сообщения: 41
Зарегистрирован: 2008-03-20 15:22:12

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение KVIN » 2008-03-20 15:47:24

Система FreeBSD 5.5 i386 MPd 3.18

mpd.conf

Код: Выделить всё

default:
    load PPPoE
    load pptp1

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

pptp1:
    new -i ng1 pptp1 pptp1
    set ipcp ranges 192.168.100.200/24 192.168.100.152/24
    load pptp_standart

pptp_standart:
    set iface disable on-demand
    set bundle disable multilink
    set link yes acfcomp protocomp

    set link no pap chap
    set link enable chap
    set link keep-alive 60 180
    set ipcp yes vjcomp

    set ipcp dns 195.149.125.1 195.149.125.5

    set iface enable proxy-arp
    set iface enable tcpmssfix
    set bundle enable compression
    set ccp yes mppc
    set ccp yes mpp-e40
    set ccp yes mpp-e128
    set ccp yes mpp-stateless
    set bundle yes crypt-reqd

    set pptp enable incoming
    set pptp disable originate
    log +auth*
mpd.links

Код: Выделить всё

PPPoE:
    set link type pppoe
    set pppoe iface rl1
    set pppoe service "*"
#    set pppoe disable incoming
    set pppoe enable originate outcall

pptp1:
    set link type pptp
    set disable windowing
Последний раз редактировалось hizel 2008-03-20 16:56:07, всего редактировалось 2 раза.
Причина: [code][/code]
ntp.od.ua - Самое точное время в Одессе

KVIN
рядовой
Сообщения: 41
Зарегистрирован: 2008-03-20 15:22:12

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение KVIN » 2008-03-20 15:55:28

mpd.log

Код: Выделить всё

Mar 21 09:19:20 h88 mpd: mpd: pid 7400, version 3.18 ( 23:33  6-Apr-2006)
Mar 21 09:19:20 h88 mpd: [PPPoE] ppp node is "mpd7400-PPPoE"
Mar 21 09:19:20 h88 mpd: [PPPoE] exec: /sbin/ifconfig rl1 up
Mar 21 09:19:20 h88 mpd: [PPPoE] using interface ng0
Mar 21 09:19:20 h88 mpd: [PPPoE] IPCP: peer address cannot be zero
Mar 21 09:19:20 h88 mpd: [PPPoE] IFACE: Open event
Mar 21 09:19:20 h88 mpd: [PPPoE] IPCP: Open event
Mar 21 09:19:20 h88 mpd: [PPPoE] IPCP: state change Initial --> Starting
Mar 21 09:19:20 h88 mpd: [PPPoE] IPCP: LayerStart
Mar 21 09:19:20 h88 mpd: [pptp1] ppp node is "mpd7400-pptp1"
Mar 21 09:19:20 h88 mpd: [pptp1] using interface ng1
Mar 21 09:19:20 h88 mpd: mpd: local IP address for PPTP is 0.0.0.0
Mar 21 09:19:20 h88 mpd: [pptp2] ppp node is "mpd7400-pptp2"
Mar 21 09:19:20 h88 mpd: [pptp2] using interface ng2
Mar 21 09:19:20 h88 mpd: [pptp3] ppp node is "mpd7400-pptp3"
Mar 21 09:19:20 h88 mpd: [pptp3] using interface ng3
Mar 21 09:19:20 h88 mpd: [pptp4] ppp node is "mpd7400-pptp4"
Mar 21 09:19:20 h88 mpd: [pptp4] using interface ng4
Mar 21 09:19:20 h88 mpd: [pptp5] ppp node is "mpd7400-pptp5"
Mar 21 09:19:20 h88 mpd: [pptp5] using interface ng5
Mar 21 09:19:20 h88 mpd: [pptp6] ppp node is "mpd7400-pptp6"
Mar 21 09:19:20 h88 mpd: [pptp6] using interface ng6
Mar 21 09:19:20 h88 mpd: [PPPoE] bundle: OPEN event in state CLOSED
Mar 21 09:19:20 h88 mpd: [PPPoE] opening link "PPPoE"...
Mar 21 09:19:20 h88 mpd: [PPPoE] link: OPEN event
Mar 21 09:19:20 h88 mpd: [PPPoE] LCP: Open event
Mar 21 09:19:20 h88 mpd: [PPPoE] LCP: state change Initial --> Starting
Mar 21 09:19:20 h88 mpd: [PPPoE] LCP: LayerStart
Mar 21 09:19:20 h88 mpd: [PPPoE] device: OPEN event in state DOWN
Mar 21 09:19:20 h88 mpd: [PPPoE] device is now in state OPENING
Mar 21 09:19:20 h88 mpd: [PPPoE] rec'd ACNAME "Chernomor"
Mar 21 09:19:21 h88 mpd: [PPPoE] rec'd proto LCP while dead
Mar 21 09:19:21 h88 mpd: [PPPoE] PPPoE connection successful
Mar 21 09:19:21 h88 mpd: [PPPoE] device: UP event in state OPENING
Mar 21 09:19:21 h88 mpd: [PPPoE] device is now in state UP
Mar 21 09:19:21 h88 mpd: [PPPoE] link: UP event
Mar 21 09:19:21 h88 mpd: [PPPoE] link: origination is local
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: Up event
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: state change Starting --> Req-Sent
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: phase shift DEAD --> ESTABLISH
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: SendConfigReq #1
Mar 21 09:19:21 h88 mpd:  MRU 1492
Mar 21 09:19:21 h88 mpd:  MAGICNUM 0cc16fa8
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: rec'd Configure Ack #1 link 0 (Req-Sent)
Mar 21 09:19:21 h88 mpd:  MRU 1492
Mar 21 09:19:21 h88 mpd:  MAGICNUM 0cc16fa8
Mar 21 09:19:21 h88 mpd: [PPPoE] LCP: state change Req-Sent --> Ack-Rcvd
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: rec'd Configure Request #2 link 0 (Ack-Rcvd)
Mar 21 09:19:25 h88 mpd:  MRU 1492
Mar 21 09:19:25 h88 mpd:  AUTHPROTO CHAP MD5
Mar 21 09:19:25 h88 mpd:  MAGICNUM 0e6699ee
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: SendConfigAck #2
Mar 21 09:19:25 h88 mpd:  MRU 1492
Mar 21 09:19:25 h88 mpd:  AUTHPROTO CHAP MD5
Mar 21 09:19:25 h88 mpd:  MAGICNUM 0e6699ee
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: state change Ack-Rcvd --> Opened
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: auth: peer wants CHAP, I want nothing
Mar 21 09:19:25 h88 mpd: [PPPoE] LCP: LayerUp
Mar 21 09:19:25 h88 mpd: [PPPoE] CHAP: rec'd CHALLENGE #1
Mar 21 09:19:25 h88 mpd:  Name: "Chernomor"
Mar 21 09:19:25 h88 mpd:  Using authname "niva"
Mar 21 09:19:25 h88 mpd: [PPPoE] CHAP: sending RESPONSE
Mar 21 09:19:26 h88 mpd: [PPPoE] CHAP: rec'd SUCCESS #1
Mar 21 09:19:26 h88 mpd: [PPPoE] LCP: authorization successful
Mar 21 09:19:26 h88 mpd: [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK
Mar 21 09:19:26 h88 mpd: [PPPoE] setting interface ng0 MTU to 1492 bytes
Mar 21 09:19:26 h88 mpd: [PPPoE] up: 1 link, total bandwidth 64000 bps
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: Up event
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: state change Starting --> Req-Sent
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: SendConfigReq #1
Mar 21 09:19:26 h88 mpd:  IPADDR 0.0.0.0
Mar 21 09:19:26 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: rec'd Configure Request #1 link 0 (Req-Sent)
Mar 21 09:19:26 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Mar 21 09:19:26 h88 mpd:  IPADDR 195.149.125.136
Mar 21 09:19:26 h88 mpd:    195.149.125.136 is OK
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: SendConfigAck #1
Mar 21 09:19:26 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Mar 21 09:19:26 h88 mpd:  IPADDR 195.149.125.136
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: state change Req-Sent --> Ack-Sent
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: rec'd Configure Nak #1 link 0 (Ack-Sent)
Mar 21 09:19:26 h88 mpd:  IPADDR 195.149.*.*
Mar 21 09:19:26 h88 mpd:    195.149.*.* is OK
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: SendConfigReq #2
Mar 21 09:19:26 h88 mpd:  IPADDR 195.149.*.*
Mar 21 09:19:26 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: rec'd Configure Ack #2 link 0 (Ack-Sent)
Mar 21 09:19:26 h88 mpd:  IPADDR 195.149.*.*
Mar 21 09:19:26 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: state change Ack-Sent --> Opened
Mar 21 09:19:26 h88 mpd: [PPPoE] IPCP: LayerUp
Mar 21 09:19:26 h88 mpd:   195.149.*.* -> 195.149.125.136
Mar 21 09:19:26 h88 mpd: [PPPoE] IFACE: Up event
Mar 21 09:19:26 h88 mpd: [PPPoE] setting interface ng0 MTU to 1492 bytes
Mar 21 09:19:26 h88 mpd: [PPPoE] exec: /sbin/ifconfig ng0 195.149.*.* 195.149.125.136 netmask 0xffffffff -link0
Mar 21 09:19:26 h88 mpd: [PPPoE] exec: /sbin/route add 195.149.*.* -iface lo0
Mar 21 09:19:26 h88 mpd: [PPPoE] exec: /sbin/route add 0.0.0.0 195.149.125.136
Mar 21 09:19:26 h88 mpd: [PPPoE] IFACE: Up event
Mar 21 09:20:44 h88 mpd: mpd: PPTP connection from 217.146.*.*:2088
Mar 21 09:20:44 h88 mpd: pptp0: attached to connection with 217.146.*.*:2088
Mar 21 09:20:45 h88 mpd: [pptp1] IFACE: Open event
Mar 21 09:20:45 h88 mpd: [pptp1] IPCP: Open event
Mar 21 09:20:45 h88 mpd: [pptp1] IPCP: state change Initial --> Starting
Mar 21 09:20:45 h88 mpd: [pptp1] IPCP: LayerStart
Mar 21 09:20:45 h88 mpd: [pptp1] IPCP: Open event
Mar 21 09:20:45 h88 mpd: [pptp1] bundle: OPEN event in state CLOSED
Mar 21 09:20:45 h88 mpd: [pptp1] opening link "pptp1"...
Mar 21 09:20:45 h88 mpd: [pptp1] link: OPEN event
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: Open event
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: state change Initial --> Starting
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: LayerStart
Mar 21 09:20:45 h88 mpd: [pptp1] device: OPEN event in state DOWN
Mar 21 09:20:45 h88 mpd: [pptp1] attaching to peer's outgoing call
Mar 21 09:20:45 h88 mpd: [pptp1] device is now in state OPENING
Mar 21 09:20:45 h88 mpd: [pptp1] device: UP event in state OPENING
Mar 21 09:20:45 h88 mpd: [pptp1] device is now in state UP
Mar 21 09:20:45 h88 mpd: [pptp1] link: UP event
Mar 21 09:20:45 h88 mpd: [pptp1] link: origination is remote
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: Up event
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: state change Starting --> Req-Sent
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: phase shift DEAD --> ESTABLISH
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: SendConfigReq #1
Mar 21 09:20:45 h88 mpd:  ACFCOMP
Mar 21 09:20:45 h88 mpd:  PROTOCOMP
Mar 21 09:20:45 h88 mpd:  MRU 1500
Mar 21 09:20:45 h88 mpd:  MAGICNUM 047f3708
Mar 21 09:20:45 h88 mpd:  AUTHPROTO CHAP MSOFTv2
Mar 21 09:20:45 h88 mpd: pptp0-0: ignoring SetLinkInfo
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
Mar 21 09:20:45 h88 mpd:  MRU 1400
Mar 21 09:20:45 h88 mpd:  MAGICNUM 394824dd
Mar 21 09:20:45 h88 mpd:  PROTOCOMP
Mar 21 09:20:45 h88 mpd:  ACFCOMP
Mar 21 09:20:45 h88 mpd:  CALLBACK
Mar 21 09:20:45 h88 mpd:    Not supported
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: SendConfigRej #0
Mar 21 09:20:45 h88 mpd:  CALLBACK
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: rec'd Configure Ack #1 link 0 (Req-Sent)
Mar 21 09:20:45 h88 mpd:  ACFCOMP
Mar 21 09:20:45 h88 mpd:  PROTOCOMP
Mar 21 09:20:45 h88 mpd:  MRU 1500
Mar 21 09:20:45 h88 mpd:  MAGICNUM 047f3708
Mar 21 09:20:45 h88 mpd:  AUTHPROTO CHAP MSOFTv2
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: state change Req-Sent --> Ack-Rcvd
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: rec'd Configure Request #1 link 0 (Ack-Rcvd)
Mar 21 09:20:45 h88 mpd:  MRU 1400
Mar 21 09:20:45 h88 mpd:  MAGICNUM 394824dd
Mar 21 09:20:45 h88 mpd:  PROTOCOMP
Mar 21 09:20:45 h88 mpd:  ACFCOMP
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: SendConfigAck #1
Mar 21 09:20:45 h88 mpd:  MRU 1400
Mar 21 09:20:45 h88 mpd:  MAGICNUM 394824dd
Mar 21 09:20:45 h88 mpd:  PROTOCOMP
Mar 21 09:20:45 h88 mpd:  ACFCOMP
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: state change Ack-Rcvd --> Opened
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: auth: peer wants nothing, I want CHAP
Mar 21 09:20:45 h88 mpd: [pptp1] CHAP: sending CHALLENGE
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: LayerUp
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: rec'd Ident #2 link 0 (Opened)
Mar 21 09:20:45 h88 mpd:  MESG: MSRASV5.10
Mar 21 09:20:45 h88 mpd: [pptp1] LCP: rec'd Ident #3 link 0 (Opened)
Mar 21 09:20:45 h88 mpd:  MESG: MSRAS-0-ADMIN
Mar 21 09:20:45 h88 mpd: [pptp1] CHAP: rec'd RESPONSE #1
Mar 21 09:20:45 h88 mpd:  Name: "administrator"
Mar 21 09:20:45 h88 mpd:  Peer name: "administrator"
Последний раз редактировалось KVIN 2008-03-20 16:09:58, всего редактировалось 1 раз.
ntp.od.ua - Самое точное время в Одессе

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35071
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение Alex Keda » 2008-03-20 16:02:13

офигенная идея - нормально оформлять сообщения.
Убей их всех! Бог потом рассортирует...

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение paradox » 2008-03-20 20:54:27

от того что я покажу конфиги ваша проблема не решиться
ее нужно исследовать)
для начала поставте
set bundle enable crypt-reqd
всто того что у вас set bundle yes crypt-reqd
поидеи mpd умеет распознавать и yes - но на всяк случай
уберите - set disable windowing
я непомню и незнаю чего она делает

дальше нужны несколько коннектов с разных машин и смотреть лог
возможно проблемы у клиентской стороны

если лог останавливаеться и молчит на этапе
Mar 21 09:20:45 h88 mpd: [pptp1] CHAP: rec'd RESPONSE #1
Mar 21 09:20:45 h88 mpd: Name: "administrator"
Mar 21 09:20:45 h88 mpd: Peer name: "administrator"

значит реально где то баг
в mpd модулях када то был...
на всяк случай обновите mpd
перепробуйте
лог должен заканчиваться неавторизацией и причиной отказа
а не то что у вас)

а вообще давайте ssh
тогда будет проще

KVIN
рядовой
Сообщения: 41
Зарегистрирован: 2008-03-20 15:22:12

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение KVIN » 2008-03-21 12:14:05

тут такую особенность заметил обратите внимание на авторизацию и время ее вот лог
и почемуто ПППоЕ соединение падает.

Код: Выделить всё

Mar 23 10:34:04 h88 mpd: [pptp1] CHAP: rec'd RESPONSE #1
Mar 23 10:34:04 h88 mpd:  Not expected, but that's OK
Mar 23 10:34:04 h88 mpd:  Name: "administrator"
Mar 23 10:34:04 h88 mpd:  Peer name: "administrator"
Mar 23 10:35:44 h88 mpd:  Response is valid
Mar 23 10:35:44 h88 mpd: [pptp1] CHAP: sending SUCCESS
Mar 23 10:35:44 h88 mpd: [pptp1] error writing len 50 frame to bypass: Network i
s down
Mar 23 10:35:44 h88 mpd: [pptp1] LCP: authorization successful
Mar 23 10:35:44 h88 mpd: [PPPoE] link: DOWN event
Mar 23 10:35:44 h88 mpd: [PPPoE] LCP: Down event
Mar 23 10:35:44 h88 mpd: [PPPoE] LCP: state change Opened --> Starting
Mar 23 10:35:44 h88 mpd: [PPPoE] LCP: phase shift NETWORK --> DEAD
Mar 23 10:35:44 h88 mpd: [PPPoE] setting interface ng0 MTU to 1500 bytes
Mar 23 10:35:44 h88 mpd: [PPPoE] up: 0 links, total bandwidth 9600 bps
Mar 23 10:35:44 h88 mpd: [PPPoE] IPCP: Down event
Mar 23 10:35:44 h88 mpd: [PPPoE] IPCP: state change Opened --> Starting
Mar 23 10:35:44 h88 mpd: [PPPoE] IPCP: LayerDown
Mar 23 10:35:44 h88 mpd: [PPPoE] IFACE: Down event
Mar 23 10:35:44 h88 mpd: [PPPoE] exec: /sbin/route delete 0.0.0.0 195.149.*.*
6
Mar 23 10:35:44 h88 mpd: [PPPoE] exec: /sbin/route delete 195.149.*.* -iface
lo0
Mar 23 10:35:45 h88 mpd: [PPPoE] exec: /sbin/ifconfig ng0 down delete -link0
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: LayerDown
Mar 23 10:35:45 h88 mpd: [pptp1] link: DOWN event
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: Down event
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: state change Opened --> Starting
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: phase shift NETWORK --> DEAD
Mar 23 10:35:45 h88 mpd: [pptp1] setting interface ng1 MTU to 1500 bytes
Mar 23 10:35:45 h88 mpd: [pptp1] up: 0 links, total bandwidth 9600 bps
Mar 23 10:35:45 h88 mpd: [pptp1] IPCP: Down event
Mar 23 10:35:45 h88 mpd: [pptp1] IPCP: LayerFinish
Mar 23 10:35:45 h88 mpd: [pptp1] IPCP: state change Closing --> Initial
Mar 23 10:35:45 h88 mpd: [pptp1] CCP: Down event
Mar 23 10:35:45 h88 mpd: [pptp1] CCP: state change Req-Sent --> Starting
Mar 23 10:35:45 h88 mpd: [pptp1] CCP: Close event
Mar 23 10:35:45 h88 mpd: [pptp1] CCP: state change Starting --> Initial
Mar 23 10:35:45 h88 mpd: [pptp1] CCP: LayerFinish
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: LayerDown
Mar 23 10:35:45 h88 mpd: [PPPoE] rec'd proto LCP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] rec'd proto CHAP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] bundle: CLOSE event in state OPENED
Mar 23 10:35:45 h88 mpd: [pptp1] closing link "pptp1"...
Mar 23 10:35:45 h88 mpd: [PPPoE] device: OPEN event in state DOWN
Mar 23 10:35:45 h88 mpd: [PPPoE] device is now in state OPENING
Mar 23 10:35:45 h88 mpd: [pptp1] device: OPEN event in state DOWN
Mar 23 10:35:45 h88 mpd: [pptp1] pptp originate option is not enabled
Mar 23 10:35:45 h88 mpd: [pptp1] device is now in state OPENING
Mar 23 10:35:45 h88 mpd: [PPPoE] rec'd proto LCP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] rec'd proto CHAP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] link: CLOSE event
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: Close event
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: state change Starting --> Initial
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: LayerFinish
Mar 23 10:35:45 h88 mpd: [pptp1] device: DOWN event in state OPENING
Mar 23 10:35:45 h88 mpd: [pptp1] device is now in state DOWN
Mar 23 10:35:45 h88 mpd: [pptp1] rec'd proto CHAP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] link: DOWN event
Mar 23 10:35:45 h88 mpd: [pptp1] LCP: Down event
Mar 23 10:35:45 h88 mpd: [pptp1] device: CLOSE event in state DOWN
Mar 23 10:35:45 h88 mpd: [pptp1] device is now in state DOWN
Mar 23 10:35:45 h88 mpd: [pptp1] rec'd proto CHAP while dead
Mar 23 10:35:45 h88 mpd: [pptp1] rec'd proto LCP while dead
Mar 23 10:35:45 h88 mpd: [PPPoE] rec'd ACNAME "Chernomor"
Mar 23 10:35:45 h88 mpd: [PPPoE] PPPoE connection successful
Mar 23 10:35:45 h88 mpd: [PPPoE] device: UP event in state OPENING
Mar 23 10:35:45 h88 mpd: [PPPoE] device is now in state UP
Mar 23 10:35:45 h88 mpd: [PPPoE] link: UP event
Mar 23 10:35:45 h88 mpd: [PPPoE] link: origination is local
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: Up event
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: state change Starting --> Req-Sent
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: phase shift DEAD --> ESTABLISH
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: SendConfigReq #3
Mar 23 10:35:45 h88 mpd:  MRU 1492
Mar 23 10:35:45 h88 mpd:  MAGICNUM ca5cadd6
Mar 23 10:35:45 h88 mpd:  MP MRRU 1600
Mar 23 10:35:45 h88 mpd:  MP SHORTSEQ
Mar 23 10:35:45 h88 mpd:  ENDPOINTDISC [802.1] 00 30 4f 3e 9e 96
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: rec'd Configure Request #1 link 0 (Req-Sen
t)
Mar 23 10:35:45 h88 mpd:  MRU 1492
Mar 23 10:35:45 h88 mpd:  AUTHPROTO CHAP MD5
Mar 23 10:35:45 h88 mpd:  MAGICNUM 13b01cc5
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: SendConfigAck #1
Mar 23 10:35:45 h88 mpd:  MRU 1492
Mar 23 10:35:45 h88 mpd:  AUTHPROTO CHAP MD5
Mar 23 10:35:45 h88 mpd:  MAGICNUM 13b01cc5
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: state change Req-Sent --> Ack-Sent
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: rec'd Configure Reject #3 link 0 (Ack-Sent
)
Mar 23 10:35:45 h88 mpd:  MP MRRU 1600
Mar 23 10:35:45 h88 mpd:  MP SHORTSEQ
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: SendConfigReq #4
Mar 23 10:35:45 h88 mpd:  MRU 1492
Mar 23 10:35:45 h88 mpd:  MAGICNUM ca5cadd6
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: rec'd Configure Ack #4 link 0 (Ack-Sent)
Mar 23 10:35:45 h88 mpd:  MRU 1492
Mar 23 10:35:45 h88 mpd:  MAGICNUM ca5cadd6
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: state change Ack-Sent --> Opened
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: phase shift ESTABLISH --> AUTHENTICATE
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: auth: peer wants CHAP, I want nothing
Mar 23 10:35:45 h88 mpd: [PPPoE] LCP: LayerUp
Mar 23 10:35:45 h88 mpd: [PPPoE] CHAP: rec'd CHALLENGE #1
Mar 23 10:35:45 h88 mpd:  Name: "Chernomor"
Mar 23 10:35:45 h88 mpd:  Using authname "niva"
Mar 23 10:35:45 h88 mpd: [PPPoE] CHAP: sending RESPONSE
Mar 23 10:35:46 h88 mpd: [PPPoE] CHAP: rec'd SUCCESS #1
Mar 23 10:35:46 h88 mpd: [PPPoE] LCP: authorization successful
Mar 23 10:35:46 h88 mpd: [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK
Mar 23 10:35:46 h88 mpd: [PPPoE] setting interface ng0 MTU to 1492 bytes
Mar 23 10:35:46 h88 mpd: [PPPoE] up: 1 link, total bandwidth 64000 bps
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: Up event
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: state change Starting --> Req-Sent
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: SendConfigReq #3
Mar 23 10:35:46 h88 mpd:  IPADDR 0.0.0.0
Mar 23 10:35:46 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: rec'd Configure Request #1 link 0 (Req-Se
nt)
Mar 23 10:35:46 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Mar 23 10:35:46 h88 mpd:  IPADDR 195.149.*.*
Mar 23 10:35:46 h88 mpd:    195.149.*.* is OK
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: SendConfigAck #1
Mar 23 10:35:46 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Mar 23 10:35:46 h88 mpd:  IPADDR 195.149.*.*
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: state change Req-Sent --> Ack-Sent
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: rec'd Configure Nak #3 link 0 (Ack-Sent)
Mar 23 10:35:46 h88 mpd:  IPADDR 195.149.*.*
Mar 23 10:35:46 h88 mpd:    195.149.*.* is OK
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: SendConfigReq #4
Mar 23 10:35:46 h88 mpd:  IPADDR 195.149.*.*
Mar 23 10:35:46 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: rec'd Configure Ack #4 link 0 (Ack-Sent)
Mar 23 10:35:46 h88 mpd:  IPADDR 195.149.*.*
Mar 23 10:35:46 h88 mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: state change Ack-Sent --> Opened
Mar 23 10:35:46 h88 mpd: [PPPoE] IPCP: LayerUp
Mar 23 10:35:46 h88 mpd:   195.149.*.* -> 195.149.*.*
Mar 23 10:35:46 h88 mpd: [PPPoE] IFACE: Up event
Mar 23 10:35:46 h88 mpd: [PPPoE] setting interface ng0 MTU to 1492 bytes
Mar 23 10:35:46 h88 mpd: [PPPoE] exec: /sbin/ifconfig ng0 195.149.*.* 195.149.*.* netmask 0xffffffff -link0
Mar 23 10:35:46 h88 mpd: [PPPoE] exec: /sbin/route add 195.149.*.* -iface lo0
Mar 23 10:35:46 h88 mpd: [PPPoE] exec: /sbin/route add 0.0.0.0 195.149.*.*
Mar 23 10:35:46 h88 mpd: [PPPoE] IFACE: Up event
ntp.od.ua - Самое точное время в Одессе

KVIN
рядовой
Сообщения: 41
Зарегистрирован: 2008-03-20 15:22:12

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение KVIN » 2008-03-21 12:15:37

И подскажите как обновить MPD. Скачать к примеру 4 ую версию, распаковать
configure
make
make install ?
ntp.od.ua - Самое точное время в Одессе

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35071
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение Alex Keda » 2008-03-21 22:29:55

сообщения нормально оформляйте
Убей их всех! Бог потом рассортирует...

Аватара пользователя
hizel
дядя поня
Сообщения: 9031
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение hizel » 2008-03-21 22:55:23

KVIN писал(а):И подскажите как обновить MPD. Скачать к примеру 4 ую версию, распаковать
configure
make
make install ?
лучше уж через порты обновлять
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

moonug
проходил мимо
Сообщения: 9
Зарегистрирован: 2008-03-17 22:12:26
Откуда: Москва, МГУ, Физфак
Контактная информация:

Re: ppp PPPoE Подкиньте идею

Непрочитанное сообщение moonug » 2008-03-23 14:25:53

hizel писал(а):
KVIN писал(а):И подскажите как обновить MPD. Скачать к примеру 4 ую версию, распаковать
configure
make
make install ?
лучше уж через порты обновлять
И ставить 5-ый, ибо так завещал разработчик :)
К нему могу дать конфиги.