You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, June 24th 2003, 1:52am

kppp autodial

How can I get kppp to pop up automatically whenever a program wants to connect? (No, I am not willing to use any command-line tools to achieve this! Mac OS did this already back in 1990.)

I want to see a pop up window whenever the attempt to dial is made so that I can decide whether to dial in or cancel.

leftbas

Trainee

Posts: 58

Location: Los Angeles, Ca, USA

Occupation: Senior Desktop Support Analyst

  • Send private message

2

Tuesday, June 24th 2003, 2:23am

I seem to recall reading some where that it's not possible to invioke KPPP when you launch an internet app. Neither Konqy nor KMail have options in their setups that will call KPPP (not like IE or OE anyway). I just got used to connecting just by clicking the plug icon in the tray whenever I wanted to send mail or browse. That was before I got DSL, of course. :wink:
In retrospect, everything is funny.

-- Unknown

3

Tuesday, June 24th 2003, 4:38pm

I guess what I really need is a way to find out (e. g. by a daemon, a shell script or whatever) whether an application wants to create traffic. Then I could use a shell script to bring kppp up.

So, how do I find out whether an app wants to create traffic?

4

Wednesday, June 25th 2003, 3:28pm

Please note what Distro you are using when posting, it helps in forming a complete response.

For example, if you are using SuSE, SuSE has a utility that will auto dial called Kinternet.

5

Friday, June 27th 2003, 1:43am

I am using debian (Knoppix), but a solution that works on most distributions would be preferred.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

6

Friday, June 27th 2003, 10:34am

I think that's not so easy to do for general use.

You'd have to find out which program caused the traffic to decide which user to ask.

And it will be even more difficult if two programs from different users access the network simultaniously or if the user program just triggered a network operation in a program running as a daemon.

Most people comming from other operating system do not think about mulit user implications.
Of course it's not their fault, they are used to think single user.

Cheers,
_
Qt/KDE Developer
Debian User

7

Sunday, June 29th 2003, 4:32am

You're right, multiuser is not a issue here since I am talking about a home machine that runs always under the same user only. So is there any chance to find out (e. g.with a shell script or otherwise) whether any application wants to create traffic?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

8

Sunday, June 29th 2003, 12:35pm

Quoted

Original von probono

You're right, multiuser is not a issue here since I am talking about a home machine that runs always under the same user only.


I'll try it again.
The system architecture is inherently multi user.
I am the only human user on this system, but processes belonging to 4 users are currently running. Several as "root", two as "daemon" and apache is runnings as "www-data"

Quoted


So is there any chance to find out (e. g.with a shell script or otherwise) whether any application wants to create traffic?


I think you can't do that on the application level.
You can just monitor the network device and see if traffic wants to go through.
Autodialers lke wvdial do this to see when they have to dial in.

Maybe the autodialer you use has the possibility to execute a script before dialing.
In this case you could have a script determine one user having a X11 display and, in case this user has authenticated localhostwith xhost, popup a dialog asking for dial-in permission.

erugger66 hinted that SuSE has a tool doing this all by itself.
Perhaps it is available as a single package as well.

Cheers,
_
Qt/KDE Developer
Debian User

9

Monday, June 30th 2003, 3:01pm

I have done some quick searches for Kinternet:

http://rpmfind.net//linux/RPM/conectiva/…45-128.src.html

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

10

Tuesday, July 1st 2003, 4:19pm

Maybe this app http://apps.kde.com/nf/2/info/id/2279?sid=&sid= can be extended to match your needs.

You could contact its author.

Cheers,
_
Qt/KDE Developer
Debian User

11

Friday, July 4th 2003, 12:24am

Thanks a lot. Kautodial looks extremely promising. Hopefully I can get it to run in debian/sid. Would definitely be nice if it became part of standard KDE.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

12

Friday, July 4th 2003, 11:24am

Being part of the KDE main packages has the disadvantage that the developer has to conform to the release cylcle.
This is usually only a good idea once the product has majored enough.

However the author could apply for a place in a kdeextragear package.
Has the advantage of being translated by KDE's translators but also means you hvae to announce ans stick to message freezes before your own releases.

As a Debian user you wouldn't see a big difference if it just was available in the package pool, independed where the source is hosted, so you just need to find a Debian packager for it :wink:

Cheers,
_
Qt/KDE Developer
Debian User