Oli Weiss schrieb in 1,1K (32 Zeilen):
Ich versuch gerade den wwwoffle aus dem ip-up script in den -online Modus zu schalten - dies aber erfolglos. Der Daemon rennt und ich habe auch kein Problem die verschiedenen Modis in der Kommandozeile zu setzen oder gar ueber http://localhost:8080/control.
Du hast ein Passwort fuer wwwoffle gesetzt? /etc/ppp/ip-up.local: -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- #! /usr/bin/perl -w [...] $LOG = "1>> /var/log/ppp-connect 2>> /var/log/ppp-connect"; [...] $WWWOFFLE = &findit ("wwwoffle"); $WWWOFFLECONF = "/etc/wwwoffle/wwwoffle.conf"; [...] # # WWW # ub do_wwwoffle_online { die "wwwoffle not found" unless $WWWOFFLE; system ("$WWWOFFLE -online -c $WWWOFFLECONF $LOG"); &do_wwwoffle_fetch; exit 0; } ub do_wwwoffle_fetch { die "wwwoffle not found" unless $WWWOFFLE; system ("$WWWOFFLE -fetch -c $WWWOFFLECONF $LOG"); print LOG "WWWoffle WWW sucking done (", scalar(localtime(time)), ").\n"; exit 0; } &forkfunc (\&do_wwwoffle_online); [...] -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- findit mach ein type -p. forkfunc forkt die subroutine, die nicht zurueckkommen sollte.
"[...]Bzw ip-up.local, dann muss die .local aber aus ip-up aufgerufen (gesourced) werden[...]"
Sollte bei allen neueren SuSEn der Fall sein: $ grep -E 'ip-(up|down).local' /etc/ppp/ip-up /etc/ppp/ip-up: # call ip-up.local if it exists and is executable: /etc/ppp/ip-up: test -x /etc/ppp/ip-up.local && /etc/ppp/ip-up.local $* /etc/ppp/ip-up: # call ip-down.local if it exists and is executable: /etc/ppp/ip-up: test -x /etc/ppp/ip-down.local && /etc/ppp/ip-down.local $* /etc/ppp/ip-up: test -x /etc/ppp/ip-up.local && /etc/ppp/ip-up.local $* /etc/ppp/ip-up: test -x /etc/ppp/ip-down.local && /etc/ppp/ip-down.local $* $ -Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com