Skip to main content
Share Your Experience: Take the 2024 Developer Survey
185 votes
Accepted

How to turn off Wireless power management permanently

Open this file with your favorite text editor, I use nano here: sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf By default there is: [connection] wifi.powersave = 3 Change the ...
Niko's user avatar
  • 1,874
59 votes

Connecting to wifi network through command line

If you have nmcli installed, I think this is the simplest solution. For a new connection: nmcli dev wifi connect <mySSID> password <myPassword> Or if a connection was already set up: ...
DLight's user avatar
  • 692
48 votes

Ubuntu | No WiFi Adapter found

Just connect using usb cable to do usb tethering, open terminal by Ctrl+Alt+T and type: sudo apt-get install --reinstall bcmwl-kernel-source Then, reboot.
Rajat Disawal's user avatar
44 votes

Create wireless access point and share internet connection with nmcli

You can create a hotspot with the following: nmcli dev wifi hotspot ifname wlp4s0 ssid test password "test1234" (where wlp4s0 is the name of your Wifi interface). Reference: https://wiki....
ysdx's user avatar
  • 1,883
44 votes
Accepted

How to connect to wifi from command line?

I'm assuming wpa_supplicant and iw is installed. To connect to wifi through wpa_supplicant you need to create a wpa_supplicant.conf file nano /etc/wpa_supplicant.conf with the following lines: ...
GAD3R's user avatar
  • 67.2k
42 votes

Get Wi-Fi interface device names

With nmcli you could list all devices and their type e.g. nmcli --get-values GENERAL.DEVICE,GENERAL.TYPE device show eno1 ethernet wlp1s0 wifi wlp1s1 wifi p2p-dev-wlp1s0 wifi-p2p lo loopback Per ...
don_crissti's user avatar
  • 83.2k
41 votes

Naming convention standard for Ethernet and Wi-Fi interfaces on Linux machines

Network interfaces can be named anything, so no matter what you do, you'll run into situations where (1) there is a "physical" network interface with a name that didn't match your pattern, or (2) ...
dirkt's user avatar
  • 32.5k
37 votes

Connecting to wifi network through command line

Use nmtui if you are just looking to connect. You'll be prompted to activate a connection, with the list of SSIDs and you can just enter your password.
MrE's user avatar
  • 603
31 votes
Accepted

Subsequent calls to wpa_supplicant fail - can't connect to wifi

I'm embarrassed to say the solution was to kill the already running wpa_supplicant process. The -B argument causes the program to fork into the background, and trying to run it again will fail as ...
bkane521's user avatar
  • 571
31 votes

Naming convention standard for Ethernet and Wi-Fi interfaces on Linux machines

For systemd's predictable interface names, the prefixes can be seen in udev-builtin-net_id.c. They are two-character prefixes based on the type of interface: en → Ethernet ib → InfiniBand sl → Serial ...
user4556274's user avatar
  • 9,035
25 votes
Accepted

How can I find if my wifi card supports 802.11ac?

If you run iw list, look for the lines specifying VHT. VHT Capabilities (0x038071a0): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 short GI (80 MHz)...
Sparhawk's user avatar
  • 20k
25 votes
Accepted

What to do with a circular dependency between two packages in Fedora?

There is no problem if both rpm files depend on one another; just install the two together: rpm -ivh akmod-wl-6.30.223.271-13.fc26.x86_64.rpm broadcom-wl-6.30.223.271-2.fc26.noarch.rpm Logically; if ...
Chris Maes's user avatar
  • 3,412
24 votes

How to sign into an open Wireless Network?

If redirect page does not load, and reconnecting does not fix the issue, then the easiest next step is to address the router directly. Try 192.168.1.1. That is the most common default address, and ...
Matt's user avatar
  • 241
24 votes
Accepted

Deciphering the output of iw list valid interface combinations

I struggled with the same thing not so long ago. Took a bit of source code reading to find out the basics. Yes, your adapter supports each of the modes listed. Every line under valid interface ...
dirkt's user avatar
  • 32.5k
23 votes

Get names of devices on the network

None of the above answers worked for me, so I began messing around with arp-scan. So, what I found worked was: arp-scan -I [WIFI INTERFACE] -l arp-scan scans your network and lists devices. -I ...
GarrukApex's user avatar
23 votes
Accepted

Renaming my wlan network interface

Choose a solution: ip link set wlp5s0 name wlan0 - not permanent create yourself an udev rule file in /etc/udev/rules.d - permanent add net.ifnames=0 kernel parameter into grub.cfg - permanent, if ...
Ipor Sircer's user avatar
  • 14.6k
19 votes

Get Wi-Fi interface device names

On Ubuntu at least, there is the /proc/net/wireless file that contains details about the Wi-Fi interfaces. Which outputs for me: $ cat /proc/net/wireless Inter-| sta-| Quality | Discarded ...
19 votes

How to connect to wifi in CentOS 7(CLI)(no GUI)?

The best and easy option I like to use with CentOS is nmtui. (Ref: Redhat) THIS IS NOT GUI, IT IS TUI (TEXT USER INTERFACE) First you have to install nmtui, # yum install NetworkManager-tui Then, ...
NIK's user avatar
  • 529
19 votes

I am trying to connect to wifi using wpa_cli set_network command,but it always returns FAIL

Create a /etc/wpa_supplicant/wpa_supplicant.conf file with the following lines: ctrl_interface=/run/wpa_supplicant update_config=1 Run: wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/...
GAD3R's user avatar
  • 67.2k
17 votes

Why did wireless tools version 30 become a permanent beta?

I should have read through the Q/A that I linked better because there was a link to a page discussing why this project was abandoned: Is WE being further developed ? No it is not. Only bug ...
Philip Kirkbride's user avatar
17 votes
Accepted

Why did wireless tools version 30 become a permanent beta?

Wireless tools is deprecated in favor of iw because the wireless extensions has been deprecated in favor of the new nl80211 interface for wireless devices. The kernel documentation for iw says that. ...
Munir's user avatar
  • 3,362
17 votes

WIFI - Disable Hotspot Login Screen

For disabling it, in Ubuntu it is (no idea if it applies to Fedora): Open Settings Select Privacy Turn ‘network connectivity checking’ off The offending file in Fedora is however /usr/libexec/gnome-...
Rui F Ribeiro's user avatar
16 votes
Accepted

"aborting authentication by local choice (Reason: 3=DEAUTH_LEAVING)" when trying to connect to wifi

Somehow, my firmware got trouble with long interface name. So I ran this command to prevent it: ln -s /dev/null /etc/systemd/network/99-default.link and it worked.
GPraz's user avatar
  • 459
15 votes
Accepted

How can I share my WiFi connection through Bluetooth?

I'm not sure why this answer was voted down, since - I think - it answered the question. In a very simple way, I know. Anyway here goes my answer, which is basically an expanded version of the linked ...
Alexandre Schmidt's user avatar
15 votes
Accepted

WiFi repeater with a single WiFi adapter in Debian

To increase the range of your WiFi network, you can create an access point from the same wifi card. Install the required packages apt-get install build-essential git Install create_ap: git clone ...
GAD3R's user avatar
  • 67.2k
14 votes

Ubuntu | No WiFi Adapter found

So, the issue for me was because of secure-boot, uefi and the restriction on third party libraries which would be usually required for the network devices to work. Following Rajat's comment proved ...
user1587865's user avatar
13 votes

How do I use NMCLI to create a Wifi connection & connect to SSID over WPA?

nmcli device wifi con "ssid" password "p455w04d"
mrosiak's user avatar
  • 231
13 votes

Get Wi-Fi interface device names

Universal way (non root) tested on Android 4, Android 7.1 and Android 9 and ArchLinux. ls /sys/class/ieee80211/*/device/net/
VasileM's user avatar
  • 231

Only top scored, non community-wiki answers of a minimum length are eligible