#18026: pppoe auto reconnect does not work
--------------------------+-----------------------------------
  Reporter:  anonymous    |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  high         |  Milestone:
 Component:  base system  |    Version:  Barrier Breaker 14.07
Resolution:               |   Keywords:
--------------------------+-----------------------------------

Comment (by anonymous):

 Dermoth,
    Could you share the script to check the WAN?

 Replying to [comment:5 dermoth]:
 > I have a similar issue. I'm still trying to find out what's happening,
 but the signs I see is pppd being killed by netifd for no apparent reason
 (not even on ubus messages) and not being properly restarted, and
 unfortunately I cannot find any logs for netifd.
 >
 > Oddly I upgraded to Barrier Breaker about a month ago and 2-3 events
 aside where a restart or two worked the connection was stable.
 >
 > I wrote a script to restart pppd for now as I couldn't even use the net
 without it - sometimes pppd gets killed less than a minute after being
 started, but it can also stay on for a while, maybe an hour or so. Under
 normal conditions the ppp session can remain on for days. My syslog is
 very similar to the one already posted here, but here's a log of ubus
 messages along with my script running ifup as needed (unfortunately no
 timestamp; when I tried to capture them I realized buffering in ubud
 prevented form printing them properly).
 >
 > {{{
 > root@OpenWrt:~# ubus -v listen
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > ifupd.sh[22211]: WARN: pppd down, bringing wan back up...
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > ifupd.sh[22211]: WARN: pppd down, bringing wan back up...
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > ifupd.sh[22211]: WARN: pppd down, bringing wan back up...
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > ifupd.sh[22211]: WARN: pppd down, bringing wan back up...
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"6rd"} }
 > { "network.interface": {"action":"ifdown","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"wan"} }
 > { "network.interface": {"action":"ifup","interface":"6rd"} }
 > ifupd.sh[22211]: WARN: pppd down, bringing wan back up...
 > }}}
 >
 > And it goes on and on and on...

--
Ticket URL: <https://dev.openwrt.org/ticket/18026#comment:10>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to