How do I get the default Network Manager plus dnsmasq-base setup back again?

Tom H tomh0665 at gmail.com
Thu Jan 17 23:26:29 UTC 2013


On Mon, Jan 14, 2013 at 10:36 AM, Chris Green <cl at isbd.net> wrote:
> On Sun, Jan 13, 2013 at 11:34:41AM -0500, Gene Heskett wrote:
>>
>> So /etc/hosts looks something like this:
>> -------------------------
>> 127.0.0.1     localhost
>> 192.168.xx.yy coyote.coyote.den       coyote
>> 192.168.xx.yy router.coyote.den       router
>> 192.168.xx.yy shop.coyote.den         shop
>> 192.168.xx.yy lathe.coyote.den        lathe
>> 192.168.xx.yy lappy.coyote.den        lappy
>
> The trouble with this is that every time something on the LAN changes
> you have to edit all those files.  With one or two machines it's easy,
> with five or six it starts getting tiresome, any more and it's not
> really practical.  Here's my current LAN:-
>
>     192.168.1.1      vigor.zbmc.eu
>     192.168.1.2      revo.zbmc.eu
>     192.168.1.4      chris.zbmc.eu
>     192.168.1.6      ben.zbmc.eu
>     192.168.1.18
>     192.168.1.81     C475IP.zbmc.eu
>     192.168.1.83     SqueezeboxRadio.zbmc.eu
>     192.168.1.90     backup.zbmc.eu
>     192.168.1.110    test.zbmc.eu
>     192.168.1.122    HP6390D4.zbmc.eu
>     192.168.1.125    acer-aspire.zbmc.eu
>     192.168.1.147    raspberrypi.zbmc.eu
>     192.168.1.148
>
> That's 13 systems, I don't want to have to reconfigure all of them every
> time I add or change one.

You can set up your dhcp server to hand out the same ip address to
each of its clients. You'd then only have to edit "/etc/hosts" and the
dhcp server settings when a NIC's changed.




More information about the ubuntu-users mailing list