Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Can I run a guest with wlan0 nictype=physical? #2165
Hi. I am a beginner, I've looked around and self-help didn't work too well. Here is my question:
On a Raspberry Pi 3, I want to run hostapd in a guest. How can I move the physical wlan0 interface to the guest?
to no avail.
Thanks in advance.
No LSB modules are available.
It depends on the kernel driver. Typically wifi cards are made of two devices, only one of which is visible on the system, a physical device and then the actual wlan device.
The former is usually called phy0 and the latter wlan0. You need to move the physical device into the container which should then automatically bring the wlan device with it.
Thanks for chiming in Stéphane.
Fundamentally, I want: the base system to be as slim and standard as possible, the guest to run all my custom stuff, like AP, watchdog, VPN etc. I expect this would give me: i. isolation for my guest (e.g. against IP range clashes), ii. easy deployment/migration for my guest.
(BTW: I'm reading your blog series on LXD, awaiting the last 2 installments with bated breath :)
Ok, so just checked with LXD and things seem to be working as expected on Intel: