3 Dec 15:06
Re[3]: specific interface
Nerijus Baliunas <nerijus <at> users.sourceforge.net>
2002-12-03 14:06:29 GMT
2002-12-03 14:06:29 GMT
On Sat, 30 Nov 2002 18:41:46 -0800 (PST) Bill Unruh <unruh <at> physics.ubc.ca> wrote: > > I entered it in options file, but with ppp-2.3.11 I get > # pppd call omn > pppd: In file /etc/ppp/peers/omn: unrecognized option 'unit' > > Well, I guess the answer then is to upgrade to pppd 2.4.1 > in which that option does exist.Upgraded. But, I have unit 3 in options file (tried at the command line also), but still: pppd[10697]: Using interface ppp1 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