LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-14-2010, 05:14 AM   #1
Anarion
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Rep: Reputation: 0
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!

Just wanted to ask you guys, is there a way to fix this? what is the reason ?
 
Old 01-02-2011, 03:32 AM   #2
tatanna
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 connection frequently "cutting out" tgp1994 Debian 1 01-17-2010 12:21 AM
Details about ".dsl" and ".uci" packages files in DSL zoombee Linux - General 2 10-11-2009 04:17 PM
Have to "poff" and then "pon" every time at startup seish Linux - Networking 1 11-09-2007 02:48 AM
pppoe: pon dsl-provider as normal user (without root) sunpascal Linux - Newbie 3 02-13-2006 09:49 AM
ADSL Not working with DSL-300G. Error: "pppoe: timeout waiting for PADO packets" bitshifter Debian 1 01-15-2004 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration