LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   kppp doesn't assign default route to ppp0 (https://www.linuxquestions.org/questions/linux-networking-3/kppp-doesnt-assign-default-route-to-ppp0-47640/)

damion 02-28-2003 03:46 PM

kppp doesn't assign default route to ppp0
 
Can anyone help me with an annoying dial-up problem, please?
I've installed RedHat 8.0 onto a PC with a modem and an ethernet card (the nic connects to a Win2K box via a crossover cable)
My problem is that if I dial up to my ISP with kppp, the default route is not set to ppp0, but remains on eth0 and I get no Internet connectivity. If I use RedHat's 'Network Device Control' app everything's OK. However I would like to use kppp as it times how long I've been connected (important if you get charged for staying online >1 hour!) and docks itself into the Panel out of the way.
Also, is there any way of running kppp without putting root's password in?

Cheers all,

moosedaddy 02-28-2003 03:57 PM

To run KPPP without the root password you need to open a shell then

su
your password
rm /usr/bin/kppp
It will ask if you want to remove the symbolic link say yes
chmod u+s /usr/sbin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp

and that should do it.

with your other problem, in the modem tab you should be able to select which port the card is in.

damion 03-01-2003 04:26 PM

Cheers, Moosedaddy!

Just to confirm, /usr/bin/kppp is currently symlinked to consolehelper, not /usr/sbin/kppp; would this make a difference to your instructions?

As for the gateway problem, kppp dials up correctly to my ISP and gets an IP, but doesn't set the default route to the ppp0 interface (even though kppp is configured to do so in the 'Gateway' tab of the account configuration dialogue)

Thanks again,


All times are GMT -5. The time now is 12:24 AM.