try a few things:
$ ping 188.8.131.52 # ping google nameserver to check if you have an internet connection.
$ ps -ealf | grep dhclient # check if dhclient is running. You
could kill it and run it manually in the foreground to see what's
happening if you're not getting an address after ifdown / ifup
$ cat /etc/resolv.conf # check if you have nameservers listed there. If not, add google nameservers in that file:
...what do you mean by "have internet for less than 5 minutes"? Does the connection disappear? If so, reboot, check "ifconfig -a" when you have a connection and when it's gone. Also check resolv.conf when it works and when it doesn't to see if it gets modified.
Check the contents of /etc/network/interfaces to see if you have something like:
On 2016-11-28 19:12, Herbert Fortes wrote:
Hi Gianluca Bonetti,Hello Herbert You have to modify /etc/apt/sources.list to point to the current repositories. deb http://httpredir.debian.org/debian jessie-kfreebsd main deb http://security.debian.org/ jessie-kfreebsd/updates main deb-src http://httpredir.debian.org/debian jessie-kfreebsd main deb-src http://security.debian.org/ jessie-kfreebsd/updates mainI did that. Thanks! But the problem is: apt can not resolve the address. Using a browser I can not access google.com. I only have an ip address after the boot. If I do 'ifdown' 'ifup' I do not get an ip from dhcp. And the internet connection can be used for less then 5 minutes. Regards, Herbert