add network utils readme

This commit is contained in:
kouhuiying 2021-09-09 09:53:39 +08:00
parent 3fb58519bf
commit 4efa94083f
7 changed files with 305 additions and 16 deletions

View File

@ -1,22 +1,104 @@
# dde-network-utils
#### Description
dde network utils
dde network settings.After login, you need to connect to a network first and then surf the Internet!
#### Software Architecture
Software architecture description
ALL
#### Installation
1. xxxx
2. xxxx
3. xxxx
dnf install dde-network-utils
#### Instructions
1. xxxx
2. xxxx
3. xxxx
Check your network status by clicking the network icon in Dock.
![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/54.png)
1. Wired Network
Wired network is secure and stable, which makes it the most common way to connect to the Internet. After your router is set, connect both ends of the network cable to the computer and router to connect to a wired network.
1) Plug the cable into the network slot of a computer.
2) Plug another end of the cable into the router or network port.
3) On the homepage of Control Center, click![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
4) Click **Wired Network** to enter the setting page of wired network.
5) Switch on **Wired Network Adapter** to enable wired network.
6) If it is successfully connected to the network, there will be a prompt **Wired Connection connected**.
You can also edit and add a new wired network in the setting page.
2. DSL/PPPoE Connections
DSL is a dial-up connection using a standard phone line and analog modem to access the Internet. Configure the modem, plug the telephone line into the network interface of the computer, create a broadband dial-up connection, and enter the user name and password provided by the operator to dial up the Internet.
Create a PPPoE Connection:
1) On the homepage of Control Center, click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
2) Click **DSL**.
3) Click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon50-o.svg).
4) Enter the name, your account and password the operator provides.
5) Click **Save**. The connection will automatically start.
3. VPN
VPN is a virtual private network. Its main function is to establish a private network on the public network for encrypted communication. Whether you are on a business trip or working at home, you can use VPN to access intranet resources as long as you can access the Internet. You can also use VPN to speed up access to websites in other countries.
1) On the homepage of Control Center, click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
2) Click **VPN**, and click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon50-o.svg)or ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon84-o.svg).
3) Select the VPN protocol type, and enter the name, gateway, account, password and other information. (Importing VPN will automatically fill in information)
4) Click **Save**, the system will try to connect VPN network automatically.
5) You can export the VPN settings to backup or share with other users.
> ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon99-o.svg)Notes: *If you don't want to use the VPN as the default routing, but only want it to take effect on specific network resources, switch on **Only applied in corresponding resources**.*
4. System Proxy
1) On the homepage of Control Center, click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
2) Click **System Proxy**.
3) Click **None** and **Save** to disable the proxy.
4) Click **Manual** and input the address and port of proxy servers.
5) Click **Auto** and input a URL to configure the proxy info.
5. Application Proxy
1) On the homepage of Control Center, click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
2) Click **Application Proxy**.
3) Select a proxy type, and fill in the IP address, port, etc.
4) Click **Save** to save the proxy settings.
> ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon99-o.svg)Notes: *After being configured, run Launcher, right-click any application's icon and check **Use a proxy**, and then the application will be opened by proxy.*
6. Network Info
You can view MAC, IP address, gateway and other network info in network details.
1) On the homepage of Control Center, click ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg).
2) Click **Network Details**.
3) View the network info of the current network.
#### Contribution

View File

@ -1,23 +1,105 @@
# dde-network-utils
#### 介绍
dde network utils
dde网络设置,登录系统后,您需要连接网络,才能接收邮件、浏览新闻、下载文件、聊天、网上购物等。
#### 软件架构
软件架构说明
全平台
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
dnf install dde-network-utils
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
您可以通过打开控制中心-网络,查看当前网络状态。
![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/54.png)
1. 有线网络
有线网络安全快速稳定,是最常见的网络连接方式。当您设置好路由器后,把网线两端分别插入电脑和路由器,即可连接有线网络。
1将网线插入电脑上的网络插孔。
2将网线的另一端插入路由器或网络端口。
3在控制中心首页单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg)。
4单击**有线网络**,进入有线网络设置界面。
5打开**有线网卡**,开启有线网络连接功能。
6当网络连接成功后桌面右上角将弹出**已连接有线连接**的提示信息。
您还可以在有线网络的设置界面,编辑或新建有线网络设置。
2. 拨号网络DSL
拨号上网DSL是指通过本地电话拨号连接到网络的连接方式。配置好调制解调器把电话线插入电脑的网络接口创建宽带拨号连接输入运营商提供的用户名和密码即可拨号连接到Internet上。
新建拨号连接步骤:
1在控制中心首页点击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg)。
2单击**DSL**,单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon50-o.svg)。
3输入宽带名称、帐户、密码。
4单击**保存**,系统自动创建宽带连接并尝试连接。
3. VPN
VPN即虚拟专用网络其主要功能是在公用网络上建立专用网络进行加密通讯。无论您是在外地出差还是在家中办公只要能上网就能利用VPN访问企业的内网资源。您还可以使用VPN加速访问其他国家的网站。
1在控制中心首页单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg) 。
2点击**VPN**,选择![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon50-o.svg)或者![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon84-o.svg)。
3选择VPN协议类型并输入名称、网关、帐号、密码等信息。导入VPN会自动填充信息
4点击**保存**系统自动尝试连接VPN网络。
5您可以将VPN设置导出备用或共享给其他用户。
> ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon99-o.svg)说明:*打开 **仅用于相对应的网络上的资源** 开关可以不将VPN设置为默认路由只在特定的网络资源上生效。*
4. 系统代理
1在控制中心首页单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg)。
2单击 **系统代理**,进入系统代理界面。
3单击**无**,关闭代理服务器功能。
4单击**手动**,输入代理服务器的地址和端口信息。
5单击**自动**输入URL系统将自动配置代理服务器的信息。
5. 应用代理
1在控制中心首页单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg)。
2单击**应用代理**。
3设置应用代理参数。
4单击**保存**。
> ![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon99-o.svg)说明:*应用代理设置成功后,打开启动器,右键单击应用图标,可以选择 **使用代理**。*
6. 网络详情
在网络详情界面您可以查看MAC、IP地址、网关和其他网络信息。
1在控制中心首页单击![](/home/coco/Desktop/kouhuiying/01_test/02_testcase/dde-network-utils/images/icon97-o.svg)。
2单击**网络详情**,进入网络信息界面。
3查看当前有线网络或无线网络的信息。
#### 参与贡献

BIN
images/54.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

15
images/icon50-o.svg Normal file
View File

@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="57" height="56" viewBox="0 0 57 56">
<defs>
<circle id="circlebutton_add-b" cx="23.5" cy="23.5" r="23.5"/>
<filter id="circlebutton_add-a" width="146.8%" height="146.8%" x="-23.4%" y="-14.9%" filterUnits="objectBoundingBox">
<feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/>
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="3"/>
<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0.17254902 0 0 0 0 0.654901961 0 0 0 0 0.97254902 0 0 0 0.4 0"/>
</filter>
</defs>
<g fill="none" fill-rule="evenodd" transform="translate(5 5)">
<use fill="#000" filter="url(#circlebutton_add-a)" xlink:href="#circlebutton_add-b"/>
<use fill="#0081FF" xlink:href="#circlebutton_add-b"/>
<path fill="#FFF" d="M24,14 L24,23 L33,23 L33,24 L24,24 L24,33 L23,33 L23,24 L14,24 L14,23 L23,23 L23,14 L24,14 Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 988 B

15
images/icon84-o.svg Normal file
View File

@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="59" height="59" viewBox="0 0 59 59">
<defs>
<circle id="circlebutton_import-b" cx="23.5" cy="23.5" r="23.5"/>
<filter id="circlebutton_import-a" width="146.8%" height="146.8%" x="-23.4%" y="-14.9%" filterUnits="objectBoundingBox">
<feOffset dy="4" in="SourceAlpha" result="shadowOffsetOuter1"/>
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="3"/>
<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0.17254902 0 0 0 0 0.654901961 0 0 0 0 0.97254902 0 0 0 0.4 0"/>
</filter>
</defs>
<g fill="none" fill-rule="evenodd" transform="translate(6 2)">
<use fill="#000" filter="url(#circlebutton_import-a)" xlink:href="#circlebutton_import-b"/>
<use fill="#0081FF" xlink:href="#circlebutton_import-b"/>
<path fill="#FFF" d="M24,14 L23.9998254,31.363 L30.5710678,24.7928932 L31.2781746,25.5 L23.5,33.2781746 L15.7218254,25.5 L16.4289322,24.7928932 L22.9998254,31.363 L23,14 L24,14 Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

84
images/icon97-o.svg Normal file
View File

@ -0,0 +1,84 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42" height="42" viewBox="0 0 42 42">
<defs>
<linearGradient id="dcc_nav_network_42px-c" x1="38.951%" x2="66.366%" y1="100%" y2="0%">
<stop offset="0%" stop-color="#11B4DD"/>
<stop offset="100%" stop-color="#40EA98"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-d" x1="50%" x2="50%" y1="0%" y2="98.156%">
<stop offset="0%" stop-color="#27EC95"/>
<stop offset="100%" stop-color="#18E"/>
</linearGradient>
<path id="dcc_nav_network_42px-b" d="M14.0000912,2.5 C12.0677776,2.5 10.2494248,2.86458337 8.54497666,3.59375712 C6.84053206,4.32293087 5.35485988,5.32097638 4.08791813,6.58791813 C2.82097568,7.85485988 1.82293227,9.34053206 1.09375712,11.0449767 C0.364581975,12.7494248 0,14.5677776 0,16.5000912 C0,18.4324048 0.364581975,20.2507576 1.09375712,21.9552057 C1.82293227,23.6596503 2.82097568,25.1453225 4.08791813,26.4122643 C5.35485988,27.6792067 6.84053206,28.6772501 8.54497666,29.4064253 C10.2494248,30.1356004 12.0677776,30.5001824 14.0000912,30.5001824 C15.9324048,30.5001824 17.7507576,30.1356004 19.4552057,29.4064253 C21.1596503,28.6772501 22.6453225,27.6792067 23.9122643,26.4122643 C25.179206,25.1453225 26.1772515,23.6596503 26.9064253,21.9552057 C27.635599,20.2507576 28.0001824,18.4324048 28.0001824,16.5000912 C28.0001824,14.5677776 27.635599,12.7494248 26.9064253,11.0449767 C26.1772515,9.34053206 25.179206,7.85485988 23.9122643,6.58791813 C22.6453225,5.32097638 21.1596503,4.32293087 19.4552057,3.59375712 C17.7507576,2.86458337 15.9324048,2.5 14.0000912,2.5 L14.0000912,2.5 Z"/>
<filter id="dcc_nav_network_42px-a" width="150%" height="150%" x="-25%" y="-17.9%" filterUnits="objectBoundingBox">
<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/>
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/>
<feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/>
<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0.878431373 0 0 0 0 1 0 0 0 0.3 0"/>
</filter>
<linearGradient id="dcc_nav_network_42px-e" x1="50%" x2="50%" y1="100%" y2="0%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".176"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-f" x1="50%" x2="50%" y1="39.476%" y2="100%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".161"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-g" x1="50%" x2="50%" y1="39.476%" y2="100%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".161"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-h" x1="50%" x2="50%" y1="100%" y2="39.476%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".161"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-i" x1="50%" x2="50%" y1="100%" y2="0%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".176"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<linearGradient id="dcc_nav_network_42px-j" x1="50%" x2="50%" y1="0%" y2="100%">
<stop offset="0%" stop-color="#FFF" stop-opacity=".176"/>
<stop offset="100%" stop-color="#FFF"/>
</linearGradient>
<radialGradient id="dcc_nav_network_42px-k" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
<stop offset="0%" stop-color="#FFF"/>
<stop offset="44.575%" stop-color="#FFF"/>
<stop offset="100%" stop-color="#FFF" stop-opacity="0"/>
</radialGradient>
<linearGradient id="dcc_nav_network_42px-l" x1="25.613%" x2="50%" y1="12.611%" y2="100%">
<stop offset="0%" stop-color="#FFF"/>
<stop offset="100%" stop-color="#FFF" stop-opacity=".163"/>
</linearGradient>
</defs>
<g fill="none" fill-rule="evenodd" transform="translate(8 5)">
<g fill-rule="nonzero">
<use fill="#000" filter="url(#dcc_nav_network_42px-a)" xlink:href="#dcc_nav_network_42px-b"/>
<path fill="url(#dcc_nav_network_42px-c)" fill-rule="evenodd" stroke="url(#dcc_nav_network_42px-d)" stroke-linejoin="square" d="M14.0000912,3 C12.134678,3 10.3832567,3.35116245 8.74163949,4.05345674 C7.09527523,4.75778329 5.66295784,5.7199852 4.44147142,6.94147162 C3.21998685,8.16295551 2.25778597,9.59527213 1.55345675,11.2416395 C0.851162032,12.8832545 0.5,14.6346754 0.5,16.5000912 C0.5,18.365507 0.851162032,20.1169279 1.5534566,21.7585426 C2.25778597,23.4049103 3.21998685,24.8372269 4.44147162,26.058711 C5.66295551,27.2801955 7.09527213,28.2423964 8.74163946,28.9467256 C10.3832545,29.6490204 12.1346754,30.0001824 14.0000912,30.0001824 C15.865507,30.0001824 17.6169279,29.6490204 19.2585426,28.9467258 C20.9049103,28.2423964 22.3372269,27.2801955 23.5587109,26.0587109 C24.7801972,24.8372245 25.7423991,23.4049072 26.4467255,21.7585432 C27.1490199,20.1169257 27.5001824,18.3655044 27.5001824,16.5000912 C27.5001824,14.634678 27.1490199,12.8832567 26.4467257,11.2416395 C25.7423991,9.59527523 24.7801972,8.16295784 23.5587109,6.94147152 C22.3372245,5.7199852 20.9049072,4.75778329 19.2585432,4.05345688 C17.6169257,3.35116245 15.8655044,3 14.0000912,3 Z"/>
</g>
<g transform="translate(0 4.5)">
<ellipse cx="15.726" cy="5.748" stroke="url(#dcc_nav_network_42px-e)" rx="12.248" ry="2.5" transform="rotate(15 15.726 5.748)"/>
<ellipse cx="17.786" cy="16.868" stroke="url(#dcc_nav_network_42px-e)" rx="12.248" ry="2.5" transform="rotate(-37 17.786 16.868)"/>
<ellipse cx="14.495" cy="16.43" stroke="url(#dcc_nav_network_42px-f)" opacity=".8" rx="13" ry="2.5" transform="rotate(-8 14.495 16.43)"/>
<ellipse cx="14" cy="11" stroke="url(#dcc_nav_network_42px-g)" opacity=".8" rx="14" ry="1"/>
</g>
<g opacity=".8" transform="rotate(-90 17 13.5)">
<ellipse cx="14.969" cy="8.594" stroke="url(#dcc_nav_network_42px-h)" rx="13.429" ry="2.5" transform="rotate(28 14.97 8.594)"/>
<ellipse cx="15.154" cy="12.872" stroke="url(#dcc_nav_network_42px-h)" rx="13.429" ry="2.5" transform="rotate(-27 15.154 12.872)"/>
<ellipse cx="18.636" cy="16.674" stroke="url(#dcc_nav_network_42px-i)" rx="11.402" ry="2.25" transform="rotate(-38 18.636 16.674)"/>
<ellipse cx="14" cy="9.75" stroke="url(#dcc_nav_network_42px-j)" rx="14" ry="1.25"/>
</g>
<circle cx="14" cy="7" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="21" cy="16.5" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="14.5" cy="16.5" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="14.25" cy="23.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="14.25" cy="20.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="15.75" cy="19.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="5.75" cy="23.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="10.25" cy="6.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="8.75" cy="16.25" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="11.75" cy="11.25" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="11.25" cy="23.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="25.75" cy="20.75" r="1" fill="url(#dcc_nav_network_42px-k)" opacity=".8"/>
<circle cx="18.25" cy="22.75" r="1" fill="url(#dcc_nav_network_42px-k)"/>
<circle cx="12.25" cy="14.75" r="9.25" fill="url(#dcc_nav_network_42px-l)" opacity=".4"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.4 KiB

11
images/icon99-o.svg Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>notes</title>
<g id="light" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="notes" fill="#727171" fill-rule="nonzero">
<path d="M17.516,5 C17.24,5 17.016,5.224 17.016,5.5 L17.016,15 L11.547,15 C11.271,15 11.016,15.224 11.016,15.5 L11.016,16.028 L8.016,16.003 L8.016,15.5 C8.016,15.224 7.792,15 7.516,15 L2.016,15 L2.016,5.5 C2.016,5.224 1.792,5 1.516,5 C1.24,5 1.016,5.224 1.016,5.5 L1.016,15.5 C1.016,15.776 1.24,16 1.516,16 L7.016,16 L7.016,16.5 C7.016,16.775 7.238,16.982 7.513,16.984 L11.544,17 C11.545,17 11.546,17 11.547,17 C11.679,17 11.79,16.964 11.884,16.87 C11.978,16.776 12.016,16.664 12.016,16.531 L12.016,16 L17.516,16 C17.792,16 18.016,15.776 18.016,15.5 L18.016,5.5 C18.016,5.224 17.793,5 17.516,5 Z" id="Path"></path>
<path d="M8.714,13.919 C6.402,12.552 4.093,13.529 3.303,13.947 C3.17,14.017 3.017,13.916 3.017,13.764 L3.017,3.022 C3.017,2.95 3.051,2.884 3.112,2.848 C3.644,2.535 6.314,1.132 8.92,2.841 C8.979,2.88 9.017,2.95 9.017,3.021 L9.017,13.751 C9.016,13.911 8.848,13.999 8.714,13.919 Z" id="Path"></path>
<path d="M15.714,13.919 C13.402,12.552 11.093,13.529 10.303,13.947 C10.17,14.017 10.017,13.916 10.017,13.764 L10.017,3.022 C10.017,2.95 10.051,2.884 10.112,2.848 C10.644,2.535 13.314,1.132 15.92,2.841 C15.979,2.88 16.017,2.95 16.017,3.021 L16.017,13.751 C16.016,13.911 15.848,13.999 15.714,13.919 Z" id="Path"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB