LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Frequently Getting Error 908 When Using "pon dsl-provider" (https://www.linuxquestions.org/questions/debian-26/frequently-getting-error-908-when-using-pon-dsl-provider-789006/)

Anarion 02-14-2010 05:14 AM

Frequently Getting Error 908 When Using "pon dsl-provider"
 
Hello guys! here's the problem I am encountering which is really bothering:

I have set up the adsl connection, I use "pon dsl-provider" to connect to internet. OK, the problem is that, after executing that command my internet does not get connected. output of plog shows:
Quote:

Feb 14 01:36:56 base pppd[4264]: Plugin rp-pppoe.so loaded.
Feb 14 01:36:56 base pppd[4265]: pppd 2.4.4 started by root, uid 0
Feb 14 01:36:56 base pppd[4265]: PPP session is 38210
Feb 14 01:36:56 base pppd[4265]: Using interface ppp0
Feb 14 01:36:56 base pppd[4265]: Connect: ppp0 <--> eth1
Feb 14 01:36:56 base pppd[4265]: Remote message: E=908
Feb 14 01:36:56 base pppd[4265]: PAP authentication failed
Feb 14 01:36:56 base pppd[4265]: Connection terminated.
then I do a "poff" then "pon dsl-provider" again... and again and again... after some time it finally gets connected.

To overcome this lame route, I wrote a bash script which loops and tries to connect (checks if not connected). Sometimes it takes like 15 minutes to connect at last! :D

Just wanted to ask you guys, is there a way to fix this? what is the reason ?

tatanna 01-02-2011 03:32 AM

I have a solution for all the problems which are related to pppoe itself (usually crappy).
If your modem is setup as bridged+routed mode it means you can both connect directly to the ISP provider with pppoe or otherwise connect to the router only (as someone suggested before).

To connect only to the router and avoid the pppoe connection you must edit
/etc/sysctl.conf which must contain the following values (uncomment values or add where needed)

Code:

net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_ecn= 0

This will avoid all problems you described.
hope it helps


All times are GMT -5. The time now is 04:50 AM.