Quick Command Reference

Copy-paste commands for Windows, Linux, and macOS.

If tech support asks you to run a command, copy it from here.

Windows

Open Command Prompt (Start > cmd > Enter).

Renew IP address (if internet is broken):

ipconfig /release
ipconfig /renew

Flush DNS cache:

ipconfig /flushdns

Show network details (IP, MAC address):

ipconfig /all

Ping test (Google DNS):

ping -n 10 8.8.8.8

Ping test (Local Gateway):

ping -n 10 10.0.0.1

(Note: 10.0.0.1 is an example. Find your actual gateway in the “Default Gateway” line of ipconfig.)

Linux

Open a terminal.

Renew IP address (DHCP):

sudo dhclient -r && sudo dhclient -v

Show network details:

ip addr show

or

ifconfig

Ping test:

ping -c 10 8.8.8.8

macOS

Open Terminal (Command + Space > Terminal).

Renew IP address:

sudo ipconfig set en0 DHCP

(en0 is usually Ethernet. If you are on Wi-Fi, try en1.)

Flush DNS cache:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Ping test:

ping -c 10 8.8.8.8