<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>fuck off<br><br><div>> Date: Wed, 4 Sep 2013 14:51:45 -0400<br>> Subject: Re: Probably stupid question, but<br>> From: tomh0665@gmail.com<br>> To: ubuntu-users@lists.ubuntu.com<br>> <br>> On Tue, Sep 3, 2013 at 5:10 PM, Paul Smith <paul@mad-scientist.net> wrote:<br>> > On Tue, 2013-09-03 at 20:43 +0100, Colin Law wrote:<br>> >>><br>> >>> And it should definately be intelligent enough to understand that if someone<br>> >>> has defined a static ip address for their machine, it should not just<br>> >>> blindly ignore it and go for DHCP. Maybe it could check first to see if DHCP<br>> >>> is available. Maybe it can still do its thing but in such a way that the<br>> >>> static IP address is kept as it was. I don't care what it does, as long as<br>> >>> it does not break network connectivity. And currently, (or at least last<br>> >>> time I checked), it does.<br>> >><br>> >> I can't understand what is the problem that others seem to have with<br>> >> fixed ip addresses in network manager.  I use fixed IP addresses<br>> >> simply by setting the Method to Manual in IPv4 Settings in NM and<br>> >> entering the address etc.  I have no problems at all with this.<br>> ><br>> > I agree with you Colin.  I've done this many times and it works<br>> > perfectly fine.  You can set IP address, netmask, broadcast, DNS server,<br>> > etc. using the NetworkManager configuration.  If there is a situation<br>> > where this fails, please describe it.<br>> ><br>> > NetworkManager absolutely supports static IP addressing.  What it<br>> > _doesn't_ support is "Joe's Linux Distro Network Interface Configuration<br>> > File Format".  If you want static IP addresses then you need to use<br>> > NetworkManager to configure them, you can't go behind its back and muck<br>> > around with underlying files such as /etc/network/interfaces<br>> > or /etc/sysconfig/networking or whatever magical file format your distro<br>> > of choice invented, and expect it to work.  NetworkManager is not an<br>> > Ubuntu-only tool, it's a generic package used by most distros.<br>> ><br>> > If you want to manage your network interfaces by hand and edit<br>> > underlying files directly, then don't use Network Manager; that's fine.<br>> > But don't blame Network Manager for being broken when you're<br>> > purposefully breaking it.<br>> <br>> NM has plugins to handle Red Hat and Debian/Ubuntu networking configuration.<br>> <br>> For the former it's called ifcfg-rh and it reads<br>> "/etc/sysconfig/networking-scripts/ifcfg-*" interface files (including<br>> setups for bonds, bridges, and vlans).<br>> <br>> For the latter it's called ifupdown and it reads<br>> "/etc/network/interfaces" if the plugin's enabled in<br>> "/etc/NetworkManager/NetworkManager.conf".<br>> <br>> (To be accurate, you have to enable ifcfg-rh or ifupdown in<br>> "/etc/NetworkManager/NetworkManager.conf" for them to be loaded but<br>> that's done automatically by the NM maintainers. For ifupdown, you<br>> have to enable a second setting in that file.)<br>> <br>> You can also use NM-native config files in<br>> "/etc/NetworkManager/system-setting/" if the keyfile plugin is loaded<br>> (again it's enabled automatically by the distributions).<br>> <br>> -- <br>> ubuntu-users mailing list<br>> ubuntu-users@lists.ubuntu.com<br>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users<br></div>                                    </div></body>
</html>