Alle 10:11, lunedì 14 ottobre 2002, sebastiano arrigoni ha scritto:
> salve a tutti,
> qualcuno di voi sa come vedere l'IP che sto utilizzando mentre sono
> collegato al mio ISP via modem?
> grazie
> sebastiano

usa (come utente root) il comando ifconfig... esempio:

[root@univac marco]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:D0:70:01:1E:16
          inet addr:10.0.0.20  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17039 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:19388642 (18.4 Mb)  TX bytes:947941 (925.7 Kb)
          Interrupt:10 Base address:0xb800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:773 errors:0 dropped:0 overruns:0 frame:0
          TX packets:773 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:92061 (89.9 Kb)  TX bytes:92061 (89.9 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:80.116.186.12  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:16872 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10676 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:19007050 (18.1 Mb)  TX bytes:681120 (665.1 Kb)

il comando senza argomenti restituisce alcuni dati sulle varie interfacce di 
rete che sono configurate. Quella che ti interessa è la ppp0 (presumo). Il 
campo d'interesse è invece "inet addr"

Ciao e buon hacking :)

-- 
>>>IRON<<<
ICQ#: 92399781

Rispondere a