Fixed and wireless network settings¶
Basic Network Setup¶
graph LR
A{Select interface} --> B[Configure];
A{Select interface} --> C[Drop];
C ---->A;
B -->F[DHCP];
B ---->G[Static];
G ------>| MAC, IP, route, GW, DNS|H[Configured];
F -->| MAC | H[Configured];
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
Network configuration is simple and easy to follow:
-
Choose the interface. If it’s a wireless interface, you’ll be prompted to select an access point (AP) and enter its password. Leave empty for open network.
-
Choose between DHCP (Dynamic Host Configuration Protocol) or static IP configuration.
- If you select DHCP, the setup is complete. Optionally, you can change the MAC address.
- If you choose a static configuration, you’ll need to provide:
- An optional MAC address change
- A fixed IP address (e.g., x.x.x.x/y)
- A route (default: 0.0.0.0/0)
- A gateway (usually x.x.x.1/24)
- DNS (default: 9.9.9.9)
Remove Fallback DHCP Configuration¶
Drop preinstalled automatic DHCP on all wired interfaces after your configuration is setup.
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
View Network Settings¶
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
Advanced bridged network configuration¶
Add / change interface¶
graph LR
A[Network] --> B[Add / Change interface];
A[Network] --> O[Revert to defaults];
A[Network] --> P[Show configuration];
B ---->E[Wired];
B ---->F[Wireless];
E -->R[DHCP];
E -->T[Static];
E -->S[Spoof MAC];
F -->X[Station];
F -->W[Access point];
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
In order to configure your network devices, they need to be supported the kernel.
To verify, use command:
Bash | |
---|---|
It is usually something like eth0, enp4s3 or lan.
In order to configure your wireless network devices, they need to be supported the kernel.
To verify, use command:
Bash | |
---|---|
It is usually something like wlan0
, wlo1
or wlx12334c47dec3
. If you get blank response, it means your WiFi device / dongle is not supported by the kernel.
Revert to Armbian defaults¶
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
Show configuration¶
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
Show active status¶
Command:
Text Only | |
---|---|
Author: @igorpecovnik
Status: Stable
WireGuard VPN client / server¶
WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. Regarded as the most secure, easiest to use, and simplest VPN solution in the industry.
Command:
Text Only | |
---|---|
Author: @armbian
Status: Enabled
Remember to open/forward the port 51820 (UDP) through NAT on your router.
- Install directory:
/armbian/wireguard
- Site configuration directory:
/armbian/wireguard/config
Bash | |
---|---|
Install server and enable private network on a client¶
- Install Wireguard server
- It will asks you for peer keywords. It will make a profile for each peer
- Download client to your PC, server or mobile phone. Scan OR code or copy credentials to the client.
Enjoy private network! Its that easy.
More informations:
https://docs.linuxserver.io/images/docker-wireguard/
WireGuard remove¶
This operation will remove WireGuard
Command:
Text Only | |
---|---|
Author: @armbian
Status: Enabled
WireGuard clients QR codes¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Enabled
WireGuard purge with data folder¶
This operation will purge WireGuard with data folder
Command:
Text Only | |
---|---|
Author: @armbian
Status: Enabled