Re: ppp + ppp.linkup/linkdown Invalid command

From: Bernd Walter <ticso(at)cicely12.cicely.de>
Date: Thu, 28 Aug 2003 15:47:57 +0200

On Thu, Aug 28, 2003 at 03:17:51PM +0200, Klaus Engelbertz wrote:
> Ich habe jetzt alles mögliche probiert um ein Script nach Verbindungsaufbau bzw. Abbau von ppp ausführen zu lassen.
>
> Die Syntax aus den Samplefile, die Syntax aus hier irgendwann mal besprochenen Beispielen und so weiter.
>
> Ich bekomme immer Fehlermeldungen
>
> Aug 28 14:56:15 gw2 ppp[173]: Warning: Bad label in /etc/ppp/ppp.linkup (line 1) - missing colon
> Aug 28 14:56:36 gw2 ppp[173]: Warning: /etc/ppp/ppp.linkup: ! /etc/ppp/exec_linkup: Invalid command
> Aug 28 15:00:25 gw2 ppp[173]: Warning: /etc/ppp/ppp.linkup: ! sh -c "/etc/ppp/exec_linkup": Invalid command
> Aug 28 15:00:25 gw2 ppp[173]: Warning: /etc/ppp/ppp.linkup: !bg /etc/ppp/exec_linkup: Invalid command
> Aug 28 15:05:03 gw2 ppp[173]: Warning: /etc/ppp/ppp.linkup: !bg sh -c "/etc/ppp/exec_linkup": Invalid command
> Aug 28 15:09:02 gw2 ppp[173]: Warning: /etc/ppp/ppp.linkup: !bg sh -c "/etc/ppp/exec_linkup": Invalid command

ppp.linkup hat das gleiche Format, wie die ppp.conf.
label:
 einstellungen zum label

Du wirst vermutlich deine !bg... Zeilen ohne Blank am Zeilenanfang
stehen haben, womit dann der ':' für die Labeldefinition fehlt.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso(at)bwct.de                                  info(at)bwct.de
To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 28 Aug 2003 - 15:48:40 CEST

search this site