Hello, thank you for your reply!
That's what I've thought about. :confused:
It's the only one slot.
Better performance for the WAN interface of the virtual router instead of adding it as Network Device.
Hello! I have two NICs enp3s0 and enp2s0 installed on my Proxmox host.
The plan is to attach 0000:02:00.0 (enp2s0) as PCI Device directly to a VM:
But if I start the VM, all network communication to the host is lost :(
root@mc:~# grep PCI_SLOT_NAME /sys/class/net/enp2s0/device/uevent...
Was my design, but I changed it now like you suggested and I've got one step further. :) Thank you!
Cisco EPC3212
Maybe with this one too. :( It is initially assigning 192.168.100.10 and some seconds later the real public IP. Windows has no troubles with that but pfsense loses 192.168.100.10...
You are right, I've corrected the interfaces to a more reasonable structure:
auto lo
iface lo inet loopback
iface enp3s0 inet manual
auto vmbr0.1
iface vmbr0.1 inet static
address 192.168.22.2/24
gateway 192.168.22.1
auto vmbr0
iface vmbr0 inet manual
bridge-ports...
Hello! I know, there are already many posts to this topic, however I'm stuck with my config. I want to use the one NIC for LAN VLAN (ID 1) and WAN VLAN (ID 100).
Therefore I've configured the bridge as VLAN aware:
auto lo
iface lo inet loopback
iface enp3s0 inet manual
auto vmbr0
iface vmbr0...
Thank you for the hint, that lead me to the solution ... for no obvious reason the /dev/bus/usb/ changed from 001 to 002 :(
So the final working configuration is:
lxc.cgroup2.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir 0 0
lxc.mount.entry...
Yes, it's been in the video group already
root@fr24:~# groups
root video
While testing I found out, that rtl_test executed on the host, sets the group to plugdev (46) :oops:
root@pve:~# ls -al /dev/dvb/adapter0/
total 0
drwxr-xr-x 2 root root 120 Jan 21 19:32 .
drwxr-xr-x 3 root root...
Hi and thank you for this idea. Tried it but still no access in the container:
root@fr24:~# ls -al /dev/dvb/adapter0/
total 0
drwxr-xr-x 2 root root 120 Jan 20 09:01 .
drwxr-xr-x 3 root root 60 Jan 20 09:01 ..
crw-rw---- 1 root video 212, 0 Jan 20 09:01 demux0
crw-rw---- 1 root video...
lxc.mount.entry: /dev/dvb dev/dvb none bind,create=dir
and reboot with directory correctly passed:
root@fr24:/dev/dvb# ls -l
total 0
drwxr-xr-x 2 nobody nogroup 120 Jan 20 09:01 adapter0
but still not working
I removed the blacklisting and restarted the host.
The "c" changed to "l"
root@pve:~# ls -l /dev/* |grep dvb
lrwxrwxrwx 1 root root 22 Jan 20 10:01 212:0 -> ../dvb/adapter0/demux0
lrwxrwxrwx 1 root root 20 Jan 20 10:01 212:1 -> ../dvb/adapter0/dvr0
lrwxrwxrwx 1 root root 20 Jan 20 10:01 212:2...
Oh, that easy :) but still no difference. What confuses me, is that I cannot find the usb dongle anymore in the devices on the host:
root@pve:~# ls -l /dev/* |grep 212
root@pve:~#
Hi!
I'm trying to run an RTL2838 USB dongle within an lxc container. Sadly I'm always getting an error message within the container, which I think is a permission issue:
root@fr24:~# rtl_test
Found 1 device(s):
0: , , SN:
Using device 0: Generic RTL2832U OEM
usb_open error -4
Failed to open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.