From 3c32cf2b263fac828f9ea45411963fdaddb3087c Mon Sep 17 00:00:00 2001 From: InoriShio Date: Fri, 6 Sep 2024 11:16:58 +0200 Subject: [PATCH] archy --- Commands/Fail2Ban | 4 ++++ Commands/Wireless | 5 +++++ Grub | 8 ++++++++ 3 files changed, 17 insertions(+) create mode 100644 Commands/Fail2Ban create mode 100644 Commands/Wireless create mode 100644 Grub diff --git a/Commands/Fail2Ban b/Commands/Fail2Ban new file mode 100644 index 0000000..799da19 --- /dev/null +++ b/Commands/Fail2Ban @@ -0,0 +1,4 @@ +# Reminder for fail2ban commands: +sudo fail2ban-client status +sudo fail2ban-client get sshd banned +sudo fail2ban-client set sshd unbanip \ No newline at end of file diff --git a/Commands/Wireless b/Commands/Wireless new file mode 100644 index 0000000..5fde673 --- /dev/null +++ b/Commands/Wireless @@ -0,0 +1,5 @@ +# Wifi +iwctl +device "name" list +device "name" scan +station "name" \ No newline at end of file diff --git a/Grub b/Grub new file mode 100644 index 0000000..ff1fa1f --- /dev/null +++ b/Grub @@ -0,0 +1,8 @@ +# Add Windows to bootmenu +sudo grub-mkconfig +sudo nano /etc/default/grub +# Remove "#" infront of the line with OS-Prober, save and exit +sudo os-prober +# Save updated grub config to grub +sudo grub-mkconfig -o /boot/grub/grub.cfg +