ifconfig
ifconfig <network interface> down
ifconfig <network interface> up
ip link
ip addr
output current wifi name
sudo apt install -y wireless tools
iwgetid
iwgetid -r # just the name
iwlist wlan0 scan
sudo apt install -y network-manager
nmcli -f in-use,ssid,bssid,signal,bars dev wifi
list wifis
nmcli d wifi
connect to a specific wifi
nmcli d wifi connect XX:XX:XX:XX:XX:XX
https://askubuntu.com/questions/833905/how-can-i-connect-to-a-specific-bssid
sudo lsof -i:3389
apt install wavemon
wavemon
sudo nmcli network off
sudo nmcli network on
sudo netplan try
sudo netplan apply
from here
ifconfig
host myip.opendns.com resolver1.opendns.com
dig @resolver4.opendns.com myip.opendns.com +short
https://www.lifewire.com/find-a-mac-address-using-an-ip-address-818132
arp -a <ip address>
nmcli d wifi
nm-connection-editor
sudo apt install -y iperf
computer 1:
iperf -s
Computer 2:
iperf -c <other-computer-ip-or-hostname>
https://superuser.com/questions/1275043/measure-bandwidth-between-two-computer-in-a-lan