Questions tagged [iw]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

iwconfig cannot Set Master mode:Invalid argument

I want to use bridge net in KVM with Fedora 37 but an error occurs [yellsmaclev@localhost ~]$ sudo ifconfig wlp1s0 down [yellsmaclev@localhost ~]$ iwconfig wlp1s0 wlp1s0 IEEE 802.11 ESSID:off/any ...
2 votes
1 answer
44 views

Programmatically retrieve list of supported WiFi frequencies/channels

I'm currently building an application that leverages NetworkManager for providing network configuration functionalities. The application uses the DBus API to communicate with NetworkManager. I'm now ...
  • 121
0 votes
0 answers
62 views

Switching of WLAN AP channel using iw does not work

Reproduce: start a hwsim wlan AP, let it either automatically choose a channel (i.e. don't set a channel in hostapd.conf) or set one in the conf file. Let's assume we have wlan0 and the channel is 2 (...
  • 1
0 votes
0 answers
282 views

How to make WiFi reduced transmit power level persist across reboots?

TL;DR I have reduced the transmit power of a WiFi device and I would like to make this change permanent, so it does not revert after a reboot. Details I have joined two Raspberry Pi 4 devices to an ...
  • 6,238
0 votes
0 answers
510 views

Reading wireless beacon frames in linux

I am completely new to networks, and need to find a way to read wireless networks beacon frames data. I did so for windows, using Win32 wlanapi, now need to do the same for linux. I have been trying ...
  • 318
0 votes
0 answers
53 views

Linux wifi hardware that supports many managed interfaces

I need to aquire hardware (can be a wifi card or a router) that is capable of simulating many wifi stations on one wifi radio. Something similar to this (from arch linux wiki): $ iw list Wiphy phy1 .....
  • 9
2 votes
1 answer
354 views

How can I get the active cipher for a wireless interface?

When I run iw phy I see the list of ciphers my interface supports, Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * GCMP-...
1 vote
0 answers
297 views

What does "radar detection" mean?

When I run sudo iw phy, I get, 5500 MHz [100] (22.0 dBm) (no IR, radar detection) 5520 MHz [104] (22.0 dBm) (no IR, radar detection) 5540 MHz [108] (22.0 dBm) (no IR, radar detection) 5560 MHz [112] (...
1 vote
0 answers
258 views

Why would a network interface be detected by nmcli and ip, but not by iw?

Running ip link I get the output 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:...
  • 786
1 vote
1 answer
1k views

How to switch to a different WiFi channel?

I am running a server sending data from a linux embedded device which is hosting its own network using a network module. It is running on an iMX7 processor connected to a network module. The problem ...
0 votes
0 answers
96 views

iw use Regulatory.bin from /snapd/core instead /lib/crda

I modified frequency in /lib/crda/regulatory.bin using crda scripts but unfortunately iw from version 5.4.5 for some reason use file /snapd/core/8689/lib/crda/regulatory.bin which is unmodificable ...
4 votes
1 answer
38k views

iwconfig: wlan0 no wireless extensions

I've some problems with the wlan0 interface on an embedded linux distro (compiled with yocto). The problem is that when I use the command: iwconfig the wlan0 results with no wireless extensions. ...
  • 61
0 votes
0 answers
181 views

How do you find the static (and dynamic) information about the network currently connected to?

Is there some command (on Linux) which report the static (and dynamic) information about the network currently connected to? For example, BSSD, encryption method (WPA, or ...), and more. In particular ...
  • 95.8k
0 votes
0 answers
63 views

Who are known Wireless Networks Stored, and how does auto connect work?

I'm trying to build a script that auto connects to a given network (providing ESSID and Passphrase) and I want to store them, so when ever it's not connected, It searches for the given network, ...
  • 111
0 votes
1 answer
4k views

How to read iw allowed interface lists?

I wanted to set up promiscuous Wi-Fi monitoring into Wireshark. Tried to do it like I used to with iwconfig, but this system sets me back to managed as soon as I bring the interface back up. I see ...
-2 votes
1 answer
407 views

command to see no of wifi clients/Mac address of clients connected to near by access points(SSIDs)

apart from airodump command can we use any other command to see how many wi-fi clients are associated to access points
7 votes
1 answer
35k views

Connect to wifi from command line on linux systems through the iwd (wireless daemon for linux)

The iwd is the up-and-coming wireless daemon for linux released by Intel and the wpasupplicant successor. The development of iwd is still in progress, but it is packaged under some linux distribution ...
  • 61.5k
0 votes
1 answer
544 views

Can I assign a virtual interface of wireless to a network namespace?

I am trying to make a VPN router while keeping the host itself accessing Internet without VPN. The host has only one NIC which is wireless. So I have added two virtual interfaces via iw phy phy0 ...
  • 693
5 votes
1 answer
29k views

How to use iw command to activate WiFi network?

The following command returned error message. Command sudo iw dev wlan0 connect wsiit Error command failed: Network is down (-100) My objective is to activate WiFi network using "iw". I have ...
user avatar
2 votes
1 answer
617 views

What is "cooked mode" wifi monitoring?

The following is an excerpt from iw's help page: dev <devname> set monitor * Set monitor flags. Valid flags are: none: no special flags fcsfail: show frames with ...
  • 1,192
4 votes
1 answer
19k views

Retrieving Specific SSID's Name,Quality and Signal Level using iwlist

I'm doing a project regarding RSSI and I have to retrieve the signal level of a particular WiFi SSID that I'm working on using linux command line. I've made use of iwlist scanning command but I just ...
0 votes
1 answer
110 views

Who to find out if a WiFi-Device is compatible with WPA2-EAP?

Is there a way to find out with Tools like iw if a WiFi-Device will work with a 5GHZ WPA2-EAP WiFi? Here is the output for my specific device (but the questions targets to find a general answer) $ ...
2 votes
0 answers
963 views

udev iw add interface rename issue

I need to put wifi interface into additional monitor state. If I don't use udev rule and wifi interface named by kernel as wlan0 (default): $ iw dev wlan0 interface add mon0 type monitor in this ...
  • 148
0 votes
1 answer
176 views

Monitor interface not showing TX packets

I have set up a monitor interface using: iw dev wlan0 interface add mon0 type monitor ifconfig mon0 up And I am using libpcap to capture and inspect 802.11 frames and radiotap headers. I was ...
1 vote
2 answers
2k views

crda make error

Hardware: Intel Galileo Gen 2 System: Yocto linux (iot-devkit-image) User: root At "Step 7" of this Post root@dhcppc6:~/crda-3.18# make GEN keys-gcrypt.c Trusted pubkeys: pubkeys/root.key.pub....
2 votes
2 answers
13k views

Enable WIFI Channel 14 iw reg get country 00 DFS-UNSET

Hardware: Intel Galileo Gen 2 System: Yocto linux (iot-devkit-image) User: root # iw reg set JP # iw reg get global country 00: DFS-UNSET (2402 - 2472 @ 40), (6, 20), (N/A) (2457 - ...
1 vote
1 answer
234 views

iw wlan0 set channel 36 will hang

I'm tying to sniff packets with an Intel AC7260 card with Debian Jessie. It works, but I cannot change channels. When I enter: iw wlan0 set channel XXX the device will hang and I need to reboot it....
4 votes
1 answer
2k views

Creating multiple WiFi clients with a single wireless interface

I am currently working on a project where I would like to be using a single TP-link wireless adapter and split it into multiple clients. What I've done so far; I was able to create multiple virtual ...
  • 155
1 vote
1 answer
810 views

What exactly does `iwconfig wlan1 essid "myWifi"` do?

I'm working on an embedded device with a limited amount of programs for managing the network. I ended up using the command: iwconfig wlan1 essid "myWifi" key "s:password" At times this works but I ...
13 votes
1 answer
7k views

Deciphering the output of iw list valid interface combinations

I'm trying to decipher a portion of the output from 'iw list.' I tried to search online and could not find an explanation of how to interpret the output. I'm interested in utilizing a wireless adapter ...
  • 251
2 votes
1 answer
4k views

`iw dev $interface scan` not working on embedded device

Running on a custom rockchip board with Ubuntu 14.04. I look at interfaces with ifconfig: ... wlan3 Link encap:Ethernet HWaddr 08:ea:40:d7:63:27 inet addr:192.168.12.1 Bcast:192....
3 votes
3 answers
3k views

WiFi scans show SSID of a powered off network for several scans afterwards

I first came across this when I was trying to make a python program that used programs to scan for wireless networks. I've used the following tools: iwlist, iw, wpa_cli, nmcli, and iwconfig I run ...
2 votes
1 answer
428 views

Where is the list of access points stored?

Where does nmcli and iwlist stored the cached list seen access points: in a common file or in volatile memory?
  • 165
1 vote
0 answers
1k views

iw not finding usb wifi dongle

I've a dwlink dwi-131 usb wifi adapter that I'm trying to use with buildroot (for a sama5d2xplained board) for hostadp. I use a driver from github: https://github.com/Mange/rtl8192eu-linux-driver ...
  • 131
9 votes
1 answer
17k views

Successfully initialized wpa_supplicant yet I'm not connected, and can't reach wpa_cli

i am trying to setup internet for my laptop currently running ArchLinux2017.07.01 but I ran into a big bump that I cannot seem to see anywhere else online. Mind you I am a little unfamiliar with Arch ...
  • 303
3 votes
1 answer
13k views

How to calculate parameters to `iw set freq`

I've been asked to troubleshoot an issue with an 802.11ac wireless network that has a 80MHz channel width. When setting up a wireless device in monitor mode, I'm having trouble specifying the 80Mhz ...
  • 935
2 votes
3 answers
1k views

Replace iwgetid with iw

I just get back a script to display the wifi connection on my desktop manager. But this one is using iwgetid : [[ -z "$(iwgetid -r)" ]] || echo "$(iwgetid -r)" But iwgetid is depreciated and I didn'...
1 vote
0 answers
117 views

Interfacing with PoE wireless network adapter

I have a collection of external wireless NICs. The vast majority just plug & play via USB, and work as you'd expect, with all the standard utilities; ifconfig, iwconfig, ip, iw, etc. New ...
  • 1,192
2 votes
1 answer
3k views

How to add an IE field for my wifi hotspot?

Is it possible to attach a IE field to my wifi hotspot so that it appear in the iwlist output of other machine scanning it? Example: I choose 1234567891011121314151617181920 to be the additional ...
  • 4,658
8 votes
2 answers
9k views

Single wifi card, Connect to multiple access points simultaneously

As we know, We can create virtual wireless interface using iw dev (1). Also, We can change it's MAC address using ifconfig <ifname> hw ether <Address>. Then We can Set two different access ...