lgirdk / boardfarm

Automated testing with python
BSD 3-Clause Clear License
21 stars 33 forks source link

How to make a WLAN Docker Container to operate in a particular 802.11 Mode? #207

Open Parumugam opened 5 years ago

Parumugam commented 5 years ago

In order to execute the WiFi Test Matrix for all combinations, we need to force WLAN Client also to operate in specific 802.11 Mode. But right now via Docker Container, we are not able to achieve this.

@ketantewari @mattsm , Can you please help us on this?

mattsm commented 5 years ago

Can you please share the failing commands?

ketantewari commented 5 years ago

root@bft-node-wlp2s0:/# iwpriv wlan1 wlan1 no private ioctls.

root@bft-node-wlp2s0:/#

Container is not able to list down the private api's associated with the base NIC

mattsm commented 5 years ago

What type of wifi device is this?

ketantewari commented 5 years ago

Device name : Intel® Wireless-AC 3168

We'll have to restart the NUC as the default interface name for which it will list the iwpriv is wlp2s0

mattsm commented 5 years ago

So it only works on when the device is named wlp2s0?

mattsm commented 5 years ago

Can you show me a command working on the host and failing in the container?

wifipc@wifipc-desktop:~$ iwpriv wlp2s0 wlp2s0 no private ioctls.