Thanks a lot, it worked for me, but I had to run "su" before I ran the script and before I ran KPPP, otherwise it gave "Permission denied" errors.