update arch linux notes page
This commit is contained in:
parent
f2659b5773
commit
bb36a303ed
1 changed files with 29 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Archlinux
|
||||
date: 2023-11-29T20:33:48+0100
|
||||
lastmod: 2024-09-28T23:48:06+0000
|
||||
lastmod: 2024-10-26T11:51:51+0000
|
||||
tags:
|
||||
- archlinux
|
||||
- systemd
|
||||
|
@ -97,11 +97,11 @@ $ nmcli device wifi show-password
|
|||
|
||||
Last command shows the connected SSID and a QR-code within the terminal.
|
||||
|
||||
## Using NetworkManager
|
||||
### Using NetworkManager
|
||||
|
||||
We create some files in `/etc/NetworkManager/conf.d`:
|
||||
|
||||
## Using `iwd` as the WiFi backend
|
||||
#### Using `iwd` as the WiFi backend
|
||||
|
||||
`wifi_backend.conf`:
|
||||
|
||||
|
@ -110,7 +110,7 @@ We create some files in `/etc/NetworkManager/conf.d`:
|
|||
wifi.backend=iwd
|
||||
```
|
||||
|
||||
## Using `dhcpcd` as DHCP client
|
||||
#### Using `dhcpcd` as DHCP client
|
||||
|
||||
`dhcp-client.conf`:
|
||||
|
||||
|
@ -119,6 +119,31 @@ wifi.backend=iwd
|
|||
dhcp=dhcpcd
|
||||
```
|
||||
|
||||
### Using **systemd-networkd**
|
||||
|
||||
```console
|
||||
# wpa_passphrase MyNetwork SuperSecretPassphrase > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
|
||||
# systemctl enable wpa_supplicant@wlan0
|
||||
```
|
||||
|
||||
Create `/etc/systemd/network/00-wireless-dhcp.network` and fill it with:
|
||||
|
||||
```systemd
|
||||
[Match]
|
||||
Name=wlan0
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
```
|
||||
|
||||
Enable <kbd>systemd-networkd</kbd>:
|
||||
|
||||
```console
|
||||
# systemctl enable systemd-networkd.service
|
||||
```
|
||||
|
||||
Reboot.
|
||||
|
||||
## Using the CPU with hashcat
|
||||
|
||||
```console
|
||||
|
|
Loading…
Reference in a new issue