URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 69225
[ Назад ]

Исходное сообщение
"PPPoE на FreeBSD не поднимается..."

Отправлено Alicho , 30-Сен-06 12:14 
не могу поднять PPPoE соединение на FreeBSD 4.11
облазил весь инет, вроде делаю все как в факах

ppp.conf
--
default:
    set log Phase Chat LCP IPCP CCP tun command
    set ifaddr 10.0.0.1/0 10.0.0.2/0

domru:
    set device PPPoE:rl0
    set authname XXX
    set authkey XXX
    add default HISADDR
    set timeout 0
    set mru 1492
    set mtu 1492
--

пробую запускать:
ppp -ddial domru

после этого ifconfig tun0 выдает:
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
        Opened by PID 888

а в ppp.log непрерывно сыпется следующее:
Sep 30 13:08:30 file-server ppp[865]: Phase: Using interface: tun0
Sep 30 13:08:30 file-server ppp[865]: Phase: deflink: Created in closed state
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set device PPPoE:rl0
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set authname XXX
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set authkey ********
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: add default HISADDR
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set timeout 0
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set mru 1492
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set mtu 1492
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set dial
Sep 30 13:08:30 file-server ppp[865]: tun0: Command: domru: set login
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: PPP Started (ddial mode).
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: bundle: Establish
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: closed -> opening
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: Connected!
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: opening -> dial
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: dial -> carrier
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "c7200-main.elss")
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: carrier -> login
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: login -> lcp
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: FSM: Using "deflink" as a transport
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: State change Initial --> Closed
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: State change Closed --> Stopped
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  QUALPROTO[8] proto c025, interval 0ms
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x82adacd0
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  NUMMODE[4] 0700
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  ACFCOMP[2]
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x1284931e
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: SendConfigRej(1) state = Stopped
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  NUMMODE[4] 0700
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: LayerStart
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: RecvConfigRej(1) state = Req-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  ACFCOMP[2]
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x1284931e
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: RecvConfigReq(2) state = Req-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  QUALPROTO[8] proto c025, interval 0ms
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x82adacd0
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: SendConfigAck(2) state = Req-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  QUALPROTO[8] proto c025, interval 1000ms
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x82adacd0
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x1284931e
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Sep 30 13:08:30 file-server ppp[866]: tun0: LCP: deflink: LayerUp
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: bundle: Authenticate
Sep 30 13:08:30 file-server ppp[866]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: RecvConfigReq(3) state = Opened
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: LayerDown
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  QUALPROTO[8] proto c025, interval 0ms
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x82adacd0
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: SendConfigReq(3) state = Opened
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  ACFCOMP[2]
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0xd148e381
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: SendConfigAck(3) state = Opened
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  QUALPROTO[8] proto c025, interval 1000ms
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0x82adacd0
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: State change Opened --> Ack-Sent
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: RecvConfigRej(3) state = Ack-Sent
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  ACFCOMP[2]
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: SendConfigReq(4) state = Ack-Sent
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0xd148e381
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: RecvConfigAck(4) state = Ack-Sent
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  PROTOCOMP[2]
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  ACCMAP[6] 0x00000000
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MRU[4] 1492
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP:  MAGICNUM[6] 0xd148e381
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Sep 30 13:08:32 file-server ppp[866]: tun0: LCP: deflink: LayerUp
Sep 30 13:08:32 file-server ppp[866]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Sep 30 13:08:34 file-server ppp[866]: tun0: LCP: deflink: RecvConfigReq(4) state = Opened
Sep 30 13:08:34 file-server ppp[866]: tun0: LCP: deflink: LayerDown

под виндой соединение с этой учеткой встает на ура
где копать?


Содержание

Сообщения в этом обсуждении
"PPPoE на FreeBSD не поднимается..."
Отправлено Alicho , 30-Сен-06 13:42 
не до конца кусок лога привел. в конце там еще это:
Sep 30 14:28:53 file-server ppp[129]: tun0: LCP: deflink: SendTerminateAck(10) state = Opened
Sep 30 14:28:53 file-server ppp[129]: tun0: LCP: deflink: State change Opened --> Stopping
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: Received NGM_PPPOE_CLOSE
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: Device disconnected
Sep 30 14:28:53 file-server ppp[129]: tun0: LCP: deflink: State change Stopping --> Starting
Sep 30 14:28:53 file-server ppp[129]: tun0: LCP: deflink: LayerFinish
Sep 30 14:28:53 file-server ppp[129]: tun0: LCP: deflink: State change Starting --> Initial
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: Disconnected!
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: lcp -> logout
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: Disconnected!
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: logout -> hangup
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: Connect time: 19 secs: 588 octets in, 727 octets out
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: 29 packets in, 29 packets out
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase:  total 69 bytes/sec, peak 92 bytes/sec on Sat Sep 30 14:28:40 2006
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: deflink: hangup -> closed
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: bundle: Dead
Sep 30 14:28:53 file-server ppp[129]: tun0: Phase: PPP Terminated (normal).