[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wwwoffle in Verbindung mit ip-up



OpenPGP Fingerprint: 71FB D334 32B7 DB0E 4FA2  BF5B 1CD0 8E1A 8337 E7BA
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200301221506.04561@dEbiAnLinUx>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

ok, ich habe mal die Sache in ein logfile schreiben lassen und folgendes 
wurde ausgegeben, wobei ich bei der Interpretation ein wenig versagt 
habe.

- -------------------------
+ grep -qsx ppp /etc/wwwoffle/wwwoffle.options
+ :
++ route -n
++ grep '^0\.0\.0\.0 '
++ awk '{print $8}'
+ DEFROUTEIF=
+ '[' x '!=' xppp0 ']'
+ exit 0
- -------------------------
das ist die Ausgabe vom automatischen Aufruf per pppd, Abbruchbedingung 
erfüllt weil defaultroute nicht über das eingerichtete ppp0 interface 
geht oder so - hab keinen plan wie das korrekt ausgedrückt wird.

- --------------------------------
+ grep -qsx ppp /etc/wwwoffle/wwwoffle.options
+ :
++ route -n
++ grep '^0\.0\.0\.0 '
++ awk '{print $8}'
+ DEFROUTEIF=
+ '[' x '!=' x ']'
+ /usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -online
WWWOFFLE Now Online
+ grep -qsx fetch /etc/wwwoffle/wwwoffle.options
+ /usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -fetch
WWWOFFLE Now Fetching.
WWWOFFLE No more to fetch.
- ------------------------------
Hier die Sache beim Aufruf des Scripts per kppp bzw. per hand als 
normaler user -  beides getestet.
Hier ist die Route korrekt gesetzt (??) und das script kann 
weiterlaufen. Nun könnte ich ja einfach die betreffende Zeile aus dem 
Script entfernen, aber das wäre nur eine second best lösung. Ich denke 
mal die Abfrage wird schon ihren Sinn haben :-). Unklar ist mir woher 
"$8" kommen soll.

ciao andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: http://www.gnupg.org

iD8DBQE+LqVLHNCOGoM357oRAsUZAJ9ziGyCxEfEwkJY6rUaOOaWey3CcACgvoyB
ufSoCjqj+ozbWDXQ4r/l6z0=
=b5L+
-----END PGP SIGNATURE-----



Reply to: