Re: Connect but don't surf ?


Subject: Re: Connect but don't surf ?
From: Patrick Callahan (pac1@tiac.net)
Date: Fri Nov 02 2001 - 18:37:39 MST


There has to be a better way than this, but this does work:

You have to get rid of the default route eth0.

I do this every time I log in by running ./fixkppp as root.

The following will create fixkppp in your login directory

cat >fixkppp <<EOD
#!/bin/sh
/sbin/route del default
if [ -e ~/.kde/share/apps/kppp/kppp.pid ]
then
    rm ~/.kde/share/apps/kppp/kppp.pid
fi
kppp&
EOD
chmod +x fixkppp

To run it start a shell window and su to root.
then run
./fixkppp

the default route will be gone,
the kde lock file will be gone
kppp will start

Now who has a better way?

-Pat



This archive was generated by hypermail 2a24 : Fri Nov 02 2001 - 18:49:45 MST