Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
923344a847 | ||
|
6e190ca90a | ||
|
2f2a742f10 | ||
|
a1f1f66275 | ||
|
09b242a5c7 | ||
|
56c5baad4e | ||
|
a2390b345b | ||
|
932c700385 | ||
|
2a565aaea6 | ||
|
bb5706276c | ||
|
67c159a277 | ||
|
0211fc9bcf | ||
|
b36fdfe7a1 | ||
|
72bc078e03 | ||
|
54db5813ad |
115
.gitignore
vendored
115
.gitignore
vendored
@ -319,115 +319,6 @@ network-manager-applet-0.8.1.tar.bz2
|
|||||||
/NetworkManager-1.0.4.git20150713.38bf2cb0.tar.bz2
|
/NetworkManager-1.0.4.git20150713.38bf2cb0.tar.bz2
|
||||||
/NetworkManager-1.0.4.tar.xz
|
/NetworkManager-1.0.4.tar.xz
|
||||||
/NetworkManager-1.0.6.tar.xz
|
/NetworkManager-1.0.6.tar.xz
|
||||||
/NetworkManager-1.2.0.tar.xz
|
/NetworkManager-1.0.8.tar.xz
|
||||||
/NetworkManager-1.1.90.tar.xz
|
/NetworkManager-1.0.10.tar.xz
|
||||||
/NetworkManager-1.1.91.tar.xz
|
/NetworkManager-1.0.12.tar.xz
|
||||||
/NetworkManager-1.1.92.tar.xz
|
|
||||||
/NetworkManager-1.1.93.tar.xz
|
|
||||||
/NetworkManager-1.1.94.tar.xz
|
|
||||||
/NetworkManager-1.2.2.tar.xz
|
|
||||||
/NetworkManager-1.3.0.git20160621.072358da.tar.xz
|
|
||||||
/NetworkManager-1.4.0.tar.xz
|
|
||||||
/NetworkManager-1.4.2.tar.xz
|
|
||||||
/NetworkManager-1.5.2.tar.xz
|
|
||||||
/NetworkManager-1.5.3.tar.xz
|
|
||||||
/NetworkManager-1.5.90.tar.xz
|
|
||||||
/NetworkManager-1.6.0.tar.xz
|
|
||||||
/NetworkManager-1.6.2.tar.xz
|
|
||||||
/NetworkManager-1.7.2.tar.xz
|
|
||||||
/NetworkManager-1.7.91.tar.xz
|
|
||||||
/NetworkManager-1.7.92.tar.xz
|
|
||||||
/NetworkManager-1.8.0.tar.xz
|
|
||||||
/NetworkManager-1.8.2.tar.xz
|
|
||||||
/NetworkManager-1.8.4.tar.xz
|
|
||||||
/NetworkManager-1.10.2.tar.xz
|
|
||||||
/NetworkManager-1.10.4.tar.xz
|
|
||||||
/NetworkManager-1.10.6.tar.xz
|
|
||||||
/NetworkManager-1.10.8.tar.xz
|
|
||||||
/NetworkManager-1.11.4.tar.xz
|
|
||||||
/NetworkManager-1.11.90.tar.xz
|
|
||||||
/NetworkManager-1.12.0.tar.xz
|
|
||||||
/NetworkManager-1.12.2.tar.xz
|
|
||||||
/NetworkManager-1.14.0.tar.xz
|
|
||||||
/NetworkManager-1.14.2.tar.xz
|
|
||||||
/NetworkManager-1.14.4.tar.xz
|
|
||||||
/NetworkManager-1.15.90.tar.xz
|
|
||||||
/NetworkManager-1.15.91.tar.xz
|
|
||||||
/NetworkManager-1.16.0.tar.xz
|
|
||||||
/NetworkManager-1.18.0.tar.xz
|
|
||||||
/NetworkManager-1.19.2.tar.xz
|
|
||||||
/NetworkManager-1.19.3.tar.xz
|
|
||||||
/NetworkManager-1.19.5.tar.xz
|
|
||||||
/NetworkManager-1.19.90.tar.xz
|
|
||||||
/NetworkManager-1.20.0.tar.xz
|
|
||||||
/NetworkManager-1.20.2.tar.xz
|
|
||||||
/NetworkManager-1.20.4.tar.xz
|
|
||||||
/NetworkManager-1.21.3.tar.xz
|
|
||||||
/NetworkManager-1.21.90.tar.xz
|
|
||||||
/NetworkManager-1.22.0.tar.xz
|
|
||||||
/NetworkManager-1.22.2.tar.xz
|
|
||||||
/NetworkManager-1.22.4.tar.xz
|
|
||||||
/NetworkManager-1.22.6.tar.xz
|
|
||||||
/NetworkManager-1.22.8.tar.xz
|
|
||||||
/NetworkManager-1.22.10.tar.xz
|
|
||||||
/NetworkManager-1.23.90.tar.xz
|
|
||||||
/NetworkManager-1.23.91.tar.xz
|
|
||||||
/NetworkManager-1.24.0.tar.xz
|
|
||||||
/NetworkManager-1.24.2.tar.xz
|
|
||||||
/NetworkManager-1.25.90.tar.xz
|
|
||||||
/NetworkManager-1.26.0.tar.xz
|
|
||||||
/NetworkManager-1.26.2.tar.xz
|
|
||||||
/NetworkManager-1.27.90.tar.xz
|
|
||||||
/NetworkManager-1.27.91.tar.xz
|
|
||||||
/NetworkManager-1.28.0.tar.xz
|
|
||||||
/NetworkManager-1.29.8.tar.xz
|
|
||||||
/NetworkManager-1.29.9.tar.xz
|
|
||||||
/NetworkManager-1.29.11.tar.xz
|
|
||||||
/NetworkManager-1.29.90.tar.xz
|
|
||||||
/NetworkManager-1.30.0.tar.xz
|
|
||||||
/NetworkManager-1.30.2.tar.xz
|
|
||||||
/NetworkManager-1.31.2.tar.xz
|
|
||||||
/NetworkManager-1.31.3.tar.xz
|
|
||||||
/NetworkManager-1.31.4.tar.xz
|
|
||||||
/NetworkManager-1.31.90.tar.xz
|
|
||||||
/NetworkManager-1.32.0.tar.xz
|
|
||||||
/NetworkManager-1.32.4.tar.xz
|
|
||||||
/NetworkManager-1.32.6.tar.xz
|
|
||||||
/NetworkManager-1.32.8.tar.xz
|
|
||||||
/NetworkManager-1.32.10.tar.xz
|
|
||||||
/NetworkManager-1.32.12.tar.xz
|
|
||||||
/NetworkManager-1.35.1.tar.xz
|
|
||||||
/NetworkManager-1.35.2.tar.xz
|
|
||||||
/NetworkManager-1.35.3.tar.xz
|
|
||||||
/NetworkManager-1.35.4.tar.xz
|
|
||||||
/NetworkManager-1.35.6.tar.xz
|
|
||||||
/NetworkManager-1.35.7.tar.xz
|
|
||||||
/NetworkManager-1.35.90.tar.xz
|
|
||||||
/NetworkManager-1.35.91.tar.xz
|
|
||||||
/NetworkManager-1.35.92.tar.xz
|
|
||||||
/NetworkManager-1.36.0.tar.xz
|
|
||||||
/NetworkManager-1.36.2.tar.xz
|
|
||||||
/NetworkManager-1.36.4.tar.xz
|
|
||||||
/NetworkManager-1.37.3.tar.xz
|
|
||||||
/NetworkManager-1.37.90.tar.xz
|
|
||||||
/NetworkManager-1.37.91.tar.xz
|
|
||||||
/NetworkManager-1.37.92.tar.xz
|
|
||||||
/NetworkManager-1.38.0.tar.xz
|
|
||||||
/NetworkManager-1.39.8.tar.xz
|
|
||||||
/NetworkManager-1.39.10.tar.xz
|
|
||||||
/NetworkManager-1.39.11.tar.xz
|
|
||||||
/NetworkManager-1.39.90.tar.xz
|
|
||||||
/NetworkManager-1.40.0.tar.xz
|
|
||||||
/NetworkManager-1.41.3.tar.xz
|
|
||||||
/NetworkManager-1.41.4.tar.xz
|
|
||||||
/NetworkManager-1.41.5.tar.xz
|
|
||||||
/NetworkManager-1.41.6.tar.xz
|
|
||||||
/NetworkManager-1.41.7.tar.xz
|
|
||||||
/NetworkManager-1.41.8.tar.xz
|
|
||||||
/NetworkManager-1.41.90.tar.xz
|
|
||||||
/NetworkManager-1.41.91.tar.xz
|
|
||||||
/NetworkManager-1.42.0.tar.xz
|
|
||||||
/NetworkManager-1.43.3.tar.xz
|
|
||||||
/NetworkManager-1.43.4.tar.xz
|
|
||||||
/NetworkManager-1.43.5.tar.xz
|
|
||||||
/NetworkManager-1.43.6.tar.xz
|
|
||||||
|
@ -1,8 +1,14 @@
|
|||||||
# This configuration file changes NetworkManager's behavior to
|
# This configuration file, when placed into into
|
||||||
|
# /etc/NetworkManager/conf.d changes NetworkManager's behavior to
|
||||||
# what's expected on "traditional UNIX server" type deployments.
|
# what's expected on "traditional UNIX server" type deployments.
|
||||||
#
|
#
|
||||||
# See "man NetworkManager.conf" for more information about these
|
# See "man NetworkManager.conf" for more information about these
|
||||||
# and other keys.
|
# and other keys.
|
||||||
|
#
|
||||||
|
# Do not edit this file; it will be overwritten on upgrades. If you
|
||||||
|
# want to override the values here, or set additional values, you can
|
||||||
|
# do so by adding another file (eg, "99-local.conf") to this directory
|
||||||
|
# and setting keys there.
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
# Do not do automatic (DHCP/SLAAC) configuration on ethernet devices
|
# Do not do automatic (DHCP/SLAAC) configuration on ethernet devices
|
||||||
|
27
0000-explain-dns1-dns2.patch
Normal file
27
0000-explain-dns1-dns2.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff -up NetworkManager-0.8.2/src/dns-manager/nm-dns-manager.c.explain-dns1-dns2 NetworkManager-0.8.2/src/dns-manager/nm-dns-manager.c
|
||||||
|
--- NetworkManager-0.8.2/src/dns-manager/nm-dns-manager.c.explain-dns1-dns2 2010-10-18 18:44:05.000000000 -0500
|
||||||
|
+++ NetworkManager-0.8.2/src/dns-manager/nm-dns-manager.c 2010-11-03 13:51:56.614584001 -0500
|
||||||
|
@@ -358,7 +358,7 @@ write_resolv_conf (FILE *f, const char *
|
||||||
|
|
||||||
|
str = g_string_new ("");
|
||||||
|
|
||||||
|
- if (nameservers) {
|
||||||
|
+ if (nameservers && g_strv_length (nameservers)) {
|
||||||
|
int num = g_strv_length (nameservers);
|
||||||
|
|
||||||
|
for (i = 0; i < num; i++) {
|
||||||
|
@@ -374,6 +374,14 @@ write_resolv_conf (FILE *f, const char *
|
||||||
|
g_string_append (str, nameservers[i]);
|
||||||
|
g_string_append_c (str, '\n');
|
||||||
|
}
|
||||||
|
+ } else {
|
||||||
|
+ g_string_append_printf (str, "\n\n%s%s%s%s%s%s",
|
||||||
|
+ "# No nameservers found; try putting DNS servers into your\n",
|
||||||
|
+ "# ifcfg files in /etc/sysconfig/network-scripts like so:\n",
|
||||||
|
+ "#\n",
|
||||||
|
+ "# DNS1=xxx.xxx.xxx.xxx\n",
|
||||||
|
+ "# DNS2=xxx.xxx.xxx.xxx\n",
|
||||||
|
+ "# DOMAIN=lab.foo.com bar.foo.com\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
nameservers_str = g_string_free (str, FALSE);
|
27
0001-wifi-hack-for-wext-devices.patch
Normal file
27
0001-wifi-hack-for-wext-devices.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 70c0defe753bc98ac75725cc32a84b36f32258e4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Francesco Giudici <fgiudici@redhat.com>
|
||||||
|
Date: Fri, 11 Mar 2016 09:55:39 +0100
|
||||||
|
Subject: [PATCH] wifi: hack for wext devices reporting IW_MODE_AUTO
|
||||||
|
configuration mode.
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=763388
|
||||||
|
(cherry picked from commit 0f6febc6fbeafde62e6e0a8c12f57204d94166fb)
|
||||||
|
---
|
||||||
|
src/platform/wifi/wifi-utils-wext.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/platform/wifi/wifi-utils-wext.c b/src/platform/wifi/wifi-utils-wext.c
|
||||||
|
index 470b73d..14a16ec 100644
|
||||||
|
--- a/src/platform/wifi/wifi-utils-wext.c
|
||||||
|
+++ b/src/platform/wifi/wifi-utils-wext.c
|
||||||
|
@@ -122,6 +122,7 @@ wifi_wext_get_mode (WifiData *data)
|
||||||
|
case IW_MODE_MASTER:
|
||||||
|
return NM_802_11_MODE_AP;
|
||||||
|
case IW_MODE_INFRA:
|
||||||
|
+ case IW_MODE_AUTO: /* hack for WEXT devices reporting IW_MODE_AUTO */
|
||||||
|
return NM_802_11_MODE_INFRA;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
--
|
||||||
|
2.5.5
|
||||||
|
|
11
10-ibft-plugin.conf
Normal file
11
10-ibft-plugin.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# This file enables the standalone 'iBFT' settings plugin to read
|
||||||
|
# iBFT information with iscsiadm and create connections from that
|
||||||
|
# data.
|
||||||
|
#
|
||||||
|
# Do not edit this file; it will be overwritten on upgrades. If you
|
||||||
|
# want to override the values here, or set additional values, you can
|
||||||
|
# do so by adding another file (eg, "99-local.conf") to this directory
|
||||||
|
# and setting keys there.
|
||||||
|
|
||||||
|
[main]
|
||||||
|
plugins+=ibft
|
@ -1,10 +1,4 @@
|
|||||||
# Enable connectivity checking for NetworkManager.
|
|
||||||
# See `man NetworkManager.conf`.
|
|
||||||
#
|
|
||||||
# Note that connectivity checking works badly with rp_filter set to
|
|
||||||
# strict. Check "/proc/sys/net/ipv4/conf/*/rp_filter".
|
|
||||||
[connectivity]
|
[connectivity]
|
||||||
enabled=true
|
|
||||||
uri=http://fedoraproject.org/static/hotspot.txt
|
uri=http://fedoraproject.org/static/hotspot.txt
|
||||||
response=OK
|
response=OK
|
||||||
interval=300
|
interval=300
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
# Enable connectivity checking for NetworkManager.
|
|
||||||
# See `man NetworkManager.conf`.
|
|
||||||
#
|
|
||||||
# Note that connectivity checking works badly with rp_filter set to
|
|
||||||
# strict. Check "/proc/sys/net/ipv4/conf/*/rp_filter".
|
|
||||||
[connectivity]
|
|
||||||
enabled=true
|
|
||||||
uri=http://static.redhat.com/test/rhel-networkmanager.txt
|
|
||||||
response=OK
|
|
||||||
interval=300
|
|
@ -1,15 +0,0 @@
|
|||||||
# The Strict mode of RFC3704 Reverse Path filtering breaks some pretty
|
|
||||||
# common and reasonable use cases.
|
|
||||||
#
|
|
||||||
# Notably, it makes it impossible for NetworkManager to do connectivity
|
|
||||||
# check on a newly arriving default route (it starts with a higher metric
|
|
||||||
# and is bumped lower if there's connectivity).
|
|
||||||
#
|
|
||||||
# Kernel's default is 0 (no filter), systemd configures a Loose filter since
|
|
||||||
# commit 230450d4e4f1 ('sysctl.d: switch net.ipv4.conf.all.rp_filter from 1
|
|
||||||
# to 2'). However, RHEL systemd package happens to default to Strict mode
|
|
||||||
# for historic reasons. Let's override it if we're doing connectivity
|
|
||||||
# checking.
|
|
||||||
|
|
||||||
# Source route verification
|
|
||||||
net.ipv4.conf.all.rp_filter = 0
|
|
@ -2,51 +2,14 @@
|
|||||||
#
|
#
|
||||||
# See "man 5 NetworkManager.conf" for details.
|
# See "man 5 NetworkManager.conf" for details.
|
||||||
#
|
#
|
||||||
# The directories /usr/lib/NetworkManager/conf.d/ and /run/NetworkManager/conf.d/
|
# The directory /etc/NetworkManager/conf.d/ can contain additional configuration
|
||||||
# can contain additional .conf snippets installed by packages. These files are
|
# snippets that are installed by some packages. Those snippets override the
|
||||||
# read before NetworkManager.conf and have thus lowest priority.
|
# settings from this main file.
|
||||||
# The directory /etc/NetworkManager/conf.d/ can contain additional .conf
|
# To override a configuration from a conf.d/ snippet, add another configuration
|
||||||
# snippets. Those snippets are merged last and overwrite the settings from this main
|
# with a name sorted lastly (such as 99-my.conf).
|
||||||
# file.
|
|
||||||
#
|
|
||||||
# The files within one conf.d/ directory are read in asciibetical order.
|
|
||||||
#
|
|
||||||
# You can prevent loading a file /usr/lib/NetworkManager/conf.d/NAME.conf
|
|
||||||
# by having a file NAME.conf in either /run/NetworkManager/conf.d/ or /etc/NetworkManager/conf.d/.
|
|
||||||
# Likewise, snippets from /run can be prevented from loading by placing
|
|
||||||
# a file with the same name in /etc/NetworkManager/conf.d/.
|
|
||||||
#
|
|
||||||
# If two files define the same key, the one that is read afterwards will overwrite
|
|
||||||
# the previous one.
|
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
#plugins=keyfile,ifcfg-rh
|
plugins=ifcfg-rh,ibft
|
||||||
|
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
# When debugging NetworkManager, enabling debug logging is of great help.
|
#level=DEBUG
|
||||||
#
|
|
||||||
# Logfiles contain no passwords and little sensitive information. But please
|
|
||||||
# check before posting the file online. You can also personally hand over the
|
|
||||||
# logfile to a NM developer to treat it confidential. Meet us on #nm on Libera.Chat.
|
|
||||||
#
|
|
||||||
# You can also change the log-level at runtime via
|
|
||||||
# $ nmcli general logging level TRACE domains ALL
|
|
||||||
# However, usually it's cleaner to enable debug logging
|
|
||||||
# in the configuration and restart NetworkManager so that
|
|
||||||
# debug logging is enabled from the start.
|
|
||||||
#
|
|
||||||
# You will find the logfiles in syslog, for example via
|
|
||||||
# $ journalctl -u NetworkManager
|
|
||||||
#
|
|
||||||
# Please post full logfiles for bug reports without pre-filtering or truncation.
|
|
||||||
# Also, for debugging the entire `journalctl` output can be interesting. Don't
|
|
||||||
# limit unnecessarily with `journalctl -u`. Exceptions are if you are worried
|
|
||||||
# about private data. Check before posting logfiles!
|
|
||||||
#
|
|
||||||
# Note that debug logging of NetworkManager can be quite verbose. Some messages
|
|
||||||
# might be rate-limited by the logging daemon (see RateLimitIntervalSec, RateLimitBurst
|
|
||||||
# in man journald.conf). Please disable rate-limiting before collecting debug logs!
|
|
||||||
#
|
|
||||||
#level=TRACE
|
|
||||||
#domains=ALL
|
|
||||||
|
1948
NetworkManager.spec
1948
NetworkManager.spec
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
|||||||
NetworkManager stores new network profiles in keyfile format in the
|
|
||||||
/etc/NetworkManager/system-connections/ directory.
|
|
||||||
|
|
||||||
Previously, NetworkManager stored network profiles in ifcfg format
|
|
||||||
in this directory (/etc/sysconfig/network-scripts/). However, the ifcfg
|
|
||||||
format is deprecated. By default, NetworkManager no longer creates
|
|
||||||
new profiles in this format.
|
|
||||||
|
|
||||||
Connection profiles in keyfile format have many benefits. For example,
|
|
||||||
this format is INI file-based and can easily be parsed and generated.
|
|
||||||
|
|
||||||
Each section in NetworkManager keyfiles corresponds to a NetworkManager
|
|
||||||
setting name as described in the nm-settings(5) and nm-settings-keyfile(5)
|
|
||||||
man pages. Each key-value-pair in a section is one of the properties
|
|
||||||
listed in the settings specification of the man page.
|
|
||||||
|
|
||||||
If you still use network profiles in ifcfg format, consider migrating
|
|
||||||
them to keyfile format. To migrate all profiles at once, enter:
|
|
||||||
|
|
||||||
# nmcli connection migrate
|
|
||||||
|
|
||||||
This command migrates all profiles from ifcfg format to keyfile
|
|
||||||
format and stores them in /etc/NetworkManager/system-connections/.
|
|
||||||
|
|
||||||
Alternatively, to migrate only a specific profile, enter:
|
|
||||||
|
|
||||||
# nmcli connection migrate <profile_name|UUID|D-Bus_path>
|
|
||||||
|
|
||||||
For further details, see:
|
|
||||||
* nm-settings-keyfile(5)
|
|
||||||
* nmcli(1)
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (NetworkManager-1.43.6.tar.xz) = e1d898d3e6154018defcf189bc017a962ed93b9f5d7bafd90642cd70f9bbd4885874b24f716d524e52cf9e44c7ba338e3c416e78bd7b6ec6eaa1cb5066244504
|
ebb273456a81ccf9dfaf2461061b0e96 NetworkManager-1.0.12.tar.xz
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
# Tests for NetworkManager
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
repositories:
|
|
||||||
- repo: "https://github.com/NetworkManager/NetworkManager-ci"
|
|
||||||
dest: "NetworkManager-ci"
|
|
||||||
tests:
|
|
||||||
- sanity-tests:
|
|
||||||
dir: NetworkManager-ci
|
|
||||||
run: run/osci/run-tests fedora28
|
|
Loading…
Reference in New Issue
Block a user