m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/network.md
diff options
context:
space:
mode:
Diffstat (limited to 'network.md')
-rw-r--r--network.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/network.md b/network.md
index 1f2945d..1720cb3 100644
--- a/network.md
+++ b/network.md
@@ -1,5 +1,9 @@
# Basic networking operations
+## Basic networking info
+
+ ifconfig
+
## Find process binding a port
# specifically tcp
@@ -17,3 +21,27 @@ DNS lookup:
So to lookup TXT records,
drill host.com TXT
+
+## Connecting to WIFI with iwctl
+
+ iwctl
+ device list
+
+Ensure device and adapter are turned on:
+
+ device <device> set-property Powered on
+ adapter <adapter> set-property Powered on
+
+Begin scan (no output), list networks, connect:
+
+ station <device> scan
+ station <device> get-networks
+ station <device> connect SSID
+
+## MAC spoofing
+
+ sudo ip link set dev eth0 down
+ sudo ip link set dev eth0 address 00:00:00:00:00:01
+ sudo ip link set dev eth0 up
+
+Or use `macchanger` utility, where you can specify the vendor, device type, etc.