I have a Ubuntu 12.04 x32 running in a Chroot environment (using Crouton) on my Chromebook. It runs perfectly, and can access the internet. However, it cannot access computers on the local network (it won't discover Minecraft LAN devices, but others can discover and NOT connect to mine), and it won't discover or connect to any LAN devices in Nautilus (error message when opening "Windows Network" saying "Unable to Mount location" and "Failed to retrieve share list from server").
Here is my /etc/hosts file, as default when installed:
127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Can someone please help me with this? I need to access samba shares (Raspberry Pi NAS and my desktop computer file shares), and Minecraft LAN would be a bonus :)
Google really is your friend tuxgarage has a great guide on your problem and also the command you forgot to get network access is
I have found a solution! I didn't see it before because it is for servers, but it worked anyway: https://askubuntu.com/a/146669/48364
It involves editing /etc/nsswitch.conf by moving "dns" before [NOTFOUND=return] instead of after.
I tried it and I can now access my Raspberry Pi NAS!