Re: Connect but don't surf ?


Subject: Re: Connect but don't surf ?
From: the WebDude (wd@thewebdude.org)
Date: Fri Nov 02 2001 - 11:45:21 MST


Try this :
goto /etc/rc.local or /etc/rc.d/rc.local (whichever you have), and add the
line:
/sbin/route del default

For more PPP set-up goto:
 www.theory.physics.ubc.ca/ppp-linux.html

> From: Patrick Callahan <pac1@tiac.net>
> Reply-To: yellowdog-general@lists.yellowdoglinux.com
> Date: Fri, 2 Nov 2001 20:37:39 -0500
> To: yellowdog-general@lists.yellowdoglinux.com
> Subject: Re: Connect but don't surf ?
>
> 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 - 19:00:29 MST