* Andrea postete am 22. Mar. 2004 folgendes:
MYIP=`/sbin/ifconfig ippp0 | grep P-t-P | cut -d: -f2 | cut -d" " -f1` - funktioniert so hier nicht. (habe ich von http://home.arcor.de/thomas.litsch/s-ipput.htm)
Das System ist ein Suse 8.2 an einem TDSL-Anschluss.
DSL hat schonmal ppp0 und nicht ippp0. Wie sieht denn die Ausgabe von ifconfig aus, wenn Du dieses mal aufrufst? Bei mir sieht das so aus: ppp0 Protokoll:Punkt-zu-Punkt Verbindung inet Adresse:217.173.146.23 P-z-P:217.173.128.54 Maske:255.255.255.255 UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:55960 errors:0 dropped:0 overruns:0 frame:0 TX packets:58912 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:3 RX bytes:31467595 (30.0 Mb) TX bytes:6574739 (6.2 Mb) Und da da nicht P-t-P steht, sondern P-z-P steht, müsstest Du die Zeile dementsprechend korrigieren. Also MYIP=`/sbin/ifconfig ppp0 | grep P-z-P | cut -d: -f2 | cut -d" " -f1` Bye Michael -- Es gibt zwei Dinge, die ein Bundy nicht tut: Wir essen kein Gemüse und wir klopfen nicht an. -- Al Bundy _______________________________________________________________________ http://macbyte.info/ ICQ #151172379 http://autohbci.macbyte.info/