Merge branch 'master' of github:tiyn/wiki

master
tiyn 3 years ago
commit fdeb6e2a54

@ -136,7 +136,12 @@ en_US.UTF-8 UTF-8
- `locale-gen` - Generate languages
- `echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf` - set the keymap
- `tzselect` - Set region
- `cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime` - set your timezone
(select the first file accordingly to your location)
- `date +%Y%m%d -s "<yyyymmdd>"` - set the current date (change
values accordingly)
- `date +%T -s "<hh:mm:ss>"` - set the current time (change values accordingly)
- `hwclock -w` - sync the current date and time with the hardware clock
## 9. Configure and create kernel-image

@ -0,0 +1,39 @@
# Date
`date` is a program to show and edit the date and time of a system.
To change the hardware clock look at the [according article](./hwclock.md)
## Display time and date
To change the time and date run the following command:
```shell
date
```
## Change the date and time
To change the date run the following command with an adjusted value for the
date:
```shell
date +%Y%m%d -s "20210809"
```
To change the time run the following command with an adjusted value for the
date:
```shell
date +%T -s "18:49:42"
```
After that you can check if the time is correct by displaying it.
## Set timezone
To set your timezone run the following command with the accordingly selected
file for your location:
```shell
cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
```

@ -0,0 +1,19 @@
# HWClock
`hwclock` is a program to set and display the hardware clock.
## Display time and date
To display the hardware clock run the following command:
```shell
hwclock
```
## Sync the hardware clock to the system time
To sync the hardware clock run the following command:
```shell
hwclock -w
```

@ -0,0 +1,27 @@
# IP
`ip` is a program that can edit and display the configurations of network
interfaces, routing and tunnels.
It is a replacement for the program `ifconfig`.
## List all network interfaces
You can list network interfaces by running:
```shell
ip link list
```
## Enable/disable a network interface
Assuming the interface is named `wlan0` run the following:
```shell
ip link set wlan0 up
```
Disabling works accordingly by running:
```shell
ip link set wlan0 down
```

@ -0,0 +1,17 @@
# WPA Supplicant
`wpa_supplicant` is a free implementation of an IEEE 802.11i supplicant.
It is especially interesting due to its WPA2 and WPA3 capabilities in contrast
to other networking software.
## Connect to a WPA2 secured WLAN
This part assumes that your network interface is called `wlan0`
(change it accordingly).
- First make sure that your [network interface is up](./ip.md).
- Save the authentication details to a file by running
`wpa_passphrase <SSID> >> /etc/wpa_supplicant.conf`
- Connect to the WLAN by running
`wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf`
(`-B` is optional for running the process in the background)
Loading…
Cancel
Save