PDA

View Full Version : dial on demand with asking user first



probono
06-23-2003, 08:05 PM
Hi all,

how can I get the kppp window to be launched automatically as soon as an application requests Internet traffic and no network connection is already there?

Windows and Mac OS do this by default.

probono

adamm
06-23-2003, 08:25 PM
The way I use dial on demand is using pppconfig from the command line
do (ctrl+alt+f2) and get to a command line.
Type in pppconfig and enter your parameters for your ISP
go to advanced settings and turn on dial on demand. This will make your computer dial the internet whenever it needs to.
You will then need to type in
pon <the provider name you typed in>
and it will wait for you to try to get to the internet before it dials
to sign off type in
poff
and it will disconnect, unless you set a time out value in the advanced settings of pppconfig

probono
06-24-2003, 01:26 AM
Thanks very much, but how do I get a window popping up automatically whenever an application wants to create traffic? In that window, I need the buttons "connect" and "cancel".

probono
08-14-2004, 03:52 AM
If anyone is interested in getting dial on demand into KDE, please vote for KDE Bug 4354: No dial on demand (wishlist)
http://bugs.kde.org/show_bug.cgi?id=4354

As soon as a program wants to connect to the Internet, a window should pop up asking whether to dial in:

http://www.kiwilink.co.nz/images/setup/winxp/11.GIF

probono
09-25-2004, 10:40 PM
I am making some progress on this as it is still an issue for me.
Here is an interface I designed using kommander. It has the options Modem, ISDN, and DSL and basically makes use of shell scripts. My idea is to call this window from a pppd that listens to a dummy interface in order to determine whether the user wants to connect to the Internet.

http://img85.exs.cx/img85/4267/inet.png

If anyone is interested, help would be greatly appreciated.

shah
09-26-2004, 05:58 AM
Maybe you want to read this:
http://nleaudio.com/bnotes/dialondemand.htm