Questions tagged [iw]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 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 ...
user avatar
  • 5,806
0 votes
0 answers
165 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 ...
user avatar
  • 298
0 votes
0 answers
44 views

udhcpd stops working on virtual interface when wpa_supplicant is called

I am working on a board equipped with a Wifi module that supports access point mode. I can create an access point using the following script: #!/bin/bash modprobe brcmfmac iw dev wlan0 interface add ...
user avatar
  • 117
0 votes
0 answers
35 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 .....
user avatar
  • 9
2 votes
1 answer
212 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-...
user avatar
  • 22.4k
1 vote
0 answers
135 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] (...
user avatar
  • 22.4k
2 votes
0 answers
142 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:...
user avatar
  • 766
1 vote
1 answer
788 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 ...
user avatar
0 votes
0 answers
85 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 ...
user avatar
3 votes
1 answer
31k 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. ...
user avatar
  • 41
0 votes
0 answers
167 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 ...
user avatar
  • 89.7k
0 votes
0 answers
46 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, ...
user avatar
  • 111
0 votes
1 answer
3k 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 ...
user avatar
-2 votes
1 answer
257 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
user avatar
7 votes
1 answer
27k 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 ...
user avatar
  • 57.5k
0 votes
1 answer
482 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 ...
user avatar
  • 633
4 votes
1 answer
22k 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
511 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 ...
user avatar
  • 1,092
4 votes
1 answer
17k 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 ...
user avatar
0 votes
1 answer
92 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) $ ...
user avatar
2 votes
0 answers
883 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 ...
user avatar
  • 150
0 votes
1 answer
109 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 ...
user avatar
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....
user avatar
2 votes
1 answer
11k 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 - ...
user avatar
1 vote
1 answer
199 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....
user avatar
3 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 ...
user avatar
  • 125
1 vote
1 answer
432 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 ...
user avatar
12 votes
1 answer
6k 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 ...
user avatar
  • 241
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....
user avatar
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 ...
user avatar
2 votes
1 answer
345 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?
user avatar
  • 155
1 vote
0 answers
984 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 ...
user avatar
  • 131
8 votes
1 answer
15k 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 ...
user avatar
  • 273
3 votes
1 answer
11k 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 ...
user avatar
  • 905
1 vote
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'...
user avatar
1 vote
0 answers
108 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 ...
user avatar
  • 1,092
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 ...
user avatar
  • 4,248
7 votes
2 answers
8k 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 ...
user avatar