Dial-up connection


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Dial-up connection
# 1  
Old 08-02-2004
Lightbulb Dial-up connection

Hi all.
I am running a C++ program on UNIX which needs days to finish but my dial-up connection disconnects after 4 hours. Is there any way for the program to keep running until it finishes after I log out?
# 2  
Old 08-02-2004
I'm not sure what you need. If your connection terminates, then it's a problem with your dialup.

Otherwise try nohup
Code:
nohup /path/to/my/program parm1 &

This runs in the background and will not disconnect when you logout
# 3  
Old 08-02-2004
It could be a limit imposed by the ISP. I use Freeserve here in the UK, and it cuts you off after 2 hours, no questions (even though I have "unlimited unmetered access" pfffftttt Smilie Smilie Smilie . A right pain in the proverbial, to be polite.

Cheers
ZB
# 4  
Old 08-03-2004
Yes, it's a time limit imposed by British Telecom.
Nohup, worked. Thanks a lot Jim.
However, when I type "jobs" to see which processes are running in the background I don't get any jobs at all, although I know my program is still running, as the output file is steadily increasing. As a result I can't stop it if I want to. Does anyone know why this is happening?

Last edited by vegas503; 08-03-2004 at 10:06 AM..
# 5  
Old 08-03-2004
If you mean you can't find the process after you get disconnected and come back, I believe it's because the process is no longer yours. When you hang up, I think root becomes the parent to your process. I'm not sure if you can regain control of that process, but you can probably look for it by:

ps -aef | grep <process_name>
# 6  
Old 08-03-2004
Thank you, that works. When I type it I get
[username] 4159 1 14 [time started] ? 1260:50 [process]
Does anyone know how to stop this process?

Last edited by vegas503; 08-04-2004 at 01:31 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

2. Shell Programming and Scripting

scripting for wvdial for dial-up

:cool:is there a way to script wvdail to save in a file the speed of the dailup and the time spent online, to be looked at later to compare what ISP's says????? (0 Replies)
Discussion started by: rayburke30
0 Replies

3. Linux

Dial-up Networking

I use Red-Hat 8.0, with Gnome, and I have a dial-up internet connection. My phone-line however is zero-dial. At first I have to dial 0 to get the dial tone, and later the number of my service provider.How do I change my settings to accomodate this ? I tried prefixing the number with 0 and 0, and... (0 Replies)
Discussion started by: sundaresh
0 Replies

4. Solaris

Setting up a Dial Up connection on Solaris 10

Does anyone know how to set up a dialup connection on the Solaris? Yea i know dialup sucks balls but its all i got so bare with me. While were're here, how can I boot up Vista ( Microsoft Windows) on my system? Thanks yall. (4 Replies)
Discussion started by: bones
4 Replies

5. UNIX for Advanced & Expert Users

dial-up internet

Hi, I want to know working of dial-up internet on the PC. Please tell me how internet connection and ip address assigning happened. I know all this procedure in the broadband internet. But I confused for the 'dial-up' and 'internet in mobile'. I am eagarly wait for... (6 Replies)
Discussion started by: jagdish.machhi@
6 Replies

6. UNIX for Dummies Questions & Answers

Unix + Dial-up = ???

I was wondering if anyone can tell me if i can run Unix to the internet? (1 Reply)
Discussion started by: slade
1 Replies

7. SCO

Dial-Out & Dial-In Connections in OpenServer 5.0.6.

Friends, I am facing a problem in connecting two SCO Openserver 5.0.6 servers through Dial-Up connectivity as is done in the case of two Windows PCs. Please help me out with the following problems: (a) How to configure the modem? (b) How to setup a Dial-In connection? (c) How to... (1 Reply)
Discussion started by: thecobolguy
1 Replies

8. UNIX for Dummies Questions & Answers

Dial-Up Modem

Im using Kinternet with a Lucent modem on Suse 9.0 Ive installed the ltmodem driver and suse says the device is ready and configured. Ive configured it at /dev/ttyS0 This is the log that Kinternet gives after trying to connect: SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux. Status... (0 Replies)
Discussion started by: Synbios
0 Replies

9. IP Networking

Dial Up in FreeBSD 4.10

Hi, I just came to visit my folks and they dont have a wireless network setup in the house, so I have to connect to the net using my dial up modem. Unfortunately my windows seems to be quite buggy lately (...assuming it ever worked flalessly), so I was just wondering if anyone could tell me how... (0 Replies)
Discussion started by: PenguinDevil
0 Replies

10. UNIX for Dummies Questions & Answers

Dial Up Server on RH 7.1

Hello, I'd like to know if it is possible to set up a Dial Up server on a Red Hat 7.1 Instalation so that friends/colleagues can dial into my computer and log in (eg. SLIP/PPP)? Or if i'd have to download any other software with which to do this. And if so, where would I find something good... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies
Login or Register to Ask a Question