Re: apt-get confused when laptop plugged elsewhere
Jan Stary [Montag, 7. April 2003 14:43]:
>| When I take my laptop home, plug the cable in, and get the net configured
>| by my provider's DHCP; everything seems to work OK, except taht when I run
>| apt-get [anything], it tries to connect to 192.168.6.1
What happens if you try to ping one of the apt-sources ?
>| but this should not matter. I commented out all lines except localhost
>| in /etc/hosts and rebooted, got DHCP lease, all working, except again
>| apt-get update tries to connect to 192.168.6.1. Why?
Hmmm. Perhaps it can't resolve the apt-source addresses ?
Something with defaultroute of /etc/network/interfaces ?