From 15e8c30f570ade090300bc06d510a22b2720dba1 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Fri, 20 May 2022 19:04:51 +0200 Subject: [PATCH] clean up void docs --- distros/void/kernels.md | 24 -------------------- distros/void/keyboard.md | 10 --------- distros/void/networking.md | 38 -------------------------------- distros/void/rpi-void-install.sh | 20 ----------------- distros/void/sv.md | 2 +- distros/void/void_basics.md | 6 +++++ distros/void/wpa_cli.md | 36 ++++++++++++++++++++++++++++++ 7 files changed, 43 insertions(+), 93 deletions(-) delete mode 100644 distros/void/kernels.md delete mode 100644 distros/void/keyboard.md delete mode 100644 distros/void/networking.md delete mode 100644 distros/void/rpi-void-install.sh create mode 100644 distros/void/wpa_cli.md diff --git a/distros/void/kernels.md b/distros/void/kernels.md deleted file mode 100644 index 60394a4..0000000 --- a/distros/void/kernels.md +++ /dev/null @@ -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 diff --git a/distros/void/keyboard.md b/distros/void/keyboard.md deleted file mode 100644 index 8e6804c..0000000 --- a/distros/void/keyboard.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "keyboard" -tags: [ "Documentation", "distros" ] ---- - -To list keyboard specs: - -> locale - - diff --git a/distros/void/networking.md b/distros/void/networking.md deleted file mode 100644 index 44cbeec..0000000 --- a/distros/void/networking.md +++ /dev/null @@ -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 - -... and delete a bridge by pulling it down, then - -> brctl delbr - -# 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' - diff --git a/distros/void/rpi-void-install.sh b/distros/void/rpi-void-install.sh deleted file mode 100644 index 041765b..0000000 --- a/distros/void/rpi-void-install.sh +++ /dev/null @@ -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 - diff --git a/distros/void/sv.md b/distros/void/sv.md index 66b33ed..60b0f37 100644 --- a/distros/void/sv.md +++ b/distros/void/sv.md @@ -28,7 +28,7 @@ Stop `mpd` with: > sudo sv stop mpd -And stop it starting at startup with: +And stop it automatically loading at startup with: > sudo rm /var/service/mpd diff --git a/distros/void/void_basics.md b/distros/void/void_basics.md index bdbf9de..acf0826 100644 --- a/distros/void/void_basics.md +++ b/distros/void/void_basics.md @@ -42,3 +42,9 @@ For an easy utility, install `brightnessctl`. > brightnessctl s 10%+ +# Other Tricks + +- [autologin](autologin.md) +- [services](sv.md) +- [wifi](wpa_cli.md) + diff --git a/distros/void/wpa_cli.md b/distros/void/wpa_cli.md new file mode 100644 index 0000000..ab64ce6 --- /dev/null +++ b/distros/void/wpa_cli.md @@ -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"\" +