- 28 May, 2013 11 commits
-
-
Dan Williams authored
If the connection doesn't yet have a conn_name, that means it's not yet saved to disk.
-
Dan Williams authored
We'll need this for later with unsaved connections. The ifnet plugin previously tracked connections by the "conn_name" which was derived from keys in the /etc/conf.d/net file. These keys take two forms: 1) interface name config_eth0=( "192.168.4.121/24" "dhcp6" ) 2) wifi SSID, either text or hex-encoded: config_myssid=("dhcp") config_0xab3ace=("dhcp") The conf.d net connection name is apparently usually an interface name, so when writing to /etc/conf.d/net the NM connection name is changed from eg "Ethernet connection 1" to the next available interface name based on the type of connection, eg "eth0". The ifnet plugin actively removed connections that were not present in /etc/conf.d/net during the reload_connections() call, but in the future we'll want to allow unsaved connections which in the case of ifnet clearly won't yet be written to the file. Since only connections written to the file have a "conn_name", tracking connections by conn_name no longer works.
-
Dan Williams authored
-
Dan Williams authored
We'll need this for later with unsaved connections.
-
Dan Williams authored
-
Dan Williams authored
We'll need this for later with unsaved connections.
-
Dan Williams authored
Use the new NMConnection 'changed' signal to mark connections as dirty/unsaved, and reset that when they get flushed to disk. Previously, the 'Updated' signal was emitted only when the connection was changed and flushed to disk, but now we have more granular needs, and the signal is emitted whenever the connection actually *is* changed, regardless of whether its flushed to disk or not.
-
Dan Williams authored
-
Dan Williams authored
Emitted whenever settings are added or removed from the connection, and whenever any property of any setting in the connection is changed.
-
Dan Williams authored
-
Jiří Klimeš authored
-
- 27 May, 2013 3 commits
-
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
- 24 May, 2013 13 commits
-
-
Shantha kumar authored
-
Gabor Kelemen authored
-
Jiří Klimeš authored
-
Jiří Klimeš authored
-
-
Dan Winship authored
Rather than having a bunch of udev-based tests, use nm_platform_link_get_type() to categorize devices. Incomplete, as NMPlatform still categorizes most hardware types as "ETHERNET", so we still need udev-based tests for those. https://bugzilla.gnome.org/show_bug.cgi?id=687254
-
Pavel Šimerda authored
-
Pavel Šimerda authored
Use nm-platform instead.
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
Jiří Klimeš authored
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
- 23 May, 2013 6 commits
-
-
Pavel Šimerda authored
This reverts commit 8489994e.
-
Pavel Šimerda authored
This reverts commit 01b95ef2.
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
Pavel Šimerda authored
-
- 22 May, 2013 1 commit
-
-
Martin Pitt authored
Add hidden command line option --run-from-build-dir; with that, helpers like nm-avahi-autoipd.action and nm-dhcp-helper will be called from the build tree instead of libexecdir, which allows testing without having to install first. Helper paths are now stored in global variables instead of macros, and get modified with that new option. https://bugzilla.gnome.org/show_bug.cgi?id=698752
-
- 21 May, 2013 3 commits
-
-
Dan Winship authored
Add single-letter options for --version, --no-daemon, --debug, and --pid-file (and document them, as well as the existing single-letter option for --help). https://bugzilla.gnome.org/show_bug.cgi?id=700550
-
Dan Winship authored
When run with --no-daemon, NM used to duplicate all syslog output to stderr, for ease of debugging. But this meant it had to tell systemd to ignore stderr, so you wouldn't get duplicated log entries. But that meant we lost error messages that didn't go through nm_log. (eg, g_warning()s and g_return_if_fail()s). Fix this by making --no-daemon no longer duplicate syslog output to stderr, and removing the "StandardError=null" from the systemd service file. To get the old behavior, you can use --debug instead of --no-daemon. https://bugzilla.gnome.org/show_bug.cgi?id=700550
-
-
- 20 May, 2013 3 commits
-
-
Dan Winship authored
nm_device_state_changed() had a check to make sure it wasn't entered recursively (which had been a source of bugs in the past), but it was global rather than per-device, so it caused errors when VLANs changed state in response to their parent device changing state. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=698619
-
Dan Winship authored
Some devices aren't expected to support carrier detection, so there's no reason to have NMDevice log about it. Move that message into NMDeviceEthernet, where failure to support carrier-detect really is worth mentioning. Also, make NMDeviceEthernet use NMPlatform for carrier-detection detection (and move the MII carrier-detect-support check from NMDeviceEthernet into NMLinuxPlatform). Finally, have NMDeviceGeneric actually check whether the device supports carrier detect, rather than just always assuming it doesn't.
-
Dan Williams authored
This is really, really old 2007-era code. Any NMDevice that gets created is already supported, so there's no reason to have every device set NM_DEVICE_CAP_NM_SUPPORTED. For those subclasses that only set that capability, we can remove the subclass method entirely. Next, it turns out that the "type capabilities" code wasn't used anywhere, so remove that too. Lastly, "cipsec" interfaces haven't been used on linux in about 5 years (they were created by the Cisco binary-only IPSec kernel module for Cisco VPNs long before vpnc and openswan came around) so we can remove that code too.
-