-
Notifications
You must be signed in to change notification settings - Fork 15
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
e662b5a
commit dde89c8
Showing
6 changed files
with
196 additions
and
135 deletions.
There are no files selected for viewing
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
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,118 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic | ||
[ | ||
<!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
%entities; | ||
]> | ||
<!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
<!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
<!-- refer to README.md for file and id naming conventions --> | ||
<!-- metadata is dealt with on the assembly level --> | ||
<topic xml:id="networkmanager-nm-modify" | ||
role="reference" xml:lang="en" | ||
xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
xmlns:its="http://www.w3.org/2005/11/its" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:trans="http://docbook.org/ns/transclusion"> | ||
<info> | ||
<title>Modifying Network Connection</title> | ||
<!-- can be changed via merge in the assembly --> | ||
<!--add author's email address--> | ||
<meta name="maintainer" content="[email protected]" its:translate="no"/> | ||
<abstract> | ||
<!-- can be changed via merge in the assembly --> | ||
<para>You can use the <command>nmcli connection modify</command> command to modify network connections.</para> | ||
<para> | ||
You can set a static IP address, DNS server, Gateway, change connection name, change Wi-Fi SSID for Wi-Fi connections, and enable or disable autoconnect using the <command>nmcli connection modify</command> command. | ||
</para> | ||
</abstract> | ||
</info> | ||
<section xml:id="sec-networkmanager-modify-connections"> | ||
<title>Modify Network Connections</title> | ||
<para>You can use the following commands to modify network connections.</para> | ||
<variablelist> | ||
<varlistentry> | ||
<term>View the list of connections</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify</command> to view the list of available active network connections appear with the names and UUIDs.</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>View the list of all network interfaces</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli monitor</command>.</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Modify a connection</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> <replaceable>PROPERTY</replaceable> <replaceable>VALUE</replaceable></command></para> | ||
<para>Or</para> | ||
<para><command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> ipv4.method manual | ||
</command></para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Set DNS servers</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> ipv4.dns "8.8.8.8 8.8.4.4"</command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Set gateway</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> ipv4.gateway <replaceable>GATEWAY-IP</replaceable></command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Change connection name</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>OLD-CONNECTION-NAME</replaceable> connection.id <replaceable>NEW-CONNECTION-NAME</replaceable></command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Modify the Wi-Fi SSID</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> 802-11-wireless.ssid <replaceable>NEW-SSID</replaceable></command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Enable autoconnect</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> connection.autoconnect yes</command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Disable autoconnect</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection modify <replaceable>CONNECTION-NAME</replaceable> connection.autoconnect no</command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Apply the changes, bring the network connection down and then up</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection down <replaceable>CONNECTION-NAME</replaceable> | ||
nmcli connection up <replaceable>CONNECTION-NAME</replaceable></command> | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
</section> | ||
</topic> |
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,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE topic | ||
[ | ||
<!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
%entities; | ||
]> | ||
<!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
<!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
<!-- refer to README.md for file and id naming conventions --> | ||
<!-- metadata is dealt with on the assembly level --> | ||
<topic xml:id="networkmanager-nm-monitor" | ||
role="reference" xml:lang="en" | ||
xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
xmlns:its="http://www.w3.org/2005/11/its" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:trans="http://docbook.org/ns/transclusion"> | ||
<info> | ||
<title>Monitoring Network Connection</title> | ||
<!-- can be changed via merge in the assembly --> | ||
<!--add author's email address--> | ||
<meta name="maintainer" content="[email protected]" its:translate="no"/> | ||
<abstract><!-- can be changed via merge in the assembly --> | ||
<para> | ||
You use the <command>nmcli</command> command to view the status, activity and details of network connections managed by &nm;.</para> | ||
</abstract> | ||
</info> | ||
<section xml:id="sec-networkmanager-modify-connections"> | ||
<title>Monitor Network Connections</title> | ||
<para>You can use the following commands to monitor network connections.</para> | ||
<variablelist> | ||
<varlistentry> | ||
<term>View the list of available active connections</term> | ||
<listitem> | ||
<para><command>nmcli connection show --active</command></para></listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>View the status of all network interfaces</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli monitor</command>.</para> | ||
<para>The real-time updates about the network states and connections appear.</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>View details of a specific network connection</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli connection show <replaceable>CONNECTION-NAME</replaceable></command></para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>Monitor the status of network devices</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli device</command> | ||
</para> | ||
<para>The list of all network devices with device name, type, state and connection name appears.</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>View the signal strength of Wi-Fi connections</term> | ||
<listitem> | ||
<para> | ||
<command>nmcli device wifi list</command> | ||
</para> | ||
<para>The list of available Wi-Fi networks with SSID, signal strength % and security type appears.</para> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
</section> | ||
</topic> |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:trans="http://docbook.org/ns/transclusion"> | ||
<info> | ||
<title>Installing and Configuring &nm;</title><!-- can be changed via merge | ||
<title>Installing &nm;</title><!-- can be changed via merge | ||
in the assembly --> | ||
<!-- add author's e-mail --> | ||
<meta name="maintainer" content="[email protected]" its:translate="no"/> | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.