clean up void docs

This commit is contained in:
Malin Freeborn 2022-05-20 19:04:51 +02:00
parent 5c33f802b7
commit 15e8c30f57
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
7 changed files with 43 additions and 93 deletions

View File

@ -1,24 +0,0 @@
---
title: "kernels"
tags: [ "Documentation", "distros" ]
---
# vkpurge
Old Void kernels are left on the boot partition. List them with:
> vkpurge list
Remove one with:
> vkpurge 2.8.2_4
Remove all but the latest with:
> vkpurge rm all
# Troubleshooting
Filled up your /boot? Try reconfiguring and installing the latest:
> xbps-reconfigure -f linux5.2

View File

@ -1,10 +0,0 @@
---
title: "keyboard"
tags: [ "Documentation", "distros" ]
---
To list keyboard specs:
> locale

View File

@ -1,38 +0,0 @@
---
title: "networking"
tags: [ "Documentation", "distros" ]
---
# Bridged adapters
Virtual machines can use a bridge to connect to the internet. Access the manual with
> man brctl
You can add a new bridge with:
> brctl addbr <name>
... and delete a bridge by pulling it down, then
> brctl delbr <name>
# wpa_supplicant
> scan
> scan_results
> add_network
> set_network 0 ssid "MYSSID"
> set_network 0 psk "passphrase"
OR > set_network 0 key_mgmt NONE
> enable_network 0
> save_config
might want to 'sudo sv restart dhcpcd'

View File

@ -1,20 +0,0 @@
#!/bin/sh
ln -s /etc/sv/ntpd /var/service
sv start ntpd
sleep 3
ntpd -q
echo 'dtparam=audio=on' >> /boot/config.txt
xbps-install -Syuv
xbps-install -Sy xorg-minimal xf86-video-fbturbo
useradd -m -G wheel,audio,video ghost
xbps-install sc-im vim cowsay lolcat-c ranger lf bash

View File

@ -28,7 +28,7 @@ Stop `mpd` with:
> sudo sv stop mpd > sudo sv stop mpd
And stop it starting at startup with: And stop it automatically loading at startup with:
> sudo rm /var/service/mpd > sudo rm /var/service/mpd

View File

@ -42,3 +42,9 @@ For an easy utility, install `brightnessctl`.
> brightnessctl s 10%+ > brightnessctl s 10%+
# Other Tricks
- [autologin](autologin.md)
- [services](sv.md)
- [wifi](wpa_cli.md)

36
distros/void/wpa_cli.md Normal file
View File

@ -0,0 +1,36 @@
---
title: "wifi"
tags: [ "Documentation", "void" ]
---
# wpa_supplicant
> scan
> scan_results
> add_network
> set_network 0 ssid "MYSSID"
> set_network 0 psk "passphrase"
OR > set_network 0 key_mgmt NONE
> enable_network 0
> save_config
might want to 'sudo sv restart dhcpcd'
## CLI
You can use all commands non-interactively, from the cli, e.g.:
> wpa_cli scan
> wpa_cli scan_results
But remember to escape the quotes, so adding a network would be:
> wpa_cli set_network 3 psk \""passphrase"\"