LINUX.ORG.RU
ФорумAdmin

PPoE клиет для BSD


0

0

вот файл ppp.conf

default:
set log Phase tun command
set ifaddr 192.168.0.167

INET:
set device PPPoE:fxp0
set authname login
set authkey passwd
set dial
set login
add default HISADDR

набираю в консоли /usr/sbin/ppp -ddial INET

пишет

orking in ddial mode
Using interface: tun0

и процесс остается в памяти добавляя в ppp.log через какждые пару секунд вот такую фигню

Nov 9 16:02:51 ppp[386]: Phase: Using interface: tun0
Nov 9 16:02:51 ppp[386]: Phase: deflink: Created in closed state
Nov 9 16:02:51 ppp[386]: tun0: Command: default: set ifaddr 192.168.0.167
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: set device PPPoE:fxp0
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: set authname ******
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: set authkey ********
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: set dial
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: set login
Nov 9 16:02:51 ppp[386]: tun0: Command: INET: add default HISADDR
Nov 9 16:02:51 ppp[387]: tun0: Phase: PPP Started (ddial mode).
Nov 9 16:02:51 ppp[387]: tun0: Phase: bundle: Establish
Nov 9 16:02:51 ppp[387]: tun0: Phase: deflink: closed -> opening
Nov 9 16:02:51 ppp[387]: tun0: Phase: deflink: Connected!
Nov 9 16:02:51 ppp[387]: tun0: Phase: deflink: opening -> dial
Nov 9 16:02:51 ppp[387]: tun0: Phase: deflink: dial -> carrier
Nov 9 16:02:51 ppp[387]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "INET")
Nov 9 16:02:52 ppp[387]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Nov 9 16:02:52 ppp[387]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Nov 9 16:02:52 ppp[387]: tun0: Phase: deflink: carrier -> login
Nov 9 16:02:52 ppp[387]: tun0: Phase: deflink: login -> lcp
Nov 9 16:02:53 ppp[387]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492

и собственно соединения не происходит
так вот вопрос что может быть не так ?


anonymous

Re: PPoE клиет для BSD

вобщем с этим разобралдся теперь лог выглядит так

Nov 9 17:15:41 ppp[336]: Phase: Using interface: tun0 Nov 9 17:15:41 ppp[336]: Phase: deflink: Created in closed state Nov 9 17:15:41 ppp[336]: tun0: Command: default: set ifaddr 212.152.33.200 Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set device PPPoE:fxp0 Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set authname pe1024543 Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set authkey ******** Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set dial Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set login Nov 9 17:15:41 ppp[336]: tun0: Command: INET: add default HISADDR Nov 9 17:15:41 ppp[337]: tun0: Phase: PPP Started (ddial mode). Nov 9 17:15:41 ppp[337]: tun0: Phase: bundle: Establish Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: closed -> opening Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: Connected! Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: opening -> dial Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: dial -> carrier Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "PPPoEAccess") Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_SESSIONID Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_SUCCESS Nov 9 17:15:42 ppp[337]: tun0: Phase: deflink: carrier -> login Nov 9 17:15:42 ppp[337]: tun0: Phase: deflink: login -> lcp Nov 9 17:15:44 ppp[337]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Authenticate Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: his = PAP, mine = none Nov 9 17:15:45 ppp[337]: tun0: Phase: Pap Output: pe1024543 ******** Nov 9 17:15:45 ppp[337]: tun0: Phase: Pap Input: SUCCESS (Greetings!!) Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: lcp -> open Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Network Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: open -> lcp Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Terminate Nov 9 17:15:45 ppp[337]: tun0: Phase: Received NGM_PPPOE_CLOSE Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Device disconnected Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Disconnected! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: lcp -> logout Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Disconnected! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: logout -> hangup Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Connect time: 4 secs: 234 octets in, 231 octets out Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: 12 packets in, 12 packets out Nov 9 17:15:45 ppp[337]: tun0: Phase: total 116 bytes/sec, peak 5 bytes/sec on Wed Nov 9 17:15:45 2005 Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: hangup -> opening Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Establish Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Enter pause (3) for redialing.

Особенно непонятны вот эти строчки

Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !

что там не то с ipv6

вобще\им все также жду хелпа

anonymous ()
Ответ на: Re: PPoE клиет для BSD от anonymous

Re: PPoE клиет для BSD

упс а теперь в читаемом виде

вобщем с этим разобралдся теперь лог выглядит так

Nov 9 17:15:41 ppp[336]: Phase: Using interface: tun0
Nov 9 17:15:41 ppp[336]: Phase: deflink: Created in closed state
Nov 9 17:15:41 ppp[336]: tun0: Command: default: set ifaddr 212.152.33.200
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set device PPPoE:fxp0
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set authname pe1024543
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set authkey ********
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set dial
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: set login
Nov 9 17:15:41 ppp[336]: tun0: Command: INET: add default HISADDR
Nov 9 17:15:41 ppp[337]: tun0: Phase: PPP Started (ddial mode).
Nov 9 17:15:41 ppp[337]: tun0: Phase: bundle: Establish
Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: closed -> opening
Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: Connected!
Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: opening -> dial
Nov 9 17:15:41 ppp[337]: tun0: Phase: deflink: dial -> carrier
Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "PPPoEAccess")
Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Nov 9 17:15:42 ppp[337]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Nov 9 17:15:42 ppp[337]: tun0: Phase: deflink: carrier -> login
Nov 9 17:15:42 ppp[337]: tun0: Phase: deflink: login -> lcp
Nov 9 17:15:44 ppp[337]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Authenticate
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: his = PAP, mine = none
Nov 9 17:15:45 ppp[337]: tun0: Phase: Pap Output: pe1024543 ********
Nov 9 17:15:45 ppp[337]: tun0: Phase: Pap Input: SUCCESS (Greetings!!)
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: lcp -> open
Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Network
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: open -> lcp
Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Terminate
Nov 9 17:15:45 ppp[337]: tun0: Phase: Received NGM_PPPOE_CLOSE
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Device disconnected
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Disconnected!
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: lcp -> logout
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Disconnected!
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: logout -> hangup
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Connect time: 4 secs: 234 octets in, 231 octets out
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: 12 packets in, 12 packets out
Nov 9 17:15:45 ppp[337]: tun0: Phase: total 116 bytes/sec, peak 5 bytes/sec on Wed Nov 9 17:15:45 2005
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: hangup -> opening
Nov 9 17:15:45 ppp[337]: tun0: Phase: bundle: Establish
Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: Enter pause (3) for redialing.

Особенно непонятны вот эти строчки

Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Nov 9 17:15:45 ppp[337]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !

что там не то с ipv6

вобщем все также жду хелпа

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.