OpenWrt Forum Archive

Topic: PPPOE doesn't reconnect or related issue

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

It seems when I lose a PPPOE connection, openwrt doesn't reconnect.

However I'm not entirely sure if this is the issue because when I check the status pppoe page using xwrt, it shows that I'm still connected with the same ip address as I was before the net went down (indicating the pppoe never got disconnected in the first place). I am unable to make any pings or access any internet based address/ip.

Is there a way to avoid this? My internet connection has been flaky the tech thinks its a bad modem so I have a new one on the way, but I would at least attempt to avoid this issue while I wait for the new one.

Thanks,
Pyther

How can I config pppoe without webif in the trunk?

In the WAN section of /etc/config/network. Below is a basic example. There are more options for PPPoE but I don't remember them.

uci set network.wan.proto=pppoe
uci set network.wan.username=<pppoe_psername>
uci set network.wan.password=<pppoe_password>
uci commit network
ifup wan
forum2008 wrote:

In the WAN section of /etc/config/network. Below is a basic example. There are more options for PPPoE but I don't remember them.

uci set network.wan.proto=pppoe
uci set network.wan.username=<pppoe_psername>
uci set network.wan.password=<pppoe_password>
uci commit network
ifup wan

Ty so much forum2008, but is there un updated documentation about that (=trunk) ? That one on the site seems old sad

elect86 wrote:

Ty so much forum2008, but is there un updated documentation about that (=trunk) ? That one on the site seems old sad

Read and understand the source code. That's the best documentation you can find smile

Sure thanks for hijacking my thread :-/

pyther, are you using the pppoe keepalive option?  Might search the forum for more details on that...

^^
I am using the pppoe keepalive option, although I searched the forum and didn't seem to find much useful information. I searched using the term "keepalive"

Anyways thanks for your reply

have you gotten any further on this issue? i am facing the same problem...

setting option keepalive 2 seems not to make any difference. the router just doesn't connect on it's own. not even on startup...

if i run "ifup wan" the router connects immediately. running 7.09 on a WRT-54GL with kernel 2.6 (no need for WiFi).

in general: where do i find documentation for all the pppoe settings? for example in the forum i found: "option persist" as well as "option ppp_redial       'persist'" and alike.

please help!

(Last edited by exactt on 13 Jun 2008, 09:18)

I did not. I ended up getting a new modem (as the one I had broke, and now the modem takes care of the pppoe connection)

Sorry I couldn't be of more help

The discussion might have continued from here.