Can you permanently set "route add" -host and default gw cmds?
After having a lot of problems trying to get my Mandrake 9.0 machine to see the internet, I've finally worked out that I need to manually set the following two "route" commands every time I connect, after I've connected:
route add -host [primary nameserver IP] dev ppp0
route add default gw [primary nameserver IP]
Any idea how I can make these commands permanent so I don't have to reissue them all the time?
I have tried adding lines to ifcfg-ppp0 with no result.
I could of course be going about this the entirely wrong way but at least this works!
Thanks in advance.
Anton
Last edited by sacants; 07-09-2003 at 04:53 AM.
|