Mikrotik is acting as PPPoE server.
We have one Linux (Ubuntu) base client and wants to connect it to pppoe server using pppoe client. We have created the pppoe dialer using ‘pppoeconfig‘ CLI tool. Its connecting fine using
pon dsl-rpovider command.
PPPoE Dialer is regularly disconnecting after x minutes and ` /var/log/syslog ` is showing following error
Sep 30 20:40:44 ubuntu pppd: No response to 4 echo-requests Sep 30 20:40:44 ubuntu pppd: Serial link appears to be disconnected. Sep 30 20:40:44 ubuntu pppd: Connect time 5.5 minutes. Sep 30 20:40:44 ubuntu pppd: Sent 6536 bytes, received 2983 bytes. Sep 30 20:40:44 ubuntu pppd: restoring old default route to eth0 [192.168.1.1] Sep 30 20:40:50 ubuntu pppd: Connection terminated. Sep 30 20:40:50 ubuntu pppd: Modem hangup
The other side of the PPP link probably doesn’t support LCP echo. I have seen this with Mikrotik base pppoe server. [zaib]
Oddly it was a rear issue i guess and internet is a bit silent about it.
Any way put this line in the relevant ppp options file and try again.
[ Example: /etc/ppp/peers/dsl-provider ]
Save and redial connection by
Complete DSL-PROVIDER file for pppoe client config.
# pppoe dialer config sample, by # syed jahanzaib noipdefault defaultroute replacedefaultroute hide-password lcp-echo-interval 0 noauth persist #mtu 1492 #persist #maxfail 0 #holdoff 20 plugin rp-pppoe.so eth0 usepeerdns maxfail 0 persist user "PPPOE-USER-ID"