better style

This commit is contained in:
Mylloon 2022-06-03 15:20:58 +02:00
parent f41fffd9d4
commit 92c82f0e10
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -15,29 +15,45 @@ curl https://git.kennel.ml/Anri/confOS/raw/branch/main/wsl.sh -s | bash
## Arch
### Layout FR
`loadkeys fr`
```loadkeys fr```
### Mot de passe "`tour`"
`echo "root:toor" | chpasswd`
```bash
echo "root:toor" | chpasswd
```
### Récupération clé hashée
`wpa_passhrase <SSID> <clé WIFI> /var/lib/iwd/<SSID>.psk`
```bash
wpa_passhrase <SSID> <clé WIFI> /var/lib/iwd/<SSID>.psk
```
### Ajout entête
`echo -e "[Security]\nPreSharedKey=" >> /var/lib/iwd/<SSID>.psk`
```bash
echo -e "[Security]\nPreSharedKey=" >> /var/lib/iwd/<SSID>.psk
```
### Modification fichier pour ne garder que l'entête
`nano /var/lib/iwd/<SSID>.psk`
```bash
nano /var/lib/iwd/<SSID>.psk
```
### Connexion au WiFi
`iwctl station wlan0 connect <SSID>`
```bash
iwctl station wlan0 connect <SSID>
```
### Copié la configuration
`curl -o run.sh -L https://lstu.fr/m_ai_r` run.sh
```bash
curl -o run.sh -L https://lstu.fr/m_ai_r # run.sh
```
`curl -o u.json -L https://lstu.fr/m_ai_c` user_configuration.json
```bash
curl -o u.json -L https://lstu.fr/m_ai_c # user_configuration.json
```
`curl -o d.json -L https://lstu.fr/m_ai_d` user_disk_layout.json
```bash
curl -o d.json -L https://lstu.fr/m_ai_d # user_disk_layout.json
```
## [outdated] Manjaro
Commande pour lancer mon installation :