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

Re: Aktuelle IP per Skript auslesen



Hallo Urs und Christian,

Warum macht ihr das alles so kompliziert?

Am 2009-01-04 21:53:29, schrieb Christian Schult:
> * Urs Traenkner <urs.traenkner@stud.tu-ilmenau.de>:

> > ifconfig ppp0 | awk '/inet/ { print $2 } ' | sed -e s/Adresse://

> ~ % alias myip
> myip='/sbin/ifconfig ppp0 | { read; read -A ip; echo ${ip[2]#*:}; }'

Ich verwende ganz einfach

    ifdata -pa ppp1

man muß nur einmal ein

    apt-get install moreutils

machen.  Ich muß über die Möglichkeit meines vorherigen Postings  gehen,
weil bei GSM das mit 'ifdata' nicht funktioniert.

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: