3 Dec 22:30
Re[5]: specific interface
Nerijus Baliunas <nerijus <at> users.sourceforge.net>
2002-12-03 21:30:57 GMT
2002-12-03 21:30:57 GMT
On Tue, 3 Dec 2002 12:21:57 -0800 (PST) Bill Unruh <unruh <at> physics.ubc.ca> wrote: > Yes, upgrade to 2.4. > Or you could spend the next year of your life figuring out how to fit > the completely rewritten kernel ppp code of the 2.4 series into a 2.2 > kernel. I think the first is easier. Probably> I hope you are keeping up with the all the security updates for Redhat > 6.2 as well. Yes, but this has nothing to do with the subject. Another problem, but probably specific to Red Hat, so I don't know if anyone can help. RH has /etc/ppp/ip-up, which calls ip-up.local if it exists when ppp is up. I have in ip-up.local: REALDEVICE=$1 PTP=$5 if [ "$REALDEVICE" = "ppp0" ] then echo "$PTP" > /var/run/ppp0-ptp fi if [ "$REALDEVICE" = "ppp1" ] then echo "$PTP" > /var/run/ppp1-ptp fi ppp0 is used by pppoe (roaringpenguin), ppp1 - dialup. The problem is, that /var/run/ppp0-ptp contains only new line when ppp0 is up, while /var/run/ppp1-ptp correctly has IP address of a gateway (P-t-P). It is on the same system (RH 6.2). There is no such problem on another system (RH 7.2) - when adsl comes up, gateway gets written to /var/run/ppp0-ptp. Regards, Nerijus - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> I hope you are keeping up with the all the security updates for Redhat
> 6.2 as well.
Yes, but this has nothing to do with the subject.
Another problem, but probably specific to Red Hat, so I don't know if
anyone can help.
RH has /etc/ppp/ip-up, which calls ip-up.local if it exists when ppp
is up. I have in ip-up.local:
REALDEVICE=$1
PTP=$5
if [ "$REALDEVICE" = "ppp0" ]
then echo "$PTP" > /var/run/ppp0-ptp
fi
if [ "$REALDEVICE" = "ppp1" ]
then echo "$PTP" > /var/run/ppp1-ptp
fi
ppp0 is used by pppoe (roaringpenguin), ppp1 - dialup. The problem is,
that /var/run/ppp0-ptp contains only new line when ppp0 is up, while
/var/run/ppp1-ptp correctly has IP address of a gateway (P-t-P).
It is on the same system (RH 6.2).
There is no such problem on another system (RH 7.2) - when adsl comes
up, gateway gets written to /var/run/ppp0-ptp.
Regards,
Nerijus
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at
RSS Feed