Hallöle, ich will in /etc/ppp/ip-up Kommandos ausfuehren. Ich lasse es bereits immer bei Start bzw. Ende einer Internetverbindung "beepen". (Gleich am Anfang echo -e "\a" >/dev/tty2 eingefuegt.) Geht!! Jetzt will ich nur bei Aufbau einer Verbindung ein Kommando (genau /sbin/init.d/firewall.update $4) ausfuehren. Denk, denk, .. muss eigentlich unter /etc/ppp/ip-up .. ippp*) ... ip-up) (gemeint ist dir ippp*, ip-up case Verzweigung) rein. (ich hab ISDN). Also reingeschrieben. Nix passiert. Also zusaetzlich auch dort ein echo -e "\a" >/dev/tty2. wieder nix. Was laeuft falsch? Ich habe die SuSE 6.3. Ergaenzende Frage, was hat es mit den ip-up.local bzw ip-down.local files auf sich. Kann man da auch Kommandos reinschreiben. (bei mir nicht) merci und adios timo --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Hallo Timo, * Am 12.04.2000 um 20:03 Uhr schrieb Timo Proescholdt:
ich will in /etc/ppp/ip-up Kommandos ausfuehren.
Jetzt will ich nur bei Aufbau einer Verbindung ein Kommando (genau /sbin/init.d/firewall.update $4) ausfuehren.
teht beim Aufruf des Kommandos in $4 auch ein start/stop/... oder dergleichen drin ? Füge doch einfach mal ein echo "($4)" >/dev/tty1 vorm dem Kommando ein und überprüfe was sich nach dem Verbindungsaufbau auf tty1 in Klammern befindet ;-) MfG. Jürgen -- Sind Sie im Zweifel, murmeln Sie. Sind Sie in Schwierigkeiten, delegieren Sie. / Registered Linux-User #130804 http://counter.li.org \ \ Linux Stammtisch Bremerhaven http://linux.hs-bremerhaven.de / --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Timo Proescholdt schrieb in 0,9K (42 Zeilen):
ich will in /etc/ppp/ip-up Kommandos ausfuehren.
Du meinst /etc/ppp/ip-up.local. Die sind fuer lokale Variationen.
Was laeuft falsch?
etze ein "set -x" rein und rufe es von Hand auf. -Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (3)
-
Juergen_Schwarting@gmx.de
-
timo@proescholdt.de
-
weissel@netcologne.de