mirror of
				https://github.com/tiyn/wiki.git
				synced 2025-10-31 02:11:15 +01:00 
			
		
		
		
	networkmanager: basic ovpn guide
This commit is contained in:
		
							
								
								
									
										11
									
								
								wiki/linux/init.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								wiki/linux/init.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | # Init | ||||||
|  |  | ||||||
|  | The init process is the first process started after boot. | ||||||
|  | All processes running in later stages are descendants of the init process. | ||||||
|  | The init process is given to a init system that manages various services. | ||||||
|  |  | ||||||
|  | ## Init Services | ||||||
|  |  | ||||||
|  | The following is a list of available init services. | ||||||
|  |  | ||||||
|  | - [SystemD](/wiki/linux/systemd.md) is most common among linux systems. | ||||||
							
								
								
									
										27
									
								
								wiki/linux/networkmanager.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								wiki/linux/networkmanager.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | |||||||
|  | # NetworkManager | ||||||
|  |  | ||||||
|  | NetworkManager - short NM - is a program to automatically detect and connect to | ||||||
|  | networks by providing options for various configuration. | ||||||
|  |  | ||||||
|  | ## Installation | ||||||
|  |  | ||||||
|  | NetworkManager can be installed with the `networkmanager` package on most linux | ||||||
|  | distributions which provides daemon aswell as `nmcli` a command line interface | ||||||
|  | and `nmtui` a terminal user interface for configuration. | ||||||
|  | Additionally `nm-connection-editor` can be installed for a graphical user | ||||||
|  | interface. | ||||||
|  |  | ||||||
|  | ## Usage | ||||||
|  |  | ||||||
|  | After installation `networkmanager.service` has to be enabled by the used | ||||||
|  | [init-system](/wiki/linux/init.md) (for example | ||||||
|  | [systemD](/wiki/linux/systemd.md#startstopenabledisable-a-service)). | ||||||
|  |  | ||||||
|  | ### OpenVPN | ||||||
|  |  | ||||||
|  | NetworkManager needs a plugin to work with openvpn configurations. | ||||||
|  | This plugin can be installed with the `networkmanager-openvpn` package. | ||||||
|  |  | ||||||
|  | OpenVPNs `.ovpn` files can then be imported by running | ||||||
|  | `nmcli connection import type openvpn file <openvpn-file>`. | ||||||
|  | Afterwards the can be modified accordingly. | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| # SystemD | # SystemD | ||||||
|  |  | ||||||
| SystemD is a software suit for system components for Linux systems. | SystemD is an [init system](./init.md) for Linux systems. | ||||||
| It is mainly used for service configuration. | It is used for service configuration and startup. | ||||||
|  |  | ||||||
| ## Run command on boot | ## Run command on boot | ||||||
|  |  | ||||||
| @@ -40,3 +40,12 @@ Alternatively it can be enabled to start at every boot by running: | |||||||
| ```sh | ```sh | ||||||
| sudo systemctl enable unturned | sudo systemctl enable unturned | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ## Start/Stop/Enable/Disable a service | ||||||
|  |  | ||||||
|  | Services can be started by running `systemctl start <service-name>`. | ||||||
|  | They respectively can be stopped by replacing the `start` | ||||||
|  | keyword for `stop`. | ||||||
|  | To start the service after boot it has to be enabled. | ||||||
|  | This works accordingly with the keyword `enable`. | ||||||
|  | The `disable` keyword stops the service from starting automatically. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user