LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-14-2005, 10:40 AM   #1
bedi-beparwah
Member
 
Registered: Feb 2005
Location: India
Distribution: SuSE Linux 9.3 Professional
Posts: 57

Rep: Reputation: 15
Exclamation Help Needed regarding ppp connection Termination


hi, friends, i use ppp Internet Connection through GPRS on my Cellular Phone. eveyr thing goes fine.... I start the connection by the following command in Terminal.

wvdail GPRS

but the terminal in which i give this command and connection establishes...
when i close the terminal the ppp Connection is automatically terminates.

Is there any solution of this....so that after establishment of connection i can close the Terminal but the connection remains activated and established.

Hoping for you kind reply
 
Old 04-14-2005, 11:02 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Try to start the command with nohup <command>. This will run the command independent from the terminal.
 
Old 04-14-2005, 11:22 AM   #3
bedi-beparwah
Member
 
Registered: Feb 2005
Location: India
Distribution: SuSE Linux 9.3 Professional
Posts: 57

Original Poster
Rep: Reputation: 15
hi First of all , thanks " abisko " , thanks a lot ,

but now there is another problem.

How can i disconnect the same Conncetion intentionally.

Please let me know., soon

thanking you in advance
 
Old 04-14-2005, 11:25 AM   #4
NoeticRapture
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
I'm still not 100% familiar with the low-level details of how processes are handled, but as I understand it, adding a '&' to the end of your line should fix the problem (by causing the process to be forked and started in the background). So in the term window, type

wvdail GPRS &

Hope that does it for you
 
Old 04-14-2005, 11:51 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
How can i disconnect the same Conncetion intentionally.
Good question! I don't know an elegant way, but in general you look-up the process-id (pid) with 'ps ax | grep wvdial' and then kill the process: 'kill -19 <pid>' (-19 is SIGSTOP, which I think is a soft way of killing, -9 is pretty brutal. However, I am not sure what these signals actually do). 'kill -l' lists all possible signals.

EDIT: If you don't like to lookup the pid first, you can also use:
Code:
kill `pidof wvdial`
The command 'pidof' does the job for you

Last edited by abisko00; 04-14-2005 at 12:01 PM.
 
Old 04-14-2005, 11:54 AM   #6
bedi-beparwah
Member
 
Registered: Feb 2005
Location: India
Distribution: SuSE Linux 9.3 Professional
Posts: 57

Original Poster
Rep: Reputation: 15
It does NOT work . But any way , thanks.

Hope for your kind help in future too.
 
  


Reply



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
SSH connection termination during a running process... jayemef Linux - General 1 08-16-2005 11:41 AM
PPP Connection problems fluxtux Linux - Newbie 7 06-29-2004 11:52 AM
ppp connection aps_rewa Linux - Networking 0 05-20-2004 04:39 AM
ppp connection help LUXX Linux - Newbie 4 11-14-2003 01:06 AM
RedHat 9 PPP connection? funkyrhino Linux - Distributions 3 08-27-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:31 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
Open Source Consulting | Domain Registration