6 ms·
Network Manager 1.0 Released after 10 years of development
- JoshTriplett 12y ago> A faster, lighter-weight internal DHCP client based on code from systemd-networkd has been added This is huge news. systemd-networkd's DHCP client, thanks to Tom Gundersen's work, can successfully get an address in milliseconds, rather than the many seconds required by dhclient. See https://plus.google.com/+TomGundersen/posts/eztZWbwmxM8 https://plus.google.com/+TomGundersen/posts/eztZWbwmxM8 for some of the details. I eagerly await wireless networking support in systemd-networkd, but in the interim, this will drastically improve network setup time on the average Linux system.
- Jacqued 12y agoThat's great news indeed ! Thanks for the informative link. Does it now work wireless though ? From the link you shared : Using networkd together with wpa_supplicant on my laptop on my crappy home wifi, the time from link-sense to fully configured network is roughly 50ms
- XorNot 12y agoYeah I'm pretty excited by this. Its one of those small usability improvements that will make everything just feel nicer.
- hueving 12y agoThat post has some nice specs but didn't hint at what any of the fixes were. Why was it so slow to begin with?
- justincormack 12y agoSee this article for some of the optimisations that are possible [1] - not sure which systemd has implemented. [1] http://cafbit.com/entry/rapid_dhcp_or_how_do http://cafbit.com/entry/rapid_dhcp_or_how_do
- antihero 12y agoIs this the same thing as dhcpcd or something else?
- vezzy-fnord 12y agoThe author of dhcpcd (Roy Marples) also weighs in the discussion, saying that the former matches the same speed as long as ARP checking is disabled. So really, it seems to me that the only reason networkd's DHCP is fast is because it's bare bones (and also skips a few sections of RFC 1531, according to Jayson Vantuyl... which doesn't sound good). Only dealing with lease negotiation, if Gundersen's statement near the end is still true.
- pothibo 12y agoIIRC, Apple also does something similar (skipping a few sections of the standard) to acquire a lease faster. That's why Macs connect faster to the network. I'm not an expert on the implementation of mac/windows/linux so maybe someone who knows can chip in.
- dingaling 12y agoUpon reconnectionn to the network the Apple OSs immediately resume using their previous lease address on the network, whilst initiating DHCP in the background. Works OK in small domestic networks but can cause some issues in big uni and corporate nets with frequent address churn.
- sciurus 12y agoSee https://news.ycombinator.com/item?id=2755461 https://news.ycombinator.com/item?id=2755461
- digi_owl 12y agoDidn't they do something similar on iPhone, only to discover that it was a security risk because the damn thing would reveal to anyone within broadcast range what networks you frequented?
- digi_owl 12y agoGotta "love" the exchange between Kay Seivers and Ted Lemon in the comments of that post...
- spb 12y agoSo NetworkManager has been using the GRUB model of what "1.0" means, then?
- vacri 12y agoEveryone who gets to touch a version number should have a read of http://semver.org/ http://semver.org/ first. And for this particular case, the FAQ question "How do I know when to release 1.0.0?" is particularly appropriate. My favourite one to watch was the roguelike ADoM, which went through 0.1 - 0.9, then 0.91 - 0.99, then .99alpha - .99gamma, then got up to .99gamma16 before it finally hit 1.0.
- mikepurvis 12y agoSeems like nmcli is still kind of a second-class citizen— would be interested to see an in-depth comparison between nmcli and connman for the use case of a wifi-connected headless device.
- pantalaimon 12y agoTry nmtui
- technomancy 12y agoAt least you can connect to new networks now. Pre 1.0 it was practically a joke.
- justifier 12y agowhere is reliable, easy internet connection sharing on linux? i've built scripts that serve ics but only under shamanic preconditions that elude me network manager is supposed to allow for it with their 'share this connection' but getting it to work has also eluded me on a windows7 boot everything just works with ics, but then i'm booted into windows gramm`err : /allude/elude/
- trumbitta2 12y agoGrammar nazi here: elude
- justifier 12y agothanks for the free copy you are fine to point out when sumone errs without associating yourself with a genocidal political movement still.. any thoughts on linux ics?
- irishcoffee 12y agoGrammar something nobody will be offended by here: someone.
- justifier 12y agoallow me to avoid further misunderstanding due my brevity and idiosyncratic humor.. I was unoffended by the parent referring to thaemself as a grammar Nazi, my message latent in my response was a genuine appreciation for bringing my error to my attention, and my lament that so much culture is afraid to make a mistake that we shame people who explain correct usage to the point that as a defense people preemptively shame themselves Like I said,'its fine to correct sumone[sic]' Also, sumone was an international mistake intended to make people smile and remind us of our humanity:'to err is to be humen'
- lmm 12y agoUnfortunately every couple of years the popular kids come up with a new half-assed GUI for doing this stuff, but if you stick to the command line then the same simple things that have always worked still work, viz: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Ta-da, basic internet connection sharing is working. (If you want automatic network configuration for the devices that are connecting to your machine, you'll need to install and configure a dhcp server e.g. dhcpd) Edit: oh, no, that won't work, your network device is no longer eth0 because the distros have been messing around with it again. Sorry, I can't help, I moved to FreeBSD years ago to get away from this crap.
- Phrodo_00 12y agoHas anyone tried the bridge support? Can it be used reliably yet? (I sure hope so for a 1.0 release).
- blinkingled 12y agoI am using the one from Fedora 21 which is definitely pre 1.0 and bridge support seems to work fine with KVM. What issues have you had?
- spydum 12y agofairly certain bridging works fine, though it does not support bridging to a teamed interface for some reason (though it can be manually setup)
- platz 12y agoDoes this mean I should switch from wicd? Wicd seemed to install better in xfce/debian environments, but dislikes certain networks when connecting for some reason.
- wldcordeiro 12y agoI'm sure drivers play a part in it but I always found Network Manager to be more inconsistent than WICD.
- tenken 12y agoDoes this support L2TP vpns yet?
- spydum 12y agogot my first real exposure on NetworkManager/nmcli this past week doing some redhat 7 stuff. it turns out that it works quite well. For automation stuff, it definitely beats trying to sed a bunch of ifcfg- files. havent really touched the gui though.
- helper 12y agoRedhat 7? Oh you must mean RHEL 7. Redhat 7.1 was the first distro I ever installed back in 2001. At the time NetworkManager didn't exist.