localhost or LAN addresses in /etc/hosts
ubuntu at tigershaunt.com
Tue Dec 16 17:03:02 UTC 2008
Bart Silverstrim wrote:
> Rashkae wrote:
>> Chris G wrote:
>>> On Tue, Dec 16, 2008 at 08:50:54AM -0500, Bart Silverstrim wrote:
>>>> NoOp wrote:
>>>>> For others that advocate DHCP on a small local network:
>>>>> The advantages of static IP's in a small local network are even more
>>>>> evident when you use VPN's, VNC, or a central printer - particularly if
>>>>> you use IPP to connect to the printer.
>>>> I don't suppose the network-manager bugs have been fixed yet, have they?
>>>> On my machine after upgrading to 8.10 I could no longer use a static IP!
>>>> THAT is a PITA!
>>> It worked for me, I think I had to 'persuade' network-manager a bit
>>> but it made it in the end.
>> The easiest way to persuade network manager is about anything is to
>> uninstall it.
> I'm sure there are various ways to do it, but what is the best practice
> for configuring the network after that? Just editing the /etc files by hand?
My old habits of putting ifconfig and route add commands into rc.local
Ubuntu comes with an awesome network configuration GUI, accessed through
System -> Administration -> Network. The settings here should be
intuitively simple for anyone who has ever networked Win 95 through to
Win XP as well as Macintosh. This will take care of the
/etc/network/interfaces, /etc/hostname /etc/hosts (at least, for the
localhost entries) /etc/resolv.conf etc. This GUI tool still works once
you rip out Network Manager. (I had difficulty setting up ADSL with
this GUI in Hardy. However, there were some ISP issues that had to be
addressed, and I never bothered going back and trying again once I had
it working manually.)
More information about the ubuntu-users