My setup is LAN --> Ubiquity/OpenWRT Router --> 2Wire DSL modem --> ISP/Internet. My router runs Backfire (10.03.1-RC5, r27608) and connects to the ISP (TelMex) using PPPoE.
My problem is that the ISP/PPPoE connection goes down frequently, and specifically every night in the early morning hours. My /etc/config/network WAN section is below, but this does not cause the WAN/PPPoE to reconnect automatically, and I have to physically recable to connect a PC to the modem, connect using Windows PPPoE client, and recable the LAN to the router/modem to get things going again.
Is there a way to configure the OpenWRT router to reconnect automatically if the PPPoE connection is dropped?
config 'interface' 'wan'
option 'ifname' 'eth0'
option 'proto' 'pppoe'
option 'username' 'xxxxxxxxxx'
option 'password' 'xxxxxxx'
option 'defaultroute' '1'
option 'gateway' '189.177.191.157'
option 'dns' '216.131.95.20 216.131.94.5 208.67.222.222'
option 'keepalive' '10'
option 'ppp_redial' 'persist'