New answers tagged localhost
Edit /etc/network/interfaces add the following at the bottom of the file auto lo:1 iface lo:1 inet static address 127.0.0.2 netmask 255.0.0.0 Documentation on interfaces file can be found here : http://manpages.ubuntu.com/manpages/lucid/man5/interfaces.5.html The definition above firstly tells the system to automatically bring the new lo:1 virtual ...
The whole 127.0.0.1/8 address space is reserved for loopback addresses. So you can use any address from 127.0.0.1 up to 127.255.255.254.
Based on what you provided in your question it sounds like dev.server02.bb.net and live.server02.bb.net do not exist in dns or have incorrect information there. If you have access to these dns records you should update them to contain correct information. If not, you should update your computers' local hosts files and hardcode those hostnames to IP address ...
Looking at the strace of the failing command, it turns out that 'localhost' was resolving to '::1' which was a secondary IPv6 entry in the hosts file. My xinet.d/tftp definition had a flag for IPv4 only. The solution is to either remove the IPv6 hosts entry or remove the IPv4 from the tftp server. This now works: $ tftp localhost -c put test.file ...
If you want to use dnsmasq with NetworkManager you can (or even must?) start dnsmasq from NetworkManager by adding dns=dnsmasq to /etc/NetworkManager/NetworkManager.conf. Then the dnsmasq config goes to /etc/NetworkManager/dnsmasq.conf or /etc/NetworkManager/dnsmasq.d/ resp.
Top 50 recent answers are included