Click to See Complete Forum and Search --> : Automatically Dialing Up Kppp At A Given Time


ViMan
09-12-2002, 03:43 PM
I was wondering if you can set up kppp so that at a give time, it connects to the internet. I wanted to use this so that I could tell me computer to connect at night (while I am asleep), download some files, and then disconnect. This would probably be very easily done using wvdial, but I've had trouble getting it to work.

lrhogusa
09-19-2002, 03:57 PM
Do a cron.

ViMan
09-19-2002, 05:34 PM
Yeah. What would the cron command be? I want to start kppp and simulate me pressing "Connect".

lrhogusa
09-21-2002, 02:17 AM
Sorry, I don't know even after looking around. I'll keep looking just for the sake of learning something myself and no linux guru has responded yet.

But while we're both looking for the answer, what trouble did you have with wvdial?

I might know something after setting it up with mgetty for all my linux boxes.

Making a Script stuff
Once connected, how will you get your files?

Wish you success
Roy (not a linux guru)

mdwatts
09-21-2002, 08:08 AM
See if the Kppp documentation/manpage etc. has anything on commandline options you can pass to Kppp when starting.

Perhaps there is a --connect option.

You could then write a script with the correct command to start Kppp and then schedule the script through cron.

lrhogusa
09-22-2002, 08:20 PM
No man page and I didn't see anything for the connect button in KDE's kppp handbook. I admit sometimes I have to be smacked in the head to see things. I'll try www.goggle.com/linux

I think kppp sets up some sort of config file(s) through user intervention Then the connect button can run ppp with all the stuff the user had previously set up.

I had a theory of setting up gnome's internet dialer (rp3?) and making sure it works. Then check out it's /etc/wvdial.conf and use that in a cron to connect. I'm assuming gnome still uses wvdial.

A example command to connect to account Earthlink would be 'wvdial Earthlink' or whatever wvdial.conf named the Earthlink account.

I tried making a wvdial.conf to Earthlink manually and my browser didn't do anything. I got connected but that was it. So I suspect gnome's rp3 (forgot name) does sometthing I was missing.

Roy

lrhogusa
09-24-2002, 08:44 PM
Some one mentioned checking out kdcop to find out what is behind the kppp connect button.

Roy