I want to take control of an interface inside a container, based on the adapter type and the host os
I have to check for two things
1. Network manager has to ignore the adapter
2. If adapter is wireless, I have to make sure that step one is solved and then make sure that wpa_supllicant isn't using it (in case Network Manager wasn't installed on the host os and it was handled directly)
so far theses are the cases that I solved. And containers can control any adapter in theses situations
What else should I keep an eye on? Dhcpcd?
(A little background to why I need to know this. I'm trying to come up with a solution for creating an access point regardless of the disro. And in order to keep things clean, and have a uniform foundation I'm using containers - but there are some side effects that prevent a container from controlling an interface, I'm looking for these side affects)
In an unprivileged container, you have little to no control with regards to that. You'll have to edit the lxc config on the host
@robbyoconnor hey, what do you think about this. I'm using docker with privileged access to host networks.
Обсуждают сегодня