Ralph Shumaker wrote:

Can I start kppp from the command line and have it automatically dial in? Like maybe:

sudo kppp ispname username password dialnow

[EMAIL PROTECTED] ~]$ man kppp
No manual entry for kppp
[EMAIL PROTECTED] ~]$

I've had some limited success figuring it out on my own. But I can't seem to get any further (though I haven't given up). This is what I have currently:

[EMAIL PROTECTED] ~]$ sudo /usr/sbin/kppp --dev /dev/modem -c ispentry
Password:
kbuildsycoca running...
Error: "/var/tmp/kdecache-rafael" is owned by uid 500 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
Error: "/var/tmp/kdecache-rafael" is owned by uid 500 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
Error: "/var/tmp/kdecache-rafael" is owned by uid 500 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
Error: "/var/tmp/kdecache-rafael" is owned by uid 500 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
[EMAIL PROTECTED] ~]$ ICE default IO error handler doing an exit(), pid = 12972, errno = 0

One thought that comes to mind is "suid 0" or whatever that is (from my lurking on the list)(never messed with it), but that would not accommodate the link pointing to ...-rafael instead of ...-root, not to mention the dangers of "suid 0". And the ispaccount info is in root's files, not rafael's nor any other user's.

Is it not possible to run "sudo kppp"? Or perhaps it is not possible to have it auto connect?

(Once I get it working, I will put it into a script which is executable by anyone on this machine and then set up an icon to invoke the script. I would like to have this icon autoconnect when activated, then kppp put its own icon into the system tray. And this part probably needs something on the command line to specify it: Upon disconnect, I want it to bypass the dialog that allows you to configure the settings and just quit instead.)

I guess I still need some tweaking for both sudo *and* kppp to get it right.




--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to