On 01/02/2011 01:50 PM, David Sastre wrote:
On Sun, Jan 02, 2011 at 12:04:18AM +0100, Daniel Andersson wrote:On 01/01/2011 09:09 PM, David Sastre wrote:On Sat, Jan 01, 2011 at 08:14:08PM +0100, Daniel Andersson wrote:I just installed Debian Squeeze on a Eee PC. The installer downloaded all the packages during the install but when I want to install more packages at the prompt I only get: Could not resolve 'ftp.sunet.se' I'm able to ping ftp.sunet.se and the mirror is working on my other laptop. /etc/resolv.conf is updated correctly, I get an IP from my router. It does not help getting a new lease using dhclient.How does your /etc/apt/sources.list (or any files under /etc/apt/sources.list.d/) look like?deb http://ftp.sunet.se/pub/Linux/distributions/debian/ squeeze main deb-src http://ftp.sunet.se/pub/Linux/distributions/debian/ squeeze mainCan you try: -another mirror -apt-get/aptitude update -apt-get/aptitude install some.package
I finally figured it out. The cheap router I share with my neighbor does not handle IPv6. After disabling IPv6 all is good:
echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf edit /etc/modprobe.d/aliases.conf and * Comment out: alias net-pf-10 ipv6 * Add: alias net-pf-10 off alias ipv6 offand also setting network.dns.disableIPv6 to true for Iceweasel and Thunderbird