installed connman and it trashed my network

Marius Gedminas marius at pov.lt
Thu Oct 25 12:39:44 UTC 2012


On Fri, Oct 19, 2012 at 10:06:25AM +0300, Marius Gedminas wrote:
> I did a sudo apt-get install connman to test this and accidentally
> pressed Enter at the "do you want to continue?" prompt.  Oops.  On the
> other hand the recovery procedure is now tested -- on Ubuntu 12.04.1:
> 
>     # plug in wired cable
> 
>     sudo -s # to get root
> 
>     ifconfig eth0 up
>     dhclient eth0
>     # this failed with some error, I ignored it, network worked
> 
>     apt-get install network-manager-gnome
> 
>     sudo start network-manager

Caution: you should reboot after this, or at least kill the dhclient
you've started and clean up the file it creates in /run/resolvconf/interface/

Otherwise you may discover the Internet is slow (3-4 second pause before
any web page opens, because there's a DNS server for the wrong LAN at
the top of your /etc/resolv.conf) and/or doesn't work at all (because
the DHCP lease renewals somehow get routed by your home router and
confuse your ISP's gateway into kicking your entire home network
offline).

That was a fun few hours of network issue debugging I'm never getting
back.

Marius Gedminas
-- 
Special bonus feature: absolutely nowhere in RetchMail's code is there an
arbitrary 3-second sleep(). Wow! What other mail retriever can say that? (Hint:
not fetchmail.)
	-- http://open.nit.ca/wiki/index.php?page=RetchMail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121025/98c66c12/attachment.sig>


More information about the ubuntu-users mailing list