From 20ddc0aecacd6feb532757927ba42ebee632cfc8 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Thu, 6 Apr 2023 10:59:54 +0200 Subject: [PATCH] Add create_ap cheats --- config/navi/christoph.cheat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index f5b06a2f..659c81b4 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -71,3 +71,21 @@ $ input: exa -1 % yes, head, file # Generate a large text file yes "The quick brown fox jumps over the lazy dog" | head -c > + +% hotspot, create_ap, wifi, wihotspot +# Open a WiFi Hotspot using "wihotspot" +sudo create_ap wlp5s0 enp0s31f6 Potshot ThisIsMyPotshot --daemon --hidden + +% hotspot, create_ap, wifi, wihotspot +# List running Hotspots +sudo create_ap --list-running + +% hotspot, create_ap, wifi, wihotspot +# List connected devices +watch -d -c -n 0.5 sudo create_ap --list-clients +$ SSID: sudo create_ap --list-running | sd '.+\((.+)\)' '$1' + +% hotspot, create_ap, wifi, wihotspot +# Stop a running hotspot +sudo create_ap --stop +$ SSID: sudo create_ap --list-running | sd '.+\((.+)\)' '$1'