Hi Gary,
It is a persistent link using pppd with ppp-watch to keep the link up



IE: the box boots, it dials the connection.  the line ONBOOT="yes" is 
present in ifcfg-ppp0

This box is NOT running X, it is a server with a modem line as a private 
link to a second network.

I assume those files are being called, they have reference to stats-routes 
in them, but I don't know the format for the data to put into 
/etc/sysconfig/static-routes


Rgds,
dDrryl

At 08:43 PM 4/10/2001, you wrote:
>Hi Darryl,
>
>how are you controlling the ppp link - directly, via kppp or some other route?
>
>If you do it directly, pppd will call /etc/ppp/ip-up after the link is
>established, and /etc/ppp/ip-down after the link has dropped.
>
>If you are using kppp, it has similar facilities in the config dialog.
>
>Other ppp wrappers should have similar facilities.
>
>Gary
>
>On Thursday 04 October 2001 10:47 am, Darryl Harvey wrote:
> > Hi all,
> >
> > I need a route added to my system each time the ppp0 network comes up.
> >
> > The command I issue to add the route is;
> > route -v add -host xxx.xx.xx.xx gw IP.of.ppp0.xxx dev ppp0
> >
> > If I add this route manually, it works fine.. Until ppp0 drops and then the
> > route is removed.
> >
> > When ppp0 line comes back up again, the route is not restored.  How can I
> > make it so it is automagically restored when the link is restored?
> >
> > I have heard about putting stuff in  /etc/sysconfig/static-routes but I
> > cannot find anything that will tell me the format of the entries, or if
> > this works for dynamic links (like ppp0 which is a modem link)
> >
> > Any advice welcome.
> >
> > Thanks
> > Darryl
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
>--
>Gary Stainburn
>
>This email does not contain private or confidential material as it
>may be snooped on by interested government parties for unknown
>and undisclosed purposes - Regulation of Investigatory Powers Act, 2000



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to