LWN.net Logo

Udev and systemd to merge

Udev and systemd to merge

Posted Apr 4, 2012 15:01 UTC (Wed) by mathstuf (subscriber, #69389)
In reply to: Udev and systemd to merge by cortana
Parent article: Udev and systemd to merge

> NetworkManager is actually becoming pretty awesome. It's great to be able to e.g., quickly configure my laptop for "internet connection sharing" with just a few clicks.

Unfortunately, a feature[1] (though I consider it a bug) which is a blocker for me is still present.

Basically, I'd like to be able to set a wireless network as "flaky" so that if the connection drops, NM silently retries in the background continually instead of dropping the connection and *then* trying to reconnect. NM-aware applications tend to freak out if this happens every 5 minutes or so. Another use case is when moving around and one network is out of range temporarily in the presence of another known network (personal wireless, which is vastly preferred, versus campus wireless in my case). Going between floors takes me out of range of the my wireless, but the end points are both within range. I'd like to be able to tell NM that, but AFAIK, it will drop the connection, pick up the campus wireless and then not drop it when my wireless comes back into range because the campus connection is still there.

Of course, being able to create connections with nmcli would be nice too (unless it's a recent change, I haven't found out how to give it passwords and such for new wireless networks and instead have to launch nm-applet to create the connection which can then be managed with nmcli).

Currently, I just use ifcfg scripts for connections and wpa_supplicant.conf for wireless network configuration.

[1]There's a bug open somewhere for it, but I can't find it right now.


(Log in to post comments)

Udev and systemd to merge

Posted Apr 4, 2012 16:40 UTC (Wed) by drag (subscriber, #31333) [Link]

> Of course, being able to create connections with nmcli would be nice too (unless it's a recent change, I haven't found out how to give it passwords and such for new wireless networks and instead have to launch nm-applet to create the connection which can then be managed with nmcli).

You edit your own keyfile and then copy it to /etc/NetworkManager/system-connections/. NetworkManager watches that directory and should pick up on changes to configs automatically.

Although it's usually easier to use the nm-applet to make something so you have a config to work on when you want to make changes in the future.

Udev and systemd to merge

Posted Apr 4, 2012 16:46 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

Right, this is something I don't see why nmcli can't help with. A subcommand like "nmcli dump-config essid 'some_wireless_network'" to get a barebones keyfile which can then be edited should be possible.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds