LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Frequent disconnection of adsl on fedora... (https://www.linuxquestions.org/questions/linux-networking-3/frequent-disconnection-of-adsl-on-fedora-320026/)

Funx_88 05-04-2005 08:49 AM

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


koen plessers 05-04-2005 12:56 PM

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

Funx_88 05-05-2005 01:50 AM

thanks, ill try that out :)

Funx_88 05-07-2005 11:12 AM

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 :)


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