LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2002, 05:31 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
dial-up connection shutdown


We have a dial-up connection that is set to automatically shutdown after 1 h of usage.
I am to extend this to a longer period. Where is this setting usually stored, i.e. which file should I edit?
 
Old 06-05-2002, 05:39 AM   #2
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
I think there are few options
what dialer are you using?
 
Old 06-05-2002, 08:02 AM   #3
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
I wish I knew...
The only thing I know it is a FreeBSD server. I can login and su into it, but the dialer was set up by an other guy whose help is unavailable.
Then how can I determine the dialer first?

Last edited by J_Szucs; 06-05-2002 at 08:04 AM.
 
Old 06-05-2002, 08:05 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
How exactly do you login, in X or in a term?
 
Old 06-05-2002, 08:07 AM   #5
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
In term with SSH.
 
Old 06-05-2002, 08:14 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Just reading the ssh man and it sounds like you edit the config file and change KeepAlive to 'yes'. You can also enter verbose or ssh -v to see what happens to kill your connection after the hour.
 
Old 06-05-2002, 08:25 AM   #7
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
I do not think this is a question of an SSH setting, since even those guys who do not use SSH just browse the internet via that dial-up connection are disconnected when the one hour is over.
Or do you rather mean that SSH can somehow keep alive a dial-up connection even if the connection termination is programmed somewhere else? I suspect that this is a hard limit, that cannot be overridden by keep-alive requests.
However, I may give it a try tommorrow when the next connection is due...

Last edited by J_Szucs; 06-05-2002 at 08:29 AM.
 
Old 06-05-2002, 10:07 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I have heard of some whacky internet providers doing things like that, if you haven't talked to them about it, or read your contract, then that might be your problem too.
 
Old 06-05-2002, 11:07 AM   #9
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
you need to check dialin config like wvdial.conf, or
in /etc/ppp/ there are bunch of configs, all depends how do you dialout, ( with what program)
 
Old 06-10-2002, 11:04 AM   #10
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
I found /etc/ppp/ppp.conf on the machine (and there is no vwdial.conf or conf files of any other dial-out programs - at least so far as I can judge).

So, is /etc/ppp/ppp.conf the place where a timed shutdown of dial-out connection (after 1h) can be given?

How?

I just came to the idea that there may be a unix command that establishes a ppp connection, and an other that disconnects it. If so these may be given e.g. in the root user's crontab. Am I right?

P.S.
I have to make pre-fabricated ideas, because the daily one-hour ON state of that connection is short and so slow via SSH that I hardly have time to anything once connected.

Last edited by J_Szucs; 06-10-2002 at 11:27 AM.
 
Old 06-10-2002, 11:58 AM   #11
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Just look at it. If you don't want to bring ppp.conf up in an editor, enter this:

less ppp.conf

You can look at the file without altering it in any way. If you see something that looks like a timing control entry, then get out of the file by hitting the "q" key. Then open it up in your favorite editor.
 
  


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
dial-up connection vstealerv Linux - Newbie 12 04-29-2005 08:03 PM
Dial up connection Xap Linux - Hardware 0 01-31-2005 12:36 PM
dial up connection jobs General 2 05-20-2003 07:17 AM
Dial-Up Connection on RH 8 djhurt1 Linux - Newbie 1 04-14-2003 07:40 AM
dial-up connection _stef_ Linux - General 6 06-15-2002 02:22 PM


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