[SLE] kppp routing
I have installed Suse 10.0 on one of my test drives here at home. I have not be able to get a route script to work at boot up time (in the rc5.d dir) that works fine under CENTOS 4.1 Linux (REHL 4). The script has the following two lines in it: /sbin/route del default /sbin/route add default ppp0 The script does work until I have logged in and have initiated a kppp login to my ISP. I have to execute it as root manually before I launch Firefox as my normal login user id (bruce), then everything is fine. Is there a way to make this work under Suse 10.0 or is there an alternate way to make ppp0 the permanent route default in Suse?
BRUCE STANLEY wrote:
I have installed Suse 10.0 on one of my test drives here at home.
I have not be able to get a route script to work at boot up time (in the rc5.d dir) that works fine under CENTOS 4.1 Linux (REHL 4).
The script has the following two lines in it:
/sbin/route del default /sbin/route add default ppp0
The script does work until I have logged in and have initiated a kppp login to my ISP.
I have to execute it as root manually before I launch Firefox as my normal login user id (bruce), then everything is fine.
Is there a way to make this work under Suse 10.0 or is there an alternate way to make ppp0 the permanent route default in Suse?
You can configure kppp to run that script at start up and restore the original route afterward. When you configure an accout, there's an Execute tab. That's where you can do what you want. In my notebook, I use it to drop eth0 first and then dial. Then after the call is completed, eth0 is restored.
James Knott <james.knott@rogers.com> wrote: BRUCE STANLEY wrote:
I have installed Suse 10.0 on one of my test drives here at home.
I have not be able to get a route script to work at boot up time (in the rc5.d dir) that works fine under CENTOS 4.1 Linux (REHL 4).
The script has the following two lines in it:
/sbin/route del default /sbin/route add default ppp0
The script does work until I have logged in and have initiated a kppp login to my ISP.
I have to execute it as root manually before I launch Firefox as my normal login user id (bruce), then everything is fine.
Is there a way to make this work under Suse 10.0 or is there an alternate way to make ppp0 the permanent route default in Suse?
You can configure kppp to run that script at start up and restore the original route afterward. When you configure an accout, there's an Execute tab. That's where you can do what you want. In my notebook, I use it to drop eth0 first and then dial. Then after the call is completed, eth0 is restored. That worked when I put it in the 'after connection' line. But, I first had to set the suid bit on /sbin/route (chmod a+s ...) before I could get it to work as a normal user.
participants (2)
-
BRUCE STANLEY
-
James Knott