[lxc-users] using a 3g modem's /dev/ttyUSB0 under lxc

Daniel Petre daniel.petre at gmail.com
Fri Mar 20 15:14:54 UTC 2015


On 20/03/15 17:05, Daniel Petre wrote:
> Hello,
> can you guys give me a hint where i can read how i can make /dev/ttyUSB0
> (used by a 3G modem) from the linux host available to the lxc container?
> Thanks!

Well, lxc users seem to have already answered my q, so thanks google.
I added in the lxc config for that instance:

lxc.mount.entry = /dev/bus/usb dev/bus/usb none bind,optional,create=dir
lxc.cgroup.devices.allow = c 189:* rwm

And now everything seems okay, sorry for the noise.

>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list