Slashdot Mirror


NetworkManager 1.0 Released After Ten Years Development

An anonymous reader writes: After ten years of development focused on improving and simplifying Linux networking, NetworkManager 1.0 was released. NetworkManager 1.0 brings many features including an increasingly modernized client library, improved command-line support, a lightweight internal DHCP client, better Bluetooth support, VPN enhancements, WWAN IPv6 support, and other features.

164 comments

  1. NetworkManager by NotInHere · · Score: 4, Informative

    One of the few unix command line tools whose command begins with a major letter.

    1. Re:NetworkManager by Anonymous Coward · · Score: 2, Informative

      You can control NetworkManager from the commandline, but most people are familiar with its GUI.

    2. Re:NetworkManager by fustakrakich · · Score: 5, Funny

      Why isn't it just a thin wrapper on systemd?

      Oh, that's cold, man!

      --
      “He’s not deformed, he’s just drunk!”
    3. Re:NetworkManager by fnj · · Score: 4, Insightful

      All you have to know about the NetworkManager abortion is that you can disable the service and remove the package. Then the operating system's own network configuration files, dhclient and everything, like, actually work as intended and documented.

    4. Re:NetworkManager by Zanadou · · Score: 1

      In that case, what's minor letter?

    5. Re:NetworkManager by skids · · Score: 2

      My best guess as to why they would mess with that is they wanted to fix a few issues where the standalone DHCP clients were not re-negotiating when they needed to, and of course they wanted to do it over DBUS. The alternative fix would have been to work with DHCP client projects/maintainers to add pluggable DBUS control interfaces to those, but when given the choice between that and mission creep, mission creep wins these days. Unless they just decided to use the systemd DHCP client they put in there for use booting containers, and that is what is being referred to.

      The other hard components to wrangle are pptpd/pppd/l2tpd (convincing them to hang up when they should, and getting them to promptly relinquish their device node so rules written against ppp0 don't have to be yanked back out and reinstalled when it changes to ppp1 after a tunnel rebuilds.) I wonder how long until they roll their own of those instead of helping improve them.

    6. Re:NetworkManager by thegarbz · · Score: 5, Funny

      Yes and then you just use the commandline to handle failover of network interfa.... eh no.
      Well you can use the commandline to automate the connection to preferred wireles.... no?
      What about moving between netwo...

      Ahh fuck it I'm re-installing NetworkManager. A turd of a system service with a turd of a user interface is better than busting open the command line every time I do something as mind mindbogglingly complicated on my laptop as plugging in a network cable.

      It may have its warts, but it does what it says on the box. It simplifies network management in a time where networks are not a single solid stable connection to the host. You wouldn't want it on a server, but you wouldn't want to be without it on pretty much any other use case.

    7. Re:NetworkManager by kthreadd · · Score: 4, Informative

      Modern NetworkManager releases also include a handy tool called nmtui which is basically the GUI implemented in curses. Nmcli can sometimes be a bit unintuitive so it's a good thing to have around.

    8. Re:NetworkManager by Anonymous Coward · · Score: 0

      "Yes and then you just use the commandline to handle failover of network interfa.... eh no."

      Never hear of interface bonding I take it? It predates NetworkManager's NIC Teaming.

    9. Re:NetworkManager by kthreadd · · Score: 2

      You wouldn't want it on a server, but you wouldn't want to be without it on pretty much any other use case.

      NetworkManager should be fine on most servers. While the project used to be focused on desktops and laptops there's nothing non-serverish about it.

    10. Re:NetworkManager by Eric+Green · · Score: 5, Informative

      Yes, NetworkManager should be fine on most servers. Unless you want to use network bonding. And VLANs. And bridges. Nevermind bridged VLAN's (yes, those are a thing) on top of 802.3Ad bonds. And ... and... well, 90% of the other functionality that is offered by the Linux networking stack. NetworkManager works fine for managing the 10% of the network stack that is used 90% of the time. For the other 10% of the time, it is an abortion that should be taken out back of the barn and shot like a rabid dog. And this other 10% that NetworkManager won't do is 99% of why people pay me big bucks to make Linux do what they need it to do, since you will not get high performance networking out of a server using the limited functionality provided by NetworkManager. As in, the servers I work with generally have at least half a dozen gigabit NICs and two 10Gbit NIC's. NetworkManager won't get me 1/10th of what I need to put these servers into the midst of a large network for use in server consolidation, and is utterly useless once we start talking about Open vSwitch and other such SDN components.

      So sure, if you're a sandwich shop putting a $500 server under the cash register, or you are a teenage college student setting up a video sharing network for your bro's in the flop house you board in, NetworkManager will work fine for you. For those of us doing anything more complex, it is a useless abomination and the first thing done when bringing up a new server image is "chkconfig NetworkManager off ; service NetworkManager stop". (Or the AbominationD equivalents thereof).

      --
      Send mail here if you want to reach me.
    11. Re:NetworkManager by Anonymous Coward · · Score: 0

      "Modern NetworkManager releases also include a handy tool called nmtui which is basically the GUI implemented in curses."
      In my experience with RHEL, it's a buggy mess....

    12. Re: NetworkManager by Anonymous Coward · · Score: 0

      RHEL 7 uses a very old version and one of the first to include nmtui. It has improved a lot since then.

    13. Re:NetworkManager by MurukeshM · · Score: 1

      nmcli, nmtui, nm-tool all use small letters.

    14. Re:NetworkManager by fisted · · Score: 3, Informative

      One of the few unix command line tools whose command begins with a major letter.

      Sorry, but there's nothing unix about NetworkManager.

    15. Re:NetworkManager by vague+regret · · Score: 1

      Sure about UNIX? It's a Linux tool, not UNIX.

    16. Re:NetworkManager by kthreadd · · Score: 1

      And GNU/Linux is not UNIX.

    17. Re:NetworkManager by fisted · · Score: 1

      Yes. So?

    18. Re:NetworkManager by thegarbz · · Score: 2

      It *should* be fine. But I'm wondering what benefit it brings? NetworkManager was born from a need to simplify network management and automate handovers between networks. These aren't typical scenarios on a server which likely has a fixed network connection and a fixed network setup.

    19. Re:NetworkManager by kthreadd · · Score: 1

      Exactly.

    20. Re:NetworkManager by Antique+Geekmeister · · Score: 3, Informative

      > All you have to know about the NetworkManager abortion is that you can disable the service and remove the packag

      It's unfortunately built into most installers toolkits, so it's difficult to avoid completel, and more tools have unnecessary dependencies on it. So deleting it can lead to re-installing it

      With RHEL based sysysstems, at least, the simplest way to block it is to put "NM_CONTROLLED=no" in the "/etc/sysconfig/network. That helps ensure it stays disabled, until, and unless you specifically select it for any network port..

    21. Re:NetworkManager by Anonymous Coward · · Score: 0

      > It simplifies network management

      Except that it still doesn't do pair bonding, VLAN tagging, or network bridges for KVM It still has to be done manually, unless, they're *really* revised anything iontead of just slapping more GUI and "ooohhh, shiny!!!" on it. The only legible document I'e seen that walks through setting up all three on RHEL based systems is below.

                https://wikis.uit.tufts.edu/co...

    22. Re:NetworkManager by BlackPignouf · · Score: 1

      Here's a command you can use to get all those commands :
      bash -c "compgen -c | grep ^[A-Z] | sort"

      On my system, I get :
      ControlPanel, GET, GMT, HEAD, Mail, MAKEDEV, ModemManager, NetworkManager, POST, R, Rscript, VBoxBalloonCtrl, VBoxClient, VBoxControl, VBoxHeadless, VBoxManage, VBoxSDL, VBoxService, VirtualBox, X, Xephyr, Xorg

    23. Re:NetworkManager by Antique+Geekmeister · · Score: 1

      Please forgive my typos in that post: I'm afraid my RSI is acting up today with a new keyboard layout.

    24. Re:NetworkManager by WoodstockJeff · · Score: 4, Informative

      "With RHEL based sysysstems, at least, the simplest way to block it is to put "NM_CONTROLLED=no" in the "/etc/sysconfig/network. That helps ensure it stays disabled, until, and unless you specifically select it for any network port.."

      If NM is installed, even telling it to not control a network interface is insufficient to keep it from interfering with that interface. Just a week ago, I installed a new NIC in a server, configured it manually with NM told to leave it alone. 12 hours later, the server disappeared from the network. It didn't crash, it just disconnected, because NM decided to take over control of the NIC.

      Why? Because I had not put the MAC address into the configuration. Seems NM will ignore NM_CONTROLLED=no if you don't tell it the MAC address. So my fixed-IP server suddenly became a dynamic-IP workstation, with DNS pointing to the wrong network and a different gateway.

      So, no, I'm not going to leave NM installed on any machine that is NOT moving around the country using WiFi.

    25. Re:NetworkManager by paulatz · · Score: 1

      You still have MAKEDEV? I have not seen it in ages

      --
      this post contain no useful information, no need to mod it down
    26. Re:NetworkManager by Immerman · · Score: 2

      And these are normal activities for an average home user who just want's to be able to watch cat videos at whatever hotspot they happen to be connected to?

      The point of tools like this is to simplify things for people who don't know or care about the details - the technological 99% if you will. If you actually know what you're doing there are absolutely far more powerful tools available, should you have the need for them. But would you really want to inflict those eldritch horrors on your grandmother? (the one who has trouble using email, I'm sure the leet hacker one wrote her own tools from scratch.) Or really, on anyone else you end up playing unpaid tech support for?

      --
      --- Most topics have many sides worth arguing, allow me to take one opposite you.
    27. Re:NetworkManager by armanox · · Score: 1

      On UNIX Systems I get quite the response too:

      (Slashdot filters won't let me post the output from my IRIX system.  I get a " Filter error: That's an awful long string of letters there." Fuck you Dice.)

      -bash-3.2$ uname -a
      SunOS new-host 5.10 Generic_147440-01 sun4u sparc SUNW,Sun-Blade-1500
      bash-3.2$ bash -c "compgen -c | grep ^[A-Z] | sort"
      CC
      CCadmin
      ControlPanel
      DBMirror.pl
      HtmlConverter
      Mail
      TIMEZONE
      -bash-3.2$

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    28. Re: NetworkManager by Anonymous Coward · · Score: 0

      Since 0.9.10 it also supports using interface names via DEVICE=.

    29. Re: NetworkManager by Anonymous Coward · · Score: 0

      It wasn't as much about functionality as it was about resource usage. Dhclient (and to some degree dhcpcd) use a ton of memory for what should be a pretty simple operation. Dhclient uses around 15MB of *RSS* which is pretty insane. The built in DHCP client (which must be turned on manually) uses much less and is somewhat faster too.

    30. Re:NetworkManager by Uncle+Warthog · · Score: 1

      It also still doesn't do POTS dial-up, still a necessity in some environments.

    31. Re:NetworkManager by Anonymous Coward · · Score: 1

      Why do I get the feeling you used this as an excuse to wave your e-peen?

    32. Re:NetworkManager by BlackPignouf · · Score: 1

      I just checked, it's a dependency for ubuntu-minimal.
      So it's installed on every Ubuntu/Mint/....

    33. Re:NetworkManager by LordLimecat · · Score: 4, Insightful

      As someone who is deeply familiar with networking but only vaguely familiar with Linux's arcane ways of configuring its network-- which apparently change drastically depending on such things as:
        * whether you want it to be per-session (ifconfig)
        * or persistent (/etc/DependsOnYourDistro/someFiles)
        * whether it should actually persist with the interface rather than how the kernel decides to allocate /devs to the actual interface
      and so on-- I am quite happy to see NetworkManager. THere is no reason that setting up a bonded or tagged interface should be more complicated than saying it verbally, or why I should have to fall back to CLI in order to do that.

      Heres a fun tip: not everyone wants to be a full-time Linux admin devoted to a particular breed of distro. Some of us have a job in supporting a very wide array of systems, and the less arcane black magic we need to learn for each individual system the better. Historically Linux's networking has been AWFUL, as just a few years ago it was considered normal for a box's IP-to-interface mapping change on reboot because apparently its logical that the OS randomly assign interface IDs to physical interfaces, and there were roughly a hundred different methods and places to configure all of the various networking pieces (resolvers, mac addresses, firewall, bonding, vlans, device/interface mapping).

      It boggles my mind that there are people who think that complexity for complexity's sake is a good thing. CLI is wonderful for batch operations that you do every day. GUI is wonderful for things you will do once a month, and dont want to use mental bandwidth for remembering a command.

    34. Re:NetworkManager by LordLimecat · · Score: 2

      At least in CentOS and RHEL 7, NetworkManager does VLANs and Bonding and bridges in about 2 clicks. Add interface, choose bonding | VLAN | bridge, and go.

      bridged VLAN's (yes, those are a thing)

      Set up your VLAN interfaces, bridge them. Not seeing the issue.

      And ... and... well, 90% of the other functionality that is offered by the Linux networking stack.

      90% of the other functionality isnt relevant 90% of the time. The point of a GUI is to offer the most common options, and from my usage of NM, it does that admirably.

      So sure, if you're a sandwich shop putting a $500 server under the cash register, or you are a teenage college student setting up a video sharing network for your bro's in the flop house you board in, NetworkManager will work fine for you.

      What about a network engineer who has better things to do than spend more time researching the syntax for setting up tagging on a single node than it took to set up the switch infrastructure?

    35. Re:NetworkManager by LordLimecat · · Score: 1

      Is there anything Unix about Gnome? How exactly is this a useful criticism?

      Theres also nothing Unix about HTML, or CSS; maybe you're on the wrong website, Geocites is that way.

    36. Re:NetworkManager by 3.5+stripes · · Score: 2

      Around here, his 3 digit Slashdot ID would be enough, and then some..

      --


      He tried to kill me with a forklift!
    37. Re: NetworkManager by tbuskey · · Score: 1

      It's ok for desktops with 1 nic some times. Not so much for any other scenario.

      Openstack needs it turned off. As long as I can remove the package and manually set up the network, i'm ok.

      There are too many network thing it breaks and too few it fixes.

    38. Re:NetworkManager by armanox · · Score: 1

      See my post here for a list of capital letter commands found on various Unix systems (AIX, IRIX, Fedora Linux, OS X, and Solaris) since Slashdot's filters won't let me post it here....

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    39. Re: NetworkManager by buchanmilne · · Score: 1

      Everything you needed to know about configuring an interface you could find with 'less /usr/share/doc/iniscripts*/sysconfig.txt', better than any network device where the configuration cli's built-in help is only useful if you've completed 3 weeks of expensive training courses.

      Since about RHEL4, anaconda would have populated the HWADDR variables so devices don't get renamed, although the new approach in udev is probably better.

      NetworkManager (in the stable versions of the distros I run) seems to still be incapable of:
      -setting a metric for a device (e.g. METRIC= in ifcfg-$ dev
      -pppoe over a wifi interface
      -doing static routes in openvpn like you can in an openvpn config file
      -sane handling of WiFi (e.g. WPA2-Enterprise where the credentials have other access) passwords like wpa_supplicant+wpa_gui, I don't want to enter it every time I associate to the network, but I don't want it stored on disk ... prompt me once and keep it for this desktop session, because the sceeensaver locks on suspend or idle for 2 minutes,, but the desktop session can run for weeks at a time).

      All of these features are either very important to me, or critical for me to my job, so NetworkManager is only used for the cases there is something I can't do the traditional way (mobile connection using the built-in 3g modem on my laptop which doesn't seem to work with ppp over the serial devices created by the qcserial driver like with the usb dongles I used before).

    40. Re:NetworkManager by Anonymous Coward · · Score: 0

      Why would I be clicking anything on a server? That tugboat you call a mouse and the GUI are fine for your desktop, but if I see xorg installed on servers under my control I remove it. Yes, I even remove it after the whiny DBAs insist they need it to install Oracle database. They don't, X11 forwarding works just fine.

    41. Re:NetworkManager by kefalonia · · Score: 1

      Indeed, it sounds as ambitious and coherent as `X`!!!

    42. Re:NetworkManager by LordLimecat · · Score: 1

      That tugboat you call a mouse and the GUI are fine for your desktop, but if I see xorg installed on servers under my control I remove it.

      And if the server doesnt have xorg, the discussion is moot. For those that do however, it might as well also have NetworkManager as it makes life simpler.

      Obviously I use ssh for most linux connections, but there are times where there is a GUI.

    43. Re:NetworkManager by NotInHere · · Score: 1

      $ bash -c "compgen -c | grep ^[A-Z] | wc -l"
      31
      $ bash -c "compgen -c | grep ^[a-z] | wc -l"
      5893

        1% is few for me.

    44. Re:NetworkManager by Anonymous Coward · · Score: 0

      Not sure if you know about 'em or not, but based on this particular sub-thread's focus on X, may I suggest trying nmtui and/or nmcli?

    45. Re:NetworkManager by fisted · · Score: 1
      Since you seem to have the reading comprehension of a bag of bricks, let me try and put it in a way more accessible to you.

      NetworkManager
      One of the few unix command line tools [...].

      Sorry, but there's nothing unix about NetworkManager.

    46. Re:NetworkManager by Anonymous Coward · · Score: 0

      Yeah, except I don't want the pile of crap that is GTK on my server, nor does my server need a "network manager". If I have multiple interfaces, I'll set up appropriate routing and iptables rules, and everything will automatically use whichever interface is appropriate, or route to another if one is down. Installing networkmanager on a server means you don't have a server, you just have a remote desktop operated by a clueless person who should be hiring somebody to do IT for them.

    47. Re:NetworkManager by Anonymous Coward · · Score: 0

      or you can just have system services take care of those things... netctl-auto and netctl-ifplugd both exist

    48. Re:NetworkManager by strikethree · · Score: 1

      It may have its warts, but it does what it says on the box.

      It absolutely does not do what it "says on the box". I have _never_ had a Linux box have usable networking when NetworkManager was installed. God that piece of crap needs to burn in hell. Forever. It is the most horrible abortion I have seen attached to a Linux box. At least PulseAudio, the next worst abortion works sometimes, now. NetworkManager never works.

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
  2. At this rate... by Anonymous Coward · · Score: 1

    NetworkManager 2.0 will debut in the year of the Linux desktop.

    1. Re:At this rate... by Anonymous Coward · · Score: 0

      Meh, before that day the systemd has long before assimilated the network manager and linux itself.

  3. NetworkManager by Anonymous Coward · · Score: 1

    why does it have a DHCP client? Will it still be possible to configure things manually from the command line, or do I always need a desktop environment now to connect to a wireless ethernet? Why isn't it just a thin wrapper on systemd?

  4. what's wrong with ifconfig? by Anonymous Coward · · Score: 2, Insightful

    Really, why do we need anything more than ifconfig and ethtool?

    1. Re:what's wrong with ifconfig? by Narcocide · · Score: 5, Funny

      Those are too simple and reliable. For Linux to compete with mainstream operating systems it needs more complexity and more bugs.

    2. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 1

      So systemd will be bundling Network Manager?

    3. Re:what's wrong with ifconfig? by Narcocide · · Score: 3, Funny

      Probably, and probably also pulseaudio.

    4. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 2, Insightful

      So systemd will be bundling Network Manager?

      I don't know if it's an out-and-out requirement, but the two packages are very clearly in the same camp.

      I stay *far* away from systemd, Network Manager, and PulseAudio. I'm trying to avoid using things like udisks, upower, and Pol(icy)?Kit.

      captcha: crimes

    5. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Yes, because I'd rather be mucking about with ifconfig while at a random coffee shop than just checking my email using their wifi.

      NetworkManager may be overkill for a server, but if I'm traveling with my laptop, it's handy to have it do everything for me.

    6. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Really, why do we need anything more than ifconfig and ethtool?

      Because computers don't use monochrome displays anymore and most people prefer a GUI to view and modify settings.

      Every command line tool should have a corresponding GUI based version.

    7. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      I agree with you, every command line tool should have a GUI wrapper. However there was nothing wrong or broken with ifconfig. This is just change for the sake of change.

    8. Re:what's wrong with ifconfig? by nyet · · Score: 2

      Don't forget avahi, which reliably causes shutdown to take o^n time (vs number of network interfaces and ipaliases) to shut down

    9. Re:what's wrong with ifconfig? by hobarrera · · Score: 3, Insightful

      On Linux? To connect to WPA2 networks (including WPA2+802.1X). That's an everyday scenario for a pretty much every laptop user.

      Sure, you can also do it via cli (with more tools than just those you mentioned), but, do you remember all the steps? Can you teach them to your mum? Can you automate it?

    10. Re:what's wrong with ifconfig? by Jeremiah+Cornelius · · Score: 1

      Really, why do we need anything more than ifconfig and ethtool?

      The wireless tools complicate everything. Otherwise? Yes. I'd just edit the interface descriptions in /etc/network/interfaces ...

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    11. Re:what's wrong with ifconfig? by kthreadd · · Score: 1

      NetworkManager has a command line interface. Two actually, a cli tool and one based on curses.

    12. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 2, Informative

      Sure, you can also do it via cli (with more tools than just those you mentioned), but, do you remember all the steps?

      Why remember them? Dump the commands into a script and just run it.

      Can you automate it?

      No, of course not, because command line tools are the absolute worst for automation. </sarcasm>

      That said, if you're dealing with wireless, I'd suggest using wicd instead of either. Less shitty than NetworkManager, less complicated than command line, and it has multiple front-ends including gtk, qt, ncurses, and CLI. I started using it years ago because NM tended to break horribly and every few updates it would lose the ability to connect to hidden APs. Meanwhile, has always "just worked" and has been completely forgettable, which is probably the best compliment that kind of software can earn.

    13. Re:what's wrong with ifconfig? by Cley+Faye · · Score: 2

      For desktop users.
      Most "not power" user simply want their computer to access "the internet" and don't care much about anything in between. NetworkManager does just that: plug the ethernet, you get a working connection. Input a wifi password in a simple, straighforward input dialog, and it works.
      I don't know if it was designed explicitely for this usage, but it work wonderfully there. In other scenarios... not so good. On a dev system, or a server, you'll want to remove it. Bet let's not forget the desktop users :)

    14. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Well, most linux distros have deprectaed ifconfig infavour of iproute2 for more than ten years now...

    15. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      As a Dev I can comfortably say that NM has worked fine pretty much everytime I used it for everything that I needed it to. The only time that I can think of that it didn't was when I had a driver issue

    16. Re:what's wrong with ifconfig? by Antique+Geekmeister · · Score: 1

      For VPN support and dynamic network changes, especially with wifi based access.

    17. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      I stay *far* away from systemd, Network Manager, and PulseAudio. I'm trying to avoid using things like udisks, upower, and Pol(icy)?Kit.

      So, how's Windows 8 working out for you?

    18. Re:what's wrong with ifconfig? by neurovish · · Score: 1

      Really, why do we need anything more than ifconfig and ethtool?

      Ask RedHat since they deemed them not good enough to be used in RHEL anymore. ip is the new hotness.

    19. Re:what's wrong with ifconfig? by Chris+Walker · · Score: 1

      Never heard of it before, but thanks for the tip. It solved a problem I started having with NetworkManager after upgrading to Fedora 21. It was interfering with my Juniper VPN (route monitor alarm when connecting, stopping the VPN). Took just a few minutes to install and get it running, nice tool.

    20. Re: what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Which one bonds interfaces, creates bridges for KVM, and can create vlans ?

    21. Re:what's wrong with ifconfig? by tlhIngan · · Score: 1, Informative

      On a dev system, or a server, you'll want to remove it. Bet let's not forget the desktop users :)

      And that's really the problem with Linux. It's a great server OS - but in the end, as a desktop OS it just stinks because all the developers scream when you try to "complicate" matters using tools like systemd, NetworkManager, PulseAudio which are essential to make a modern desktop OS.

      For networking you need to consider the mobile use case - home user is at home, and firewall is set up to allow services so they can stream their music and whatnot all over the network. They move their laptop to a wifi hotspot, and now the network stack should reconfigure itself to the hotspot. But oh, the firewall rules need to resync because the home user isn't at home and is in a public place, so maybe having those services exposed is a bad idea. (In an ideal world, you'd really have NetworkManager tell systemd or init to shut down those esrvices).

      That's a common scenario - user moves between trusted and untrusted networks, and something needs to detect what kind of network it is, then manage the firewall, DHCP and other things altogether.

      Perhaps if you're lucky, it's switching between Ethernet and WiFi, which means you can statically configure the whole thing, but more often than not, it's on the same interface. Or maybe it's both - a laptop user connected to a public guest network AND a private wired network. Or vice-versa. Or maybe both networks are the same.

      Ditto audio - while a server doesn't need audio, a desktop user does, and it has to handle the variety of APIs to access audio, the need to provide for multiple audio routing paths because as audio devices appear and disappear, the preferred routing may change - e.g., switch between onboard speaker+mic to Bluetooth headset for communications WHILE still playing audio (movie or music) through stereo speakers plugged into the line out jack. Then when Bluetooth disappears, mix communications audio (or mute the movie/music) if a call comes in. Audio mixing is important for multiple audio sources - perhaps you have a few YouTube video tabs open and are listening to something else - it's a PITA to stop that just to get audio for YouTube because it needs to release the audio device.

      It's amazing how, despite Linux being an advanced multi-tasking OS, a lot of things are still stuck in the single-tasking world that developers think is all you need. Maybe a decade ago, but modern day PCs are so much more capable.

    22. Re:what's wrong with ifconfig? by LordLimecat · · Score: 1

      ifconfig doesnt persist changes. Thats also not made obvious to the unfamiliar.

      Gotchas like that are why you need NetworkManager.

    23. Re:what's wrong with ifconfig? by buchanmilne · · Score: 1

      On Linux? To connect to WPA2 networks (including WPA2+802.1X). That's an everyday scenario for a pretty much every laptop user.

      Sure, you can also do it via cli (with more tools than just those you mentioned), but, do you remember all the steps? Can you teach them to your mum? Can you automate it?

      Mandriva/Mageia have net_applet, which is capable of browsing WiFi networks, configuring wpa_supplicant correctly (including access-point roaming), to the point where the normal 'network service' could (depending on your configuration choices) connect to WiFi during boot (before a user is logged in), and be useable for average users.

      This was first a useable solution in about 2005, and only stopped working perfectly with the migration to systemd (it still works better than NetworkManager in some respects, but automatic AP roaming after resume seems to not be reliable, didn't have time to track it down ... have started using NetworkManager for this use case as it seems I should probably invest time in the future rather than the past).

    24. Re: what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Stop being an ass.

    25. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Well, nowadays one needs also the iw tool, as it is the only one which works with recent Intel wlan adapters.

    26. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      WTF is o^n time?

    27. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      Glad it helped. wicd is the unsung hero of linux wireless, and I try to mention it any time someone complains about NM or just wireless in general.

      It's a shame it doesn't get more notice, but it's to be expected. NetworkManager is a redhat creation, so of course it's going to be the one pushed on everyone by the GNOME/redhat crowd and treated as a "standard", no matter how badly it works or how many problems it causes. (see also: pulseaudio)

    28. Re:what's wrong with ifconfig? by mvdwege · · Score: 1

      If you consider ip to be the new hotness, then you are dating yourself as just another *buntu script kiddie.

      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    29. Re:what's wrong with ifconfig? by Anonymous Coward · · Score: 0

      On a dev system, or a server, you'll want to remove it. Bet let's not forget the desktop users :)

      And that's really the problem with Linux. It's a great server OS - but in the end, as a desktop OS it just stinks because all the developers scream when you try to "complicate" matters using tools like systemd, NetworkManager, PulseAudio which are essential to make a modern desktop OS.

      No, we scream when distros start trying to force those on EVERYONE, and remove any alternative, thereby screwing over sysadmins everywhere. You can have your desktop stuff, but FFS, keep it the hell off my servers.

  5. apt-get remove ... by Anonymous Coward · · Score: 2, Interesting

    So, I want dnsmasq dynamically configured to use special name servers, in addition to and not in lieu of my regular name servers, when, and only when, a certain openvpn tunnel is active, as opposed to other openvpn tunnels I also have. Is this, after a decade of work, feasible using NetworkManager's normal built-in GUI interface? Or does it still cater to only straightforward DHCP wired and wireless use cases, ignoring anything move involved, as it has always done?

    I thought so.

    Dear distro makers; continue to anticipate the needs of those of us that cannot tolerate the limitations of NetworkManager and need to purge the thing from our systems. Specifically, ensure that it can be removed without being told the kernel depends on it, or some other ridiculousness. Thank you.

  6. Should be interesting by x_t0ken_407 · · Score: 1

    NM has been great over the past 2-3 years, at least as for my usage with KDE. Before that it was pretty unstable in my experience. Not sure what'll change (if anything, too lazy to read the changelog) with the coming update, but I'm sure I'll have it within the week since I run Arch.

    1. Re:Should be interesting by stoborrobots · · Score: 2

      Ran Debian with NM and KDE for the last couple of years as well. Purged it recently in order to remove systemd (NM depends on PolKit which depends on pam-systemd for login session management), and replaced it with WICD.

      WiCD is not quite as smooth as NM for usb modems, but for wifi and wired ethernet, it does the job.

    2. Re:Should be interesting by stoborrobots · · Score: 1

      (And I'm working on making the usb modem use cases work more smoothly...)

    3. Re: Should be interesting by Anonymous Coward · · Score: 1

      NM can be built without PolKit support since around 2012. Most things can be turned off either at build time or have runtime fallbacks.

    4. Re:Should be interesting by x_t0ken_407 · · Score: 1

      Yeah, I especially like the ease of the OpenVPN support (as well as the PPTP support). Makes configuring my work and home vpn trivial -- not that it wasn't before, but it's nice to have all the networking stuff in the same seamless GUI tool.

    5. Re: Should be interesting by stoborrobots · · Score: 1

      Thanks for the tip! I figured it probably could, but the debian build of NM has PolKit as a hard dep, unfortunately. Haven't got around to looking at what it would take to build from source.

      In the short term, WiCD is doing 95% of what I need, so I will stick with it.

      I hope to be able to contribute something useful, so will either eventually contribute a polkit-averse NM build for debian, or add MBIM support for WiCD.

  7. mask NM by Anonymous Coward · · Score: 5, Informative

    The most important feature is that it can be disabled, masked and unistalled without loosing functionality, as oppposed to other new TM things that I can't get rid of that easily

    1. Re:mask NM by skids · · Score: 1

      Yes, it has been easier in general to move out of the way than some of the other desktop junk. Some of the automated editing of config files was annoying but at least how to kick it off an interface was easy to find and no other applications were so tangled up with it that they got cranky without it running, unlike avahi which always causes error message spew everywhere when it is down and over the years has been a game of whack-a-mole to keep it killed what with all the different ways it got started.

      In general other than the smurfword name and the fact that I'm always elbow deep in network stuff and cannot have it interfering I think it's been a net positive to have around.

      I wonder if it will make a push towards becoming an 11u cred manager. We do need a good UI for that if the rank and file users are ever to use 11u for something other than letting providers find ways to monetize their use of hotspots.

    2. Re:mask NM by thegarbz · · Score: 1

      masked and uninstalled without loosing functionality

      Except for the functionality which it provides. Something not interesting to neckbeards but critical to about every other year of Linux on desktop user.

    3. Re:mask NM by Anonymous Coward · · Score: 0

      > without loosing functionality

      What do you mean by functionality becoming not tight? NetworkManager destroys networking by randomly taking eth0 down. It is something you want to keep far away from servers.

    4. Re:mask NM by Mr.+McGibby · · Score: 2

      I don't think the OP was making that point. I think he was saying that it's not so tightly coupled with everything else that it can't be removed without losing all kinds of unrelated functionality. I think it was a reference to the systemd fiasco.

      --
      Mad Software: Rantings on Developing So
    5. Re:mask NM by Anonymous Coward · · Score: 0

      But it provides no new functionality. Maybe you are confusing functionality and convenience?

  8. 10 years! by Anonymous Coward · · Score: 0

    Good thing our AI overlords are taking all our jawbz

  9. Configuring VPN DNS in NetworkManager by tepples · · Score: 1

    So, I want dnsmasq dynamically configured to use special name servers, in addition to and not in lieu of my regular name servers, when, and only when, a certain openvpn tunnel is active, as opposed to other openvpn tunnels I also have. Is this, after a decade of work, feasible using NetworkManager's normal built-in GUI interface?

    As far as I can tell, you can specify "Additional DNS servers" for one particular VPN, at least in the version of NM included with Xubuntu 14.04 LTS.

    1. Network Manager > VPN Connections > Configure VPN
    2. Click Add
    3. Connection type: PPTP, then click Create
    4. After configuring everything else, under IPv4 Settings, make sure Method is set to "Automatic (VPN)" and not "Automatic (VPN) addresses only", and then enter an IP in Additional DNS servers.

    When you follow these steps, what happens differently from what you expect?

    1. Re:Configuring VPN DNS in NetworkManager by Anonymous Coward · · Score: 1

      Many years from now, when I have reason to replace my working configurations in the normal course of upgrades, I'll give NM another try and let you know.

      I note, however, that you cite PPTP instead of OpenVPN. Is this "Additional DNS servers" entry exclusive to PPTP?

      Looking in on my configuration, I see that the additional DNS servers added to dnsmasq while a certain tunnel is active are used only for queries that match specific domains. All others queries are sent to the "normal" servers. Why might this be important? Why, in fact, is it absolutely crucial? Because without it, the "internal" DNS servers of this specific OpenVPN site will receive all name resolution traffic. Everything.

      That is intolerable.

    2. Re:Configuring VPN DNS in NetworkManager by Anonymous Coward · · Score: 0

      What's this GUI thing I keep hearing about? Great Unwieldy Inconvenience?

    3. Re:Configuring VPN DNS in NetworkManager by SpzToid · · Score: 1

      https://help.ubuntu.com/commun...

      Network Manager VPN support is based on a plug-in system. If you need VPN support via network manager you have to install one of the following packages:


      network-manager-openvpn
      network-manager-vpnc
      network-manager-openconnect

      The network-manager-pptp plugin is installed by default.

      On GNOME, you also need to install the -gnome packages for the VPN plugin you choose:


      network-manager-openvpn-gnome
      network-manager-vpnc-gnome
      network-manager-openconnect-gnome

      Your OpenVPN configuration interests me, and I hope you'll document it further for me to better understand.

      --
      You can't be ahead of the curve, if you're stuck in a loop.
  10. Never heard of it by gweihir · · Score: 5, Insightful

    And I have been a constant Linux user since 1994. This cannot be too important.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Never heard of it by Anonymous Coward · · Score: 0

      And I have been a constant Linux user since 1994. This cannot be too important.

      NetworkManager has never heard of you.

    2. Re:Never heard of it by SeaFox · · Score: 4, Insightful

      The best software does its job quietly and doesn't need a bunch of attention from the user, allowing your to do your actual work.
      Something that seems to be lost on the makers of many other software projects, OSS and commercial.

    3. Re:Never heard of it by Anonymous Coward · · Score: 0

      And I have been a constant Linux user since 1994. This cannot be too important.

      You want us to believe you've been using Linux since version 1.0 and have never heard of network manager.

      F U

    4. Re:Never heard of it by 0xdeaddead · · Score: 1

      Ive been using Linux since SLS days, even before there was a network stack.

      never heard of it either.

      obviously it's some tool the kids have put together to solve a problem that BSD's ifconfig solved in the 1980s.

    5. Re:Never heard of it by Kjella · · Score: 1

      The best software does its job quietly and doesn't need a bunch of attention from the user, allowing you to do your actual work. Something that seems to be lost on the makers of many other software projects, OSS and commercial.

      Really? Seems to me Microsoft does a wonderful job, considering how many of their users don't know a thing about their computer.

      --
      Live today, because you never know what tomorrow brings
    6. Re:Never heard of it by gweihir · · Score: 1

      Not applicable to me, as I always configure my networks manually via /etc/network/interfaces. You know, like people that know what they are doing...

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:Never heard of it by gweihir · · Score: 1

      Yeah, sounds like it. Or maybe some nice, restricted GUI for people that do not understand networking.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  11. It's totally superfluous by Anonymous Coward · · Score: 1

    And I have been a constant Linux user since 1994. This cannot be too important.

    You've probably never hear of it because NetworkManager is quite superfluous in Linux.

    TFS says:

    After ten years of development focused on improving and simplifying Linux networking, NetworkManager 1.0 was released.

    It's hard to see how one could simplify Linux networking. It requires one ip addr command to set an IP address and one ip route command to set a default route. And on IPv6 even those are unnecessary, it's automatic.

    And these guys spent 10 years simplifying that? The announcement is quite surreal.

    1. Re:It's totally superfluous by Yosho · · Score: 4, Interesting

      And these guys spent 10 years simplifying that?

      No, they spent 10 years simplifying things like scanning for wireless access points, detecting the encryption type, and storing credentials. Or setting up routing over Bluetooth. Or configuring and switching between different types of VPNs. Or bridging between multiple interfaces. And having a little icon in your system tray that you can right-click on to do it all.

      If the only thing you ever do is set a static IP for your ethernet card then you probably don't need it, but a lot of people do more complex things than that.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    2. Re: It's totally superfluous by bill_mcgonigle · · Score: 3, Interesting

      oh, does bridging work finally? I spent well over an hour with nmcli docs and on Google trying to setup bridges for each vlan I was using on an el7 machine and got nowhere close to working. Spent 5 min setting up redhat ifcfg- files and was done after yum uninstalling nm. It says that nmcli got some love in 1.0, and boy that's a good thing.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    3. Re:It's totally superfluous by hobarrera · · Score: 4, Interesting

      > It's hard to see how one could simplify Linux networking. It requires one ip addr command to set an IP address and one ip route command to set a default route. And on IPv6 even those are unnecessary, it's automatic.

      And a dns, too. And the wireless network name. And the wireless network username+password.

      And then, I have to do it all again in two minutes when you walk out of range. And then again when you get home. And then again at a cafe.

      NM might not be the nicest of things, but it sure beats the hell out of running several commands every time I relocate myself/my laptop.

    4. Re:It's totally superfluous by Anonymous Coward · · Score: 0

      yeah, because writing a script which can be run by simply clicking on it is so hard for the windows generation.

      not saying it's ideal, but so much for your "running several commands" snark.

    5. Re:It's totally superfluous by drinkypoo · · Score: 2

      It presents the same problem as systemd. Take one problem, solving wifi connections, and then make a tool which unnecessarily manages all aspects of networking. dhclient manages to remain long-running and handle the DHCP operations for an interface, all that was needed was the equivalent wifi daemon. Once you step beyond the simplest configurations, Network-Manager has always become an impediment and not an assistant.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    6. Re:It's totally superfluous by juanfgs · · Score: 1

      yeah, because writing a script which can be run by simply clicking on it is so hard for the generation that actually works with their Linux boxes.

      There, fixed.

    7. Re: It's totally superfluous by Anonymous Coward · · Score: 0

      Yes, bridges on VLANS should work. If you're having trouble with it, head over to #nm on free node and we'd be happy to help!

    8. Re: It's totally superfluous by Anonymous Coward · · Score: 0

      That works if you only ever connect to a single AP and nothing else. But when you'd start throwing in DNS config (which anything that gets IP config must update), or VPNs where the DNS and routing take precedence, and password requests for everything, and permissions for all this, for example, it's not quite so simple.

    9. Re: It's totally superfluous by IMightB · · Score: 1

      Yes Bridging via NM works now, and has for a year or two. At least on Fedora systems....

    10. Re:It's totally superfluous by Anonymous Coward · · Score: 1

      If its set up by NM then you don't have to do anything, it just detects the networks and connects. How is that worse than running a script? Presumably a different script for each network too.

      I know, lets create a 'Super' script to automate it all. We will add more features, then make it easy to use (since that IS also a goal, if it wasn't then why make a script in the first place). Now lets give it a name. It manages my network so lets call it ....

      God you people are a bunch of whiners. Yeah we get it, you don't need it on servers. But lets here you whine about it some more!

    11. Re: It's totally superfluous by Anonymous Coward · · Score: 0

      Using network-manager on a stationary server is fucking retarded.

    12. Re:It's totally superfluous by buchanmilne · · Score: 1

      And the wireless network name. And the wireless network username+password.

      And then, I have to do it all again in two minutes when you walk out of range. And then again when you get home. And then again at a cafe.

      NM might not be the nicest of things, but it sure beats the hell out of running several commands every time I relocate myself/my laptop.

      You really haven't had to do it that way since 2004.

      $ man wpa_supplicant.conf

    13. Re: It's totally superfluous by drinkypoo · · Score: 1

      Perhaps a program is also needed to manage resolv.conf, but it doesn't need to be a daemon. Or, if you're willing to use a daemon, you can have a user-space caching resolver, like dnsmasq.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:It's totally superfluous by strikethree · · Score: 1

      No, they spent 10 years simplifying things like scanning for wireless access points, detecting the encryption type, and storing credentials. Or setting up routing over Bluetooth. Or configuring and switching between different types of VPNs. Or bridging between multiple interfaces. And having a little icon in your system tray that you can right-click on to do it all.

      It took 10 years to do THAT? It acts like they have spent maybe 3 months throwing together some cheap Python scripts that they do not understand. It is a buggy, terrible, network access denying, piece of crap abortion from the pits of hell.

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
    15. Re:It's totally superfluous by strikethree · · Score: 1

      A couple of scripts could get you the same functionality in a MUCH more reliable manner that does not negatively affect millions of Linux users.

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
    16. Re:It's totally superfluous by gweihir · · Score: 1

      Indeed. Surreal it is. I do admit that I usually stick to the old commands (now wrappers) like ifconfig and route, unless I need policy-based routing.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  12. 10 years for that? by Anonymous Coward · · Score: 1

    Sounds like the new feature list for Windows XP.

    1. Re:10 years for that? by Anonymous Coward · · Score: 0

      Sounds like the new feature list for Windows XP.

      Ha. Exactly.

    2. Re:10 years for that? by Anonymous Coward · · Score: 0

      Yes, it's sad that Linux is still behind Windows XP in end-user usability. I think Puppy might have the best usability. Its shortcuts are labeled Internet, Email, etc... and they provide detailed, off-line help and suggestions while you're doing something instead of requiring you to look for the help about things you didn't know you didn't know.

  13. A polished turd none the less. by Anonymous Coward · · Score: 0

    One of the first things I do with any Linux install is to disable Network Manager. This and Pulse Audio were the precursors to really intrusive and rarely functional systems in Fedora. Once these are disabled the system works rather well. Fedora finally convinced me to switch back to Slackware for everything, not just the servers.

    1. Re:A polished turd none the less. by Anonymous Coward · · Score: 0

      It wasn't perfect from the beginning so you disabled it and never used it again? Yeah right because stuff never improves. You should really check out the latest version, you've missed some things.

    2. Re:A polished turd none the less. by JackieBrown · · Score: 1

      He is still running the 2.2 kernel and refuses new hardware for the same reasons

  14. Seriously, who the fuck cares by Anonymous Coward · · Score: 0

    Fucking bag of shit that it is.

    1. Re:Seriously, who the fuck cares by Anonymous Coward · · Score: 1

      As someone who used to help friends and family set up Linux networking before NetworkManager I very much care.

  15. Year of the linux desktop by Anonymous Coward · · Score: 0

    Then they wonder where the year of the Linux desktop has not still come.

    Seriously speaking, NetworkManager does pretty fine work too on servers. You apparently have not tried it in the last a few years... It works.

    1. Re: Year of the linux desktop by Anonymous Coward · · Score: 0

      I can't figure out how to create a simple vlan, or bonding of interfaces.

      Very routine server networking.

      Does NM do it at all ?

  16. NetworkManager? by Anonymous Coward · · Score: 0

    I got rid of it years ago. Never looked back.

  17. I like NetworkManager, but.... by DerPflanz · · Score: 5, Interesting

    Since NetworkManager, day-to-day network use (be it WiFi, wired or whatever) Just Works. I like that.

    However, when (as a developer, hardware-tinkerer or network problem solver) you are plugging in and out cables, connecting devices, etc, it would be nice to have NetworkManager to be put on "mute" or something. Just keep my fixed IP on the correct devices and stop enabling and disabling connections. That's the only time I turn the service off.

    --
    -- The Internet is a too slow way of doing things, you'd never do without it.
    1. Re:I like NetworkManager, but.... by basecastula+ · · Score: 1

      Try connman and the qt front end, cmst.

  18. Parent comment shows exactly what's wrong with NM by shadowtramp · · Score: 1

    One step away from predesigned usage pattern and you are in conflict with NM. This is terribly wrong when system level tool force you to fight to solve some rather mundane tasks. It is wrong when it is easier to edit manually supplicant config files to configure WiFi properly, then extend NM a little.

    --
    I'm not a brake. I'm an accelerator. Just a slow one...
  19. That's nice, but.. by InterBigs · · Score: 1

    ..it will be replaced by systemd sooner or later. It's actually one of the long term systemd goals.

  20. Re:Parent comment shows exactly what's wrong with by Carewolf · · Score: 2

    Well, you don't have to figth it. It will autoconfigure just fine after moving the cables. All you need to do is wait the 500ms it takes to do a new DHCP request and get the same IP adress again. If that is too long, you should probably be using a static configuration in the first place.

  21. Ever heard of Agile? by Virtucon · · Score: 1

    10 years for version 1.0? Really?

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
    1. Re:Ever heard of Agile? by Anonymous Coward · · Score: 0

      This is partly because everyone who does real system work rips it out as a first step to stabilize their servers.

    2. Re:Ever heard of Agile? by Anonymous Coward · · Score: 0

      To some people, version numbers have meaning. Ten years to go from v0.001 to v1.0 tells a lot more than ten years to go from r1 to r4562.

      My Firefox is at v32. I have no clue how that relates to v3.

  22. Why? by Anonymous Coward · · Score: 0

    Is there even a reason for this tool? I have never used it and have never _seen_ a use for it. Why do we keep shoveling in more code in places where it is not needed?

  23. Re:Parent comment shows exactly what's wrong with by jones_supa · · Score: 1

    One step away from predesigned usage pattern and you are in conflict

    This is so typical in Linux world. :(

    Stuff has fragile integration and when you step away from the beaten path, weird glitches appear.

  24. just in time... by sad_ · · Score: 1

    to be replaced by systemd.
    nm includes dhcp client, systemd also. both are RH projects, wtf.

    --
    On a long enough timeline, the survival rate for everyone drops to zero.
    1. Re:just in time... by Anonymous Coward · · Score: 0

      to be replaced by systemd.

      This joke was funny the 10 times before your post

    2. Re:just in time... by PincushionMan · · Score: 2

      The real WTF is that he's not kidding. Ubuntu says that systemd needs nm-online to function, and if it's not ready to go, they will replace it [NetworkManager] with something that will.

  25. useless and buggy before, useless and buggy now by Anonymous Coward · · Score: 0

    useless and buggy before, useless and buggy now. Only handless well a couple use cases, and as soon as you try to do something different it is going to actively work against you.
    Lots of expensive wasted effort from people that just don't know any better.

  26. NM is not suitable for serious computer science by Anonymous Coward · · Score: 1

    Well, you don't have to figth it. It will autoconfigure just fine after moving the cables. All you need to do is wait the 500ms it takes to do a new DHCP request and get the same IP adress again. If that is too long, you should probably be using a static configuration in the first place.

    Except not.

    In the simplest use case, that of a college student in a coffee shop being totally p0wned, NM works great. Because the end user only wants one live network connection (and NM will choose the criminal AP, of course, since that will have better signal strength then the coffee shop AP) and has no serious network connected storage.

    In the use case of an actual professional computer scientist® doing tasks more meaningful than browsing pr0n, NM is an abomination. You decide to jack into the AoE or FCoE net to do some diagnosis, and you lose your networking. Change anything with the CLI (as knowledgeable people might need to do) and NM immediately tries to change it back, perhaps breaking all networking in the process.

    This is why NM is a fine helper for those who are using their GUI laptops as toys or newsreaders, but anyone doing serious work removes the package immediately. It's inflexibly targeted at the barely computer literate user. Pros don't generally need or want NM on their work machines, although some will happily use it on their play time laptops.

    And of course a real computer professional© will use any tool if it suits the needs of the moment, so don't take the above rant as an unbreakable set of rules. Nonetheless NM is not targeted at pros. That's not a problem, really, it's just something everybody knows.

    1. Re:NM is not suitable for serious computer science by Anonymous Coward · · Score: 1

      I routinely use the ethernet jack on my laptop for ad-hoc diagnosis. I just configured network-manager to ignore it, but I allow it to keep managing my wi-fi connection.

      Works for me. YMMV.

    2. Re:NM is not suitable for serious computer science by Anonymous Coward · · Score: 0

      Well, you don't have to figth it. It will autoconfigure just fine after moving the cables. All you need to do is wait the 500ms it takes to do a new DHCP request and get the same IP adress again. If that is too long, you should probably be using a static configuration in the first place.

      Except not.

      In the simplest use case, that of a college student in a coffee shop being totally p0wned, NM works great. Because the end user only wants one live network connection (and NM will choose the criminal AP, of course, since that will have better signal strength then the coffee shop AP) and has no serious network connected storage.

      In the use case of an actual professional computer scientist® doing tasks more meaningful than browsing pr0n, NM is an abomination. You decide to jack into the AoE or FCoE net to do some diagnosis, and you lose your networking. Change anything with the CLI (as knowledgeable people might need to do) and NM immediately tries to change it back, perhaps breaking all networking in the process.

      This is why NM is a fine helper for those who are using their GUI laptops as toys or newsreaders, but anyone doing serious work removes the package immediately. It's inflexibly targeted at the barely computer literate user. Pros don't generally need or want NM on their work machines, although some will happily use it on their play time laptops.

      And of course a real computer professional© will use any tool if it suits the needs of the moment, so don't take the above rant as an unbreakable set of rules. Nonetheless NM is not targeted at pros. That's not a problem, really, it's just something everybody knows.

      If your job involves moving cables around you are not professional computer scientist you are an engineer. The key is: Computer Science is a theoritical field, if you are doing field work you are an engineer.

  27. Re:Parent comment shows exactly what's wrong with by PincushionMan · · Score: 1

    I totally agree. Some years back, mid 2008 or 2009, NM could not handle a static IP address. Sure, static addresses aren't always common, but the GUI bits were there. However, the backend had not been wired up yet - at least, that's what I observed with Ubuntu and Fedora from that time-frame. Is it possible the testing wasn't done? Amazing that this happened to two distros simultaneously.
    The solution, in this case, was to disable NM and manually enter your IP address via ifconfig, and then your default gateway via route. Once completed, you saved your command lines into /etc/rc.local. Wasn't hard for me, but it made some of the new Ubuntu converts question why Linux had to be so difficult. Especially when it took one or two Ubuntu versions to fix. That's a year to a year-and-a-half for a fairly common networking setup. I cannot imagine what the fellow with the complicated VPN arrangement went through. Also looks like having both a static and a dynamic address on the same NIC requires editing config files.

    If editing config files are how non standard things are done, why are the other projects in such a hurry to move their config directions into a binary registry of programs? Will Linux get a flood of stuff like StopSign 'AntiVirus' or MyClea...PC or Hos-t-s file fixers. Okay, never mind. I don't want to know, and I really don't want to summon those trolls.

  28. Just in time to... by Anonymous Coward · · Score: 0

    be replaced by systemd-network-manager (orwhateverthefuckit'llbecalled).

    "Because fuck using tested, proven, stable code. That shit wasn't invented here! HARRUMPH!"
    --- Systemd Developers

  29. Wifi on laptops by Anonymous Coward · · Score: 0

    Not going to dispute Eric Green's points, but in my experience NetworkManager is handy on laptops for wifi setup. It's more convenient than dicking around with config files, and works just as well most of the time.

  30. Re:Parent comment shows exactly what's wrong with by mvdwege · · Score: 1

    You're an idiot if you put your manual network config in rc.local on an Ubuntu system. If that is your story, I have no problems believing the newbies in your vicinity thought it was difficult.

    And since I distinctly remember running Debian+Gnome+NetworkManager in that same timeframe with no problems whatsoever using a static config, I think your problems were more of a PEBCAK nature.

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  31. Re:Parent comment shows exactly what's wrong with by PincushionMan · · Score: 1

    Thank you for your insightful commentary about my mental status. Yes, I may not have 160 IQ like you. I'm actually thankful for that, because I understand how to relate and empathize with other humans. You clearly do not. Since the problem must have been me, please go install Hardy Heron or Intrepid Ibex and set up a static address. If you can, please go here and tell these users they are all idiots also. We need people like you to keep losers like me and these other Ubuntu fellows on Windows where they belong. After all, if you cannot set up a DHCP server to hand out static addresses, what are you doing running Linux, right?

    Thanks!

  32. User-oriented, not service-oriented by Teunis · · Score: 1

    This is a piece of software which is very user-oriented instead of service oriented. The short implication of that is, if a computer is dedicated to a single user, it's a rather useful toolkit (most of the time). (it causes havoc if one's trying to do something outside of "normal desktop behaviour")

    This software is actively hostile in a service-oriented environment - aggressively so. It's possible if one controls all of the network resource allocation systems (dhcp et al), that one can minimize the harm caused by this software, but the best solution is still to purge it if it exists on a server.

    Until it can be installed and run with a default state of "unengaged" when there's no GUI present, it'll remain unsafe. At least they're addressing - finally - the issue that it is essentially hostile if there's no GUI (eg X) present.

  33. Re:Parent comment shows exactly what's wrong with by mvdwege · · Score: 1

    I'm not going to install a hacked-to-shit Debian install to coddle the typo of morons Shuttleworth seems to think to be a demographic worth mining, no.

    No, sorry, I don't like to relate to and empathize with idiots. If that makes me an elitist, so be it. It doesn't take away anything from the fact that I am not going to take anecdotes about Ubuntu fuckups as fact, unlike you. The facts of who is rational here are evident.

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?