I just tick the box for "Set default route" in linuxconf.
This in turn adds the option "defaultroute" (nothing else) to the script
that eventually runs pppd.
In RH6.0 this is /etc/sysconfig/network-scripts/ifup-ppp
but I never modify that script as such. It reads options from a file.
See "man pppd". The "defaultroute" option tells pppd to automatically
add a default route of whatever IP addr it gets allocated.
I think linuxconf is the best thing since sliced bread,
once considered writing something like that for Solaris,
but linuxconf is already done.
At 02:31 PM 15/02/2000 +1100, Ryan McBride wrote:
>What do i have to put as the default route??? is this in the ifcfg-ppp0
>file??
>
>Ryan
>----- Original Message -----
>From: Brian Martin <[EMAIL PROTECTED]>
>To: Ryan McBride <[EMAIL PROTECTED]>; slug <[EMAIL PROTECTED]>
>Sent: Tuesday, February 15, 2000 10:37 AM
>Subject: Re: [SLUG] PPP0 Autodial
>
>
>> sounds like you need "defaultroute" so that a default route via the ppp0
>> link is added when the link is up & dropped when its down.
>>
>> At 01:45 PM 14/02/2000 +1100, Ryan McBride wrote:
>> >Hey All
>> >
>> >Anyone care to shed some light on this. When i changed
>> /etc/sysconfig/network-scripts/ifcfg-ppp0 and set the "ONBOOT" option to
>> yes and reboot the modem dials and connects and presumably logins to my
>> isp. However i cannot axs anything outside of my lan. The only way i can
>> get this to work is to use kppp through xwindows. This is something i want
>> to eliminate as i dont want to have to go into xwindows everytime i reboot
>> the machine.
>> >
>> >Any help would be great
>> >
>> >Ryan
>> >
>> >Attachment Converted: "C:\BLINK\EUDORA\ATTACH\SLUGPPP1"
>> >
>> ----------------------------------------------
>> Brian Martin, [EMAIL PROTECTED]
>> Future Software Pty Ltd, Sydney, Australia.
>>
>>
>> --
>> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>> To unsubscribe send email to [EMAIL PROTECTED] with
>> unsubscribe in the text
>>
>
----------------------------------------------
Brian Martin, [EMAIL PROTECTED]
Future Software Pty Ltd, Sydney, Australia.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text