LinuxQuestions.org
Help answer threads with 0 replies.
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 06-11-2005, 01:23 PM   #1
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
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?
 
Old 06-12-2005, 09:51 PM   #2
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
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.
 
Old 06-13-2005, 02:30 PM   #3
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Original Poster
Rep: Reputation: 30
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.
 
Old 06-14-2005, 06:04 AM   #4
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Original Poster
Rep: Reputation: 30
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.

Last edited by gkiagia; 06-14-2005 at 06:16 AM.
 
Old 06-14-2005, 10:55 AM   #5
tunasashimi
Member
 
Registered: Jun 2005
Posts: 82

Rep: Reputation: 15
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
 
Old 06-14-2005, 11:03 AM   #6
tunasashimi
Member
 
Registered: Jun 2005
Posts: 82

Rep: Reputation: 15
Hhahaha but I take it you figured that out in the last 2 years
 
Old 06-14-2005, 11:09 AM   #7
tunasashimi
Member
 
Registered: Jun 2005
Posts: 82

Rep: Reputation: 15
Oh it is the date you registered, not the post date.

How stupid is this interface? Who cares when you registered?
 
Old 06-14-2005, 03:02 PM   #8
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 303

Rep: Reputation: 31
add to /etc/ppp/options or in your pppd script
persist
 
Old 06-14-2005, 04:28 PM   #9
hotrodowner
Member
 
Registered: Mar 2002
Distribution: Too many to count
Posts: 368

Rep: Reputation: 30
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.
 
Old 06-15-2005, 01:07 PM   #10
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Original Poster
Rep: Reputation: 30
I' ve set both idle 0 and persist and it works.
No problems anymore.

Thanks everyboody.
 
  


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
pppd problem with idle connection g0ng Linux - Networking 1 08-04-2005 08:31 AM
apt-get in install kills pppd connection wolfe2554 Debian 2 01-14-2005 04:56 PM
pppd (modem) connection on firewall / gateway mrtwice Linux - Networking 1 01-09-2004 06:27 AM
pppd connection not closable by user... PhilD Linux - Networking 1 05-28-2003 03:22 PM
PPPd connection trouble dbeard Linux - Networking 0 02-12-2001 10:06 AM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration