Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up and Managing NetworkManager #400

Merged
merged 66 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
be3171d
Added DC file and asm file.
harneshalaka Oct 7, 2024
84a3ce7
Added content.
harneshalaka Oct 9, 2024
cd5a651
Added new topics.
harneshalaka Oct 10, 2024
fabd51c
Added new topic.
harneshalaka Oct 10, 2024
4bce66f
Updated content.
harneshalaka Nov 14, 2024
c3a6f96
Updated content.
harneshalaka Nov 14, 2024
8c257e5
Updated.
harneshalaka Nov 15, 2024
44636d1
Added content.
harneshalaka Nov 21, 2024
82d4353
Updated content.
harneshalaka Dec 9, 2024
4ba985b
Updated content.
harneshalaka Dec 11, 2024
9c1e1c8
Updated content.
harneshalaka Dec 12, 2024
53f5632
Updated content.
harneshalaka Dec 12, 2024
ddd7072
Updated document.
harneshalaka Dec 12, 2024
f9630fd
Updated content.
harneshalaka Dec 12, 2024
03c18e8
Fixed error.
harneshalaka Dec 12, 2024
d1686ec
Fixed issues.
harneshalaka Dec 12, 2024
a2e139f
Updated content.
harneshalaka Dec 12, 2024
208e4fd
Updated content.
harneshalaka Dec 13, 2024
716e181
Updated content.
harneshalaka Dec 13, 2024
fb00f4c
Minor editorial changes.
harneshalaka Dec 13, 2024
8df4eed
Fixed feedbacks.
harneshalaka Dec 17, 2024
284c4e4
fix typo in entity
taroth21 Dec 17, 2024
d5f3227
Incorporated PR feedback.
harneshalaka Dec 18, 2024
2662409
Merge branch 'sharne/networkmanager_nmcli' of github.com:SUSE/doc-mod…
harneshalaka Dec 18, 2024
18c1500
Fixed feedback.
harneshalaka Dec 18, 2024
0cf79c8
Updated asm file.
harneshalaka Dec 18, 2024
d24f450
Updated content.
harneshalaka Dec 18, 2024
8136ae6
Updated.
harneshalaka Dec 19, 2024
e662b5a
Updated content.
harneshalaka Dec 19, 2024
dde89c8
Fixed feedbacks.
harneshalaka Dec 19, 2024
091a99c
Fixed feedbacks.
harneshalaka Dec 19, 2024
49f379c
Updated.
harneshalaka Dec 19, 2024
a6640da
Update articles/SLES-networkmanager-nmcli.asm.xml
harneshalaka Dec 19, 2024
d03e44e
Fixed editorial feedback.
harneshalaka Dec 19, 2024
ce5ba77
Apply suggestions from code review
harneshalaka Dec 19, 2024
082f458
Apply suggestions from code review
harneshalaka Dec 19, 2024
9640ac5
Apply suggestions from code review
harneshalaka Dec 19, 2024
3387790
Apply suggestions from code review
harneshalaka Dec 19, 2024
40a385d
Apply suggestions from code review
harneshalaka Dec 19, 2024
483e0c0
Apply suggestions from code review
harneshalaka Dec 19, 2024
65638f1
Update tasks/networkmanager-nmcli-enabledisable.xml
harneshalaka Dec 19, 2024
631056b
Apply suggestions from code review
harneshalaka Dec 19, 2024
63c5923
Apply suggestions from code review
harneshalaka Dec 19, 2024
509895b
Apply suggestions from code review
harneshalaka Dec 19, 2024
9262015
Fixed comments.
harneshalaka Dec 19, 2024
12e0c68
Fixed comments.
harneshalaka Dec 19, 2024
22554d0
fixed comments.
harneshalaka Dec 20, 2024
82e07ba
fixed comments.
harneshalaka Dec 20, 2024
103fa13
fixed comments.
harneshalaka Dec 20, 2024
4a8bb41
fixed comments.
harneshalaka Dec 20, 2024
5c6e60d
Updated.
harneshalaka Dec 20, 2024
97b301f
Apply suggestions from code review
harneshalaka Dec 20, 2024
2dd3cf8
Apply suggestions from code review
harneshalaka Dec 20, 2024
b2d3d1e
Updated.
harneshalaka Dec 20, 2024
36c5c61
Merge branch 'sharne/networkmanager_nmcli' of github.com:SUSE/doc-mod…
harneshalaka Dec 20, 2024
0edd3e9
validate (sorry, my fault)
taroth21 Dec 20, 2024
bcfac82
Apply suggestions from code review
harneshalaka Dec 20, 2024
4c26fe4
Apply suggestions from code review
harneshalaka Dec 20, 2024
8fc67ca
Updated
harneshalaka Dec 20, 2024
56846de
Jh nm comments (#407)
lvicoun Jan 10, 2025
6d46d93
Updated.
harneshalaka Jan 13, 2025
50703bf
Fixed comments.
harneshalaka Jan 16, 2025
de35a70
Apply suggestions from code review
harneshalaka Jan 22, 2025
612164b
Apply suggestions from code review
harneshalaka Jan 22, 2025
1f13c2a
Apply suggestions from code review
harneshalaka Jan 22, 2025
1c4253a
Fixed build error.
harneshalaka Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed issues.
harneshalaka committed Dec 12, 2024
commit d1686ecde5c7398bda18602c8a508550acc488ba
7 changes: 4 additions & 3 deletions articles/SLES-networkmanager-nmcli.asm.xml
Original file line number Diff line number Diff line change
@@ -174,10 +174,11 @@
Basic understanding of managing network connections.
</para>
</listitem>
</varlistentry><varlistentry>
</varlistentry>
<varlistentry>
<term>REQUIREMENTS</term>
<listitem><itemizedlist><listitem><para>A virtual machine to install NetworkManager.</para></listitem> <listitem><para>Another virtual machine on your network to test client functions.</para></listitem></itemizedlist>
</listitem>
<listitem><para>A virtual machine to install NetworkManager and another virtual machine on your network to test client functions.
</para> </listitem>
</varlistentry>
</variablelist>
</abstract>
8 changes: 4 additions & 4 deletions tasks/networkmanager-nmcli-configure.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ in the assembly -->
<abstract>
<para>
NetworkManager is a tool that enables configuring network connections and devices. NetworkManager provides a CLI interface to manage your connections. By using the nmcli interface, you can connect to a particular network, edit a connection, edit a device, and so on. You can configure ethernet connection, Wi-Fi connection, network bonding, network teaming, network bridge, and VPN connection using NetworkManager.
harneshalaka marked this conversation as resolved.
Show resolved Hide resolved
The behavior of NetworkManager is defined in <filename>/etc/NetworkManager/NetworkManager.conf</filename>. You can configure the settings on how NetworkManager must behave such as the connectivity details, logging are saved in the <filename>NetworkManager.conf</filename> file.</para>
The behavior of NetworkManager is defined in <filename>/etc/NetworkManager/NetworkManager.conf</filename>. You can configure the settings on how NetworkManager must behave such as the connectivity details, logging and so on in the <filename>NetworkManager.conf</filename> file.</para>
</abstract>
</info>
<section><title>Configuring NetworkManager behavior</title>
harneshalaka marked this conversation as resolved.
Show resolved Hide resolved
@@ -399,11 +399,11 @@ domains=ALL
<title>Configuring a VPN Connection</title>
harneshalaka marked this conversation as resolved.
Show resolved Hide resolved
<step><para>To install OpenVPN, run the command:</para>
<screen>&prompt.sudo; zypper install networkmanager-openvpn
&prompt.sudo; zypper install openvpn</screen></step>
&prompt.sudo; zypper install openvpn</screen></step>
<step><para>To create a VPN connection, run the following command:</para>
harneshalaka marked this conversation as resolved.
Show resolved Hide resolved
<screen>nmcli connection add type vpn con-name MyOpenVPN ifname -- vpn-type openvpn
nmcli connection modify MyOpenVPN vpn.data "remote=<replaceable>vpn-server-address</replaceable>,username=<replaceable>your-username</replaceable>"
nmcli connection modify MyOpenVPN vpn.secrets "password=<replaceable>your-password</replaceable>"</screen>
nmcli connection modify MyOpenVPN vpn.data "remote=<replaceable>vpn-server-address</replaceable>,username=<replaceable>your-username</replaceable>"
nmcli connection modify MyOpenVPN vpn.secrets "password=<replaceable>your-password</replaceable>"</screen>
</step>
<step><para>To configure DNS settings, run the following command:</para>
<screen>nmcli connection modify MyOpenVPN ipv4.dns "8.8.8.8 8.8.4.4"</screen></step>
12 changes: 11 additions & 1 deletion tasks/networkmanager-nmcli-logging.xml
Original file line number Diff line number Diff line change
@@ -53,7 +53,6 @@ in the assembly -->
<screen>nmcli general logging level INFO domains NONE</screen></step>
</procedure>
<procedure xml:id="view-networkmanager-logs"><title>Viewing NetworkManager logs</title>
<para>The NetworkManager logs are available in the following debug levels:</para>
<step><para>To view the NetworkManager logs, run the following command:</para>
<screen>journalctl -u NetworkManager</screen>
</step>
@@ -63,5 +62,16 @@ in the assembly -->
<step><para>To view specific logs, such as logs related to DHCP, run the following command:</para>
<screen>journalctl -u NetworkManager | grep DHCP</screen>
</step>
<step><para>To save NetworkManager logs to <filename>networkmanager.log</filename> file, run the following command:</para>
<screen>journalctl -u NetworkManager > networkmanager.log</screen>
</step>
<step><para>To save the NetworkManager logs of a specific time to <filename>networkmanager_timerange.log</filename> file, run the following command:</para>
<screen>journalctl -u NetworkManager --since "<replaceable>YYYY-MM-DD HH:MM:SS</replaceable>" --until "<replaceable>YYYY-MM-DD HH:MM:SS</replaceable>" > networkmanager_timerange.log
</screen>
</step>
<step><para>To save the NetworkManager logs with real-time monitoring and save them as and when generated, run the following command:</para>
<screen>journalctl -u NetworkManager -f > <replaceable>live_networkmanager.log</replaceable>
</screen>
</step>
</procedure>
</topic>