lxc..network.type=phys passing wlan0 giving error, cannot move wlan0
On Thu, Nov 26, 2015 at 5:31 PM, Luis Michael Ibarra < [email protected]> wrote: > > > 2015-11-26 0:29 GMT-05:00 Divya Vyas <[email protected]>: > >> Hi, >> >> Actually I am creating a container as wifi hotspot. So I want wlan >> interface to be there on container. >> >> I am not finding a way how to pass wlan0 to container. >> > > Ok, use phys to pass the wireless nic to an specific container namespace > in /var/lib/${container}/config[1]. Keep in mind that the wileress nic > won't be available in the host network namespace or any other container > after you pass it to a container. > > An interface can be only in one network namespace. > > Describe your topology for more information. > > [1] lxc.container.conf(5) > >> >> On Thu, Nov 26, 2015 at 10:03 AM, Luis Michael Ibarra < >> [email protected]> wrote: >> >>> >>> >>> 2015-11-25 21:22 GMT-05:00 Divya Vyas <[email protected]>: >>> >>>> Hi, >>>> Can you please let me know how I can pass wlan0 from conf file. >>>> >>>> I am adding wlan in a bridge. >>>> >>> >>> I answered this in the other thread you created. >>> >>> I still don't understand what do you want to achieve? >>> >>> >>> >>> >>>> On Nov 26, 2015 12:09 AM, "Ranjib Dey" <[email protected]> wrote: >>>> >>>>> I don't think so. However you can pass any physical interface using >>>>> the config, including wlan0. Note you won't be able to use that on host >>>>> machine after this, and also u have to run lxc in privileged mode >>>>> On Nov 25, 2015 3:47 AM, "Divya Vyas" <[email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am not able to get wlan on my container >>>>>> >>>>>> iwconfig >>>>>> >>>>>> iwconfig >>>>>> lo no wireless extensions. >>>>>> >>>>>> tunl0 no wireless extensions. >>>>>> >>>>>> eth0 no wireless extensions. >>>>>> >>>>>> tun0 no wireless extensions. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> lxc-users mailing list >>>>>> [email protected] >>>>>> http://lists.linuxcontainers.org/listinfo/lxc-users >>>>>> >>>>> >>>>> _______________________________________________ >>>>> lxc-users mailing list >>>>> [email protected] >>>>> http://lists.linuxcontainers.org/listinfo/lxc-users >>>>> >>>> >>>> _______________________________________________ >>>> lxc-users mailing list >>>> [email protected] >>>> http://lists.linuxcontainers.org/listinfo/lxc-users >>>> >>> >>> >>> >>> -- >>> Luis Michael Ibarra >>> >>> _______________________________________________ >>> lxc-users mailing list >>> [email protected] >>> http://lists.linuxcontainers.org/listinfo/lxc-users >>> >> >> >> _______________________________________________ >> lxc-users mailing list >> [email protected] >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > > -- > Luis Michael Ibarra > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
