However if I do smthng like
64 bytes from 18.104.22.168 (...) time=53.9 ms
1 packet transmitted, 1 received, 0% packet loss,time 53.9 ms
....ping to the outside world works...
Needless to say apt-get whatever does not work
Does it seem to have something to do with DNS server? (...just guessing...)
In the case it is useful: I am behind a hub that leads to an Efficient Speedstream router.
If I take off the hub, everything works. On bootup sequence -while still attached to the hub- I don't get any DHCPOFFER, so system fails to bring up eth0.
But if I edit /etc/network/interfaces and change the line
iface eth0 inet dhcp
(which even leads to no ping to the outside at all, since no DHCPOFFER is got and so network will remain unreachable)
to something like
iface eth0 inet static
and then fill appropiately the required values (gateway, dns, ip address, netmask and so on...) then I succesfully ping to the outside, but no name can be resolved thus no navigation or apt-get is achieved to work....