Heldwin wrote:homere57 wrote:bonjour,
un simple ping hostname par exemple va retourner l'ip non
ou un ping sur eth0 ou wlan0 retourne aussi l'ip
a+
non, ça retourne l'IP
privée, pas
publique
A part si c'est un serveur hébergé/mutualisé, etc.
re,
ha bon!!
c'est etrange mais chez moi ça fonctionne
ping wlan0
PING wlan0.numericable.fr (82.216.xxx.xx) 56(84) bytes of data.
64 bytes from portail-front.tech.numericable.fr (82.216.xxx.xx):
bien que
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1C:26:B5:72:C0
inet adr:192.168.10.103 Bcast:192.168.10.255 Masque:255.255.255.0
adr inet6: fe80::21c:26ff:feb5:72c0/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16407 errors:0 dropped:0 overruns:0 frame:0
TX packets:11276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:20291259 (19.3 MiB) TX bytes:1371157 (1.3 MiB)
a+