Fresh install of RC3 on Xiaomi mir3g without old configs.
choosing pppoe protocol on WAN interface and configuring user/password
After applying I get "Connection attempt failed" error.
Sun Jun 13 22:04:44 2021 daemon.info pppd: Plugin rp-pppoe.so loaded.
Sun Jun 13 22:04:44 2021 daemon.info pppd: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
Sun Jun 13 22:04:44 2021 daemon.notice pppd: pppd 2.4.8 started by root, uid 0
Sun Jun 13 22:04:59 2021 daemon.warn pppd: Timeout waiting for PADO packets
Sun Jun 13 22:04:59 2021 daemon.err pppd: Unable to complete PPPoE Discovery
Sun Jun 13 22:04:59 2021 daemon.info pppd: Exit.
The text was updated successfully, but these errors were encountered:
Well, I found out that openwrt 21.02 cannot autonegotiate with my provider's cable for pppoe. It shows 'no link', speed unknown etc. # ethtool wan
Settings for wan:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Duplex: Unknown! (255)
Supports Wake-on: d
Link detected: no
When I switch off autonegotiation and forced to 100baseT/Full, pppoe worked like a charm.
So as a workaround I added to /etc/rc.local: /usr/sbin/ethtool -s wan speed 100 duplex full autoneg off
wow, sad there is no notifications for this forum. I also found a way to fix it with ethtool, but in my case device shows me solid 1000mbit connections (there was no It shows 'no link', speed unknown etc. as in darkblaze69 case)
so I used
ethtool -s wan speed 100 duplex full autoneg on
in my case if I set 'autoneg off' interface is not able to determine its link state...