LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2005, 08:49 AM   #1
Funx_88
LQ Newbie
 
Registered: Mar 2005
Distribution: LFS 7.6
Posts: 22

Rep: Reputation: 0
Question Frequent disconnection of adsl on fedora...


Hey everyone.
I've recently changed to a Linux box for my gateway (Fedora core4 test2) and I seem to be getting disconnected far too often (sometimes after only 20 or 30 minutes!).
I know my ISP isn't the problem because I've been connected on a different machine for a few weeks without a dropout.

Any ideas based on my ifcfg-ppp0 file?
I've put some ppp.log info at the bottom of the post too.
Thanks for any help!


Code:
USERCTL=yes
BOOTPROTO=dialup
NAME=
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth1
PROVIDER=DSLppp0
USER=********@******.***
PEERDNS=no
DEMAND=no
Code:
pppd[1362]: Using interface ppp0
pppd[1362]: Connect: ppp0 <--> /dev/pts/5
pppoe[3244]: PADS: Service-Name: ''
pppoe[3244]: PPP session is 5197
pppd[1362]: CHAP authentication succeeded
pppd[1362]: local  IP address ***.**.**.***
pppd[1362]: remote IP address ***.***.**.***
pppd[1362]: No response to 3 echo-requests
pppd[1362]: Serial link appears to be disconnected.
pppd[1362]: Connection terminated.
pppd[1362]: Connect time 29.2 minutes.
pppd[1362]: Sent 5098376 bytes, received 23911620 bytes.
pppoe[3244]: read (asyncReadFromPPP): Session 5197: Input/output error
pppoe[3244]: Sent PADT
pppd[1362]: Using interface ppp0
pppd[1362]: Connect: ppp0 <--> /dev/pts/5
pppoe[3784]: PADS: Service-Name: ''
pppoe[3784]: PPP session is 5791
pppd[1362]: CHAP authentication succeeded
 
Old 05-04-2005, 12:56 PM   #2
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
Hello,

I had to look for this myself, it could be this one:

PPPOE_TIMEOUT: If this many seconds elapse without any activity seen by pppoe, then pppoe exits.

The meaning of the rest of the commands you can fine on http://linux.about.com/od/commands/l...l5_pppoeco.htm

The pppoe_timout variable is not in my ipcfg-ppp0, so I suppose you can delete ir.

Bye

Koen Plessers
 
Old 05-05-2005, 01:50 AM   #3
Funx_88
LQ Newbie
 
Registered: Mar 2005
Distribution: LFS 7.6
Posts: 22

Original Poster
Rep: Reputation: 0
thanks, ill try that out
 
Old 05-07-2005, 11:12 AM   #4
Funx_88
LQ Newbie
 
Registered: Mar 2005
Distribution: LFS 7.6
Posts: 22

Original Poster
Rep: Reputation: 0
I fixed the probelm.

My IPtables were a bit too strict.
I think PPPoE wanted to ping my ISP every so often and I had blocked some ICMP messages in certain directions.

This caused PPPoE to assume my connection was inactive and so disconnected it!

so to anyone reading this thread, check you iptables
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Frequent crashes Mingthefirst Linux - Hardware 0 01-29-2005 05:40 PM
Disconnection with router adsl nacle Linux - Networking 0 12-22-2004 01:11 PM
No ADSL in Fedora 3 scmcansh Linux - Newbie 6 12-18-2004 09:05 PM
adsl help with Fedora Jack Techno Linux - Networking 6 08-06-2004 11:44 AM
what option disables automatic disconnection/reconnection of the adsl modem baronlynx Linux - Networking 1 01-22-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:34 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