LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pppd keeps terminating connection (https://www.linuxquestions.org/questions/linux-networking-3/pppd-keeps-terminating-connection-332490/)

gkiagia 06-11-2005 12:23 PM

pppd keeps terminating connection
 
Hi,
I have recently compiled kernel 2.6.11.11 and now it works fine exept that I have a problem with the ppp daemon.
I can connect to the internet with my modem but after a few minutes it disconnects. The log says:
Quote:

pppd[0]: Terminating connection due to lack of activity.
This is not true, though. It has happened many times while the connection was not idle.

I found a config file called /etc/ppp/options where there were these lines:
Quote:

# Specifies that pppd should disconnect if the link is idle for n seconds.
idle 600
so i commented the line "idle 600" but it still has this problem.

Note that I am using suse 9.1 and smpppd - SuSE Meta PPP Daemon.
Can anybody please tell me what is wrong and how can I fix it?

hotrodowner 06-12-2005 08:51 PM

that's probably because the idle time it displayed was a default value that is still effective when the parameter is not given. I wouldn't know, but I might try setting a value in that field that is larger than any given session you may establish.

gkiagia 06-13-2005 01:30 PM

Thanks for replying but I think I' ve just solved the problem.
During boot I noticed this message:

Starting Firewall Initialization (phase 3 of 3) It's not possible to reject outgoing packets. Expect Timeouts.
ip6tables: No chain/target/match by that name
ip6tables: No chain/target/match by that name
ip6tables: No chain/target/match by that name

so I disabled Suse firewall and installed another one. Since then (30 minutes ago), I have not experienced this problem again.

gkiagia 06-14-2005 05:04 AM

Wrong guess.
It still has this problem. I don't know how to solve it. Any ideas?

I tried to set idle 600000 and uncomment the line but didn't work.

tunasashimi 06-14-2005 09:55 AM

Just set the idle time to 0 to disable it. It said so in my installation!


60000 is probably so high that it wraps or defaults to something

tunasashimi 06-14-2005 10:03 AM

Hhahaha but I take it you figured that out in the last 2 years

tunasashimi 06-14-2005 10:09 AM

Oh it is the date you registered, not the post date.

How stupid is this interface? Who cares when you registered?

Ipolit 06-14-2005 02:02 PM

add to /etc/ppp/options or in your pppd script
persist

hotrodowner 06-14-2005 03:28 PM

Last time I worked with pppd I seem to remember there already being a persist in the file, so I'd go with Ipolit on this one.

gkiagia 06-15-2005 12:07 PM

I' ve set both idle 0 and persist and it works.
No problems anymore.

Thanks everyboody.


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