Skip to main content

Questions tagged [iw]

The tag has no usage guidance.

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

Ad-hoc Wi-Fi: disable wireless comms while keeping interface up

TLDR: I want to prevent wireless communication with peers on a Raspberry Pi ad-hoc WiFi network but without bringing it down or disabling the interface. This is to simulate the nodes getting out of ...
ClausWorks's user avatar
0 votes
0 answers
243 views

WIFI connection unstable - keeps dropping and reconnecting on archlinux

Today my laptop started randomly experiencing issues where it cannot maintain a stable connection on my home network for more than 30s. I have tried the following w/out success... (1) Killing ...
user41177's user avatar
  • 101
0 votes
2 answers
914 views

Nothing changes when doing "iw reg set BO"

I know these kind of question already exists but it's from 2016 and doesn't work for me. I'm using the newest Kali version it's installed on my laptop. So I wanted to "iw reg set BO" so I ...
jamail bot's user avatar
1 vote
0 answers
220 views

Can iwconfig performance metrics be obtained with iw?

I understand iwconfig is deprecated and I should use iw instead. iwconfig returns some useful wifi performance KPIs: wlan0 IEEE 802.11 ESSID:"mynetwork" Mode:Managed ...
Hydrargyrum's user avatar
2 votes
1 answer
585 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 ...
mattdibi's user avatar
  • 121
1 vote
0 answers
618 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 (...
precla's user avatar
  • 11
0 votes
1 answer
1k 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 ...
Malvineous's user avatar
  • 6,943
0 votes
0 answers
1k 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 ...
Veverke's user avatar
  • 368
0 votes
0 answers
63 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 .....
xbacao's user avatar
  • 9
2 votes
1 answer
626 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-...
Evan Carroll's user avatar
  • 31.5k
2 votes
0 answers
458 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] (...
Evan Carroll's user avatar
  • 31.5k
1 vote
0 answers
366 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:...
glS's user avatar
  • 806
1 vote
1 answer
2k 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 ...
AdeleGoldberg's user avatar
0 votes
0 answers
133 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 ...
Erektuser's user avatar
4 votes
1 answer
45k 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. ...
Sguit's user avatar
  • 101
0 votes
0 answers
78 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, ...
ekiim's user avatar
  • 111
0 votes
1 answer
5k 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 ...
LorenAmelang's user avatar
-2 votes
1 answer
668 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
Ganesh SIngaraju's user avatar
8 votes
1 answer
44k 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 ...
GAD3R's user avatar
  • 67.2k
0 votes
1 answer
615 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 ...
Magicloud's user avatar
  • 763
5 votes
1 answer
41k 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
781 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 ...
voices's user avatar
  • 1,282
4 votes
1 answer
22k 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 the Linux command line. I've made use of the iwlist scanning command but ...
Terence Chew's user avatar
0 votes
1 answer
147 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) $ ...
user278905's user avatar
2 votes
0 answers
1k 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 ...
Dmitry's user avatar
  • 188
0 votes
1 answer
260 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 ...
Ross MacArthur's user avatar
1 vote
2 answers
3k 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....
amy programmer's user avatar
2 votes
2 answers
16k 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 - ...
amy programmer's user avatar
1 vote
1 answer
239 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....
Chris Hansen's user avatar
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 ...
Stephen's user avatar
  • 155
1 vote
1 answer
1k 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 ...
Philip Kirkbride's user avatar
13 votes
1 answer
8k 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 ...
FettFrank's user avatar
  • 251
2 votes
1 answer
5k 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....
Philip Kirkbride's user avatar
3 votes
3 answers
4k 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 ...
user45878's user avatar
2 votes
1 answer
513 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?
Morten's user avatar
  • 175
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 ...
iveqy's user avatar
  • 131
8 votes
1 answer
19k 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 ...
Delupara's user avatar
  • 313
3 votes
1 answer
15k 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 ...
Huckle's user avatar
  • 1,025
2 votes
3 answers
2k 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'...
Mathieu Van Nevel's user avatar
1 vote
0 answers
130 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 ...
voices's user avatar
  • 1,282
5 votes
1 answer
4k 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 ...
user123456's user avatar
  • 5,068
8 votes
2 answers
10k 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 ...
Mohammad Etemaddar's user avatar