forked from ublue-os/bluefin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c743e20
commit 7f5540f
Showing
4 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
system_files/shared/usr/etc/NetworkManager/NetworkManager.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Configuration file for NetworkManager. | ||
# | ||
# See "man 5 NetworkManager.conf" for details. | ||
# | ||
# The directories /usr/lib/NetworkManager/conf.d/ and /run/NetworkManager/conf.d/ | ||
# can contain additional .conf snippets installed by packages. These files are | ||
# read before NetworkManager.conf and have thus lowest priority. | ||
# The directory /etc/NetworkManager/conf.d/ can contain additional .conf | ||
# snippets. Those snippets are merged last and overwrite the settings from this main | ||
# 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] | ||
#plugins=keyfile,ifcfg-rh | ||
|
||
|
||
[logging] | ||
# When debugging NetworkManager, enabling debug logging is of great help. | ||
# | ||
# 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 | ||
|
||
[keyfile] | ||
unmanaged-devices=interface-name:enp*s*v* | ||
unmanaged-devices=interface-name:phys* |
16 changes: 16 additions & 0 deletions
16
system_files/shared/usr/etc/NetworkManager/system-connections/100g.10.nmconnection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[connection] | ||
id=100g.10 | ||
type=vlan | ||
interface-name=100g.10 | ||
|
||
[vlan] | ||
flags=1 | ||
id=10 | ||
parent=100g | ||
|
||
[ipv4] | ||
method=auto | ||
|
||
[ipv6] | ||
addr-gen-mode=stable-privacy | ||
method=auto |
12 changes: 12 additions & 0 deletions
12
system_files/shared/usr/etc/NetworkManager/system-connections/onboard.nmconnection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[connection] | ||
id=Onboard | ||
type=ethernet | ||
autoconnect=false | ||
interface-name=onboard | ||
|
||
[ipv4] | ||
method=auto | ||
|
||
[ipv6] | ||
addr-gen-mode=stable-privacy | ||
method=auto |
3 changes: 3 additions & 0 deletions
3
system_files/shared/usr/etc/udev/rules.d/70-persistent-net.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Rename NICs | ||
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:7c:16:6d:bd:cf", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="onboard" | ||
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="1c:34:da:55:77:04", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="100g" |