Questions tagged [iw]

41 questions
13
votes
1 answer

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 in Wi-Fi Direct mode and I want to make sure…
FettFrank
  • 251
  • 2
  • 6
9
votes
1 answer

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 so I might be biting my tongue. While following…
Delupara
  • 303
  • 2
  • 3
  • 9
8
votes
1 answer

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 Gentoo, Arch-linux , Ubuntu (Cosmic) and Debian…
GAD3R
  • 63,407
  • 31
  • 131
  • 192
8
votes
2 answers

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 hw ether
. Then We can Set two different access points (SSIDs) to each of these inetrfaces using Network…
Mohammad Etemaddar
  • 12,227
  • 7
  • 24
  • 35
5
votes
1 answer

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 not found a suitable example how to accomplish that…
user238756
4
votes
1 answer

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. But if I write the command: iw wlan0 scan it works…
Sguit
  • 71
  • 2
  • 2
  • 5
4
votes
1 answer

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 I just couldn't get it to display the values that…
Terence Chew
  • 43
  • 1
  • 1
  • 3
4
votes
1 answer

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 wlan0.1's using iw I've changed their MAC with…
Stephen
  • 155
  • 10
3
votes
3 answers

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 into the same behavior on all of them. Suppose you're…
user45878
  • 51
  • 1
  • 5
3
votes
1 answer

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 channel width to iw. I've verified that my…
Huckle
  • 975
  • 2
  • 8
  • 30
3
votes
1 answer

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 field for my wifi hotspot (MAC address…
user123456
  • 4,758
  • 11
  • 52
  • 78
2
votes
1 answer

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 stuck on the following problem: I want to have a…
mattdibi
  • 121
  • 1
2
votes
1 answer

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-128 (00-0f-ac:8) * GCMP-256 (00-0f-ac:9) …
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
2
votes
1 answer

What is "cooked mode" wifi monitoring?

The following is an excerpt from iw's help page: dev set monitor * Set monitor flags. Valid flags are: none: no special flags fcsfail: show frames with FCS errors control: show control frames …
voices
  • 1,252
  • 3
  • 15
  • 30
2
votes
0 answers

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 case I don't have any problem and everything…
Dmitry
  • 178
  • 7
1
2 3