From 25bef965bbad9e2b0fa9909c09e36937880cb7db Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 6 Dec 2020 01:04:35 +0100 Subject: [PATCH] Add config. related to GPU and power consumption --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce7e684..b8fcbcc 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,17 @@ yay -S spectrwm fish openssh rofi xorg xorg-server scrot xorg-xinit alacritty ra ### Pentest purposes ``` -yay -S wfuzz exploitdb nmap gobuster nikto hydra perl-image-exiftool zsteg rtl88xxau-aircrack-dkms-git rockyou seclists-git fcrackzip gdb radare2 enum4linux peass hashcat intel-compute-runtime metasploit +yay -S wfuzz exploitdb nmap gobuster nikto hydra perl-image-exiftool zsteg rtl88xxau-aircrack-dkms-git rockyou seclists fcrackzip gdb radare2 enum4linux peass hashcat intel-compute-runtime metasploit cuda ``` ## Configurations +## Power +``` +yay -S tlp +sudo systemctl enable --now tlp.service +``` + ### Locale ``` sudo localectl set-keymap fr @@ -72,6 +78,26 @@ sudo systemctl enable slock@$USER.service sudo systemctl enable --now mnt-data.automount ``` +### GPU +On a second laptop I have a Quadro T2000 graphics card, if I want to be able to use it (for hashcat for example) I have to install the following tools and make the following configuration. + +``` +yay -S nvidia bumblebee +sudo gpasswd -a $USER bumblebee.service +``` +It's a good idea to reboot, to make sure the modules load properly. To test if Bumblebee works with your Optimus system, you can execute the following thing. + +``` +optirun glxspheres64 +``` + +If the window with animation shows up, Optimus with Bumblebee is working. + +Some useful links to learn more: +- https://wiki.archlinux.org/index.php/NVIDIA, +- https://wiki.archlinux.org/index.php/AMDGPU, +- https://wiki.archlinux.org/index.php/Bumblebee. + ## Misc ### Generate a WPA-PSK for `netctl` Wi-Fi config files