Turn Wi-Fi or Bluetooth back on with rfkill
Check and clear the software radio block that silently disables wireless devices.
01Command
$ rfkill list && sudo rfkill unblock wifi02What it does
Many 'my Wi-Fi disappeared' cases are just a soft block left by a keyboard Fn key or an airplane-mode toggle. rfkill list shows each radio's state; 'soft blocked: yes' means software can fix it with one command. If it says 'hard blocked: yes', a physical switch or BIOS setting is responsible and no command will help.
03Risk
04Undo
$ sudo rfkill block wifi05Sources
- rfkill(8) — Ubuntu manual pageEvidence: rfkill list shows the soft/hard block state of wireless devices; rfkill unblock wifi enables soft-blocked radios.
- rfkill(8) — manual pageEvidence: rfkill controls radio device blocking; 'hard blocked' means a hardware switch or BIOS setting, 'soft blocked' means software.
Last verified: 2026-09-18 · Category: Network
06Related solutions
One command that prints every interface with its state and IPv4/IPv6 addresses in a short table — the modern, memorable replacement for digging through `ifconfig` or the verbose `ip addr` output.
The classic forgotten-syntax command: `traceroute` shows every router between you and a destination plus the round-trip time of probes to each hop.
Add a UFW rule to permit inbound traffic on a TCP or UDP port, such as SSH on port 22.