jpetazzo / pipework

Software-Defined Networking tools for LXC (LinuX Containers)
Apache License 2.0
4.21k stars 727 forks source link

Use iw command to set the namespace of a wireless interface #246

Closed Amine-Zroud closed 2 years ago

Amine-Zroud commented 2 years ago

When trying to move a wireless interface using --direct-phys option, the command is failing with "RTNETLINK answers: Invalid argument" This issue is caused by the following command : ip link set "$GUEST_IFNAME" netns "$NSPID" To fix that we need to use iw iso ip

jpetazzo commented 2 years ago

SGTM, thanks!