diff options
Diffstat (limited to 'network.md')
-rw-r--r-- | network.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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. |