[lxc-users] does lxc container virtualizes wireless card
Divya Vyas
edivya.vyas at gmail.com
Thu Nov 26 12:18:58 UTC 2015
lxc..network.type=phys
passing wlan0 giving error, cannot move wlan0
On Thu, Nov 26, 2015 at 5:31 PM, Luis Michael Ibarra <
michael.ibarra at gmail.com> wrote:
>
>
> 2015-11-26 0:29 GMT-05:00 Divya Vyas <edivya.vyas at gmail.com>:
>
>> 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 <
>> michael.ibarra at gmail.com> wrote:
>>
>>>
>>>
>>> 2015-11-25 21:22 GMT-05:00 Divya Vyas <edivya.vyas at gmail.com>:
>>>
>>>> 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" <dey.ranjib at gmail.com> 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" <edivya.vyas at gmail.com> 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
>>>>>> lxc-users at lists.linuxcontainers.org
>>>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> lxc-users mailing list
>>>>> lxc-users at lists.linuxcontainers.org
>>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>>
>>>>
>>>> _______________________________________________
>>>> lxc-users mailing list
>>>> lxc-users at lists.linuxcontainers.org
>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>
>>>
>>>
>>>
>>> --
>>> Luis Michael Ibarra
>>>
>>> _______________________________________________
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
>
> --
> Luis Michael Ibarra
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151126/9c9ca281/attachment.html>
More information about the lxc-users
mailing list