модем в режиме бриджа PPPOE конектится адрес получает на интерфейс tun0 но дальше всё - ничего не пингуется ни провайдер ни его ДНС . есть подозрение что не может шлюз изменить но только вот не знаю почему
вот кусок лога и конфиги
Код: Выделить всё
ppp.log
Jul 30 00:44:30 rezak ppp[428]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Jul 30 00:44:30 rezak ppp[428]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable
Jul 30 00:55:21 rezak ppp[428]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "DP-JE-R")
Jul 30 00:55:21 rezak ppp[428]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Jul 30 00:55:21 rezak ppp[428]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Jul 30 00:55:21 rezak ppp[428]: tun0: Phase: deflink: carrier -> login
Jul 30 00:55:21 rezak ppp[428]: tun0: Phase: deflink: login -> lcp
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: bundle: Authenticate
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: deflink: his = PAP, mine = none
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: Pap Output: apu00000@dsl.ukrtel.net ********
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: Pap Input: SUCCESS ()
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: deflink: lcp -> open
Jul 30 00:55:22 rezak ppp[428]: tun0: Phase: bundle: Network
Jul 30 00:55:22 rezak ppp[428]: tun0: Command: adsl: !bg /usr/bin/logger -t PPP Connection to Ukrtelecom established
Jul 30 00:55:22 rezak ppp[428]: tun0: Command: adsl: add default HISADDR
Jul 30 00:55:22 rezak ppp[428]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Jul 30 00:55:22 rezak ppp[428]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable
ppp.conf
default:
disable ipv6cp
enable dns
adsl:
set log Phase tun command
set device PPPoE:rl1
set authname apu00015@dsl.ukrtel.net
set authkey 84159623
set mru 1492
set mtu 1492
enable lqr
set lqrperiod 10
enable lqr echo
enable echo
set dial
set login
set timeout 0
set redial 60 0
add default HISADDR
ppp.linkdown
adsl:
!bg /usr/bin/logger -t PPP "Connection to Ukrtelecom destroyed"
ppp.linkup
adsl:
iface clear
!bg /usr/bin/logger -t PPP "Connection to Ukrtelecom established"
Спасибо.