clean up void docs
This commit is contained in:
		| @@ -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 | ||||
| @@ -1,10 +0,0 @@ | ||||
| --- | ||||
| title: "keyboard" | ||||
| tags: [ "Documentation", "distros" ] | ||||
| --- | ||||
|  | ||||
| To list keyboard specs: | ||||
|  | ||||
| > locale | ||||
|  | ||||
|  | ||||
| @@ -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' | ||||
|  | ||||
| @@ -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 | ||||
|  | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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) | ||||
|  | ||||
|   | ||||
							
								
								
									
										36
									
								
								distros/void/wpa_cli.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								distros/void/wpa_cli.md
									
									
									
									
									
										Normal 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"\" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user