thePWNin8r
Cadet
- Joined
- Feb 5, 2018
- Messages
- 6
Your results from ipconfig looks virtually identical to mine, as do the global interface settings.I edited that file and restarted... I have the 192.168.1.1 under Default Gateway and Nameserver 1... no Nameserver 2 since I don't have anything there and i'm still getting nothing... Here the settings I think are pertinent. Am I doing something wrong?
View attachment 26563 View attachment 26564 View attachment 26565
So it was another case of the vnet interface quirk? You may have to reboot after changing that interface value. Let me know if that worked for you.I have a 2 Port NIC... both are plugged into the same switch. Should I switch it to the other port somehow? How would I do that since the jail is set for the vnet0 interface anyways?
Hey guys. I am new to Freenas. I was having the same exact issue where Plex Media Server was unable to load any metadata or transcode to certain devices.
I was just about to ask for the cli instructions for rookies, as i am not at all familiar with Linux command line, so i could not get the commands posted kindly by "John Digital" to parse without error. Interpreting what i could from his command line, and with some log information posted by another user in Bug Report #52548, i was able to piece together what needed to have to resolve this problem on my own using the WebGUI. I thought i should post it here because i am sure i am not the only .nix newbie user of freenas that may not be comfortable with the command line.
So, here i go:
-After installing the Plex Media Server plugin, i stopped it from within the Jails panel of the Freenas WebGUI. Once the Jail has stopped, select "Edit" from the control options to the right (you may have to scroll the page to your right).
Now in "Basic Properties":
-Enable "VNET"
-Enable "Berkeley Packet Filter"
-From the "IPv4 interface" drop-down, select "vnet0"
-For "IPv4 Address", type in the IP address on your local network that you would like to assign to your Plex Server.
-For "IPv4 Netmask" (I won't post a table of subnets here, but if your LAN subnet is 255.255.255.0 like the majority of home networks, select "/24" from the drop-down selector)
-For "Default IPv4 Route" This should be the IP address of your home router or dhcp server. Leaving this value set to use the Default Route assigned to FreeNas didn't work for me.
Now we'll click next and go down to "Jail Properties"
-About 85 to 90 percent of the way scrolling down the page, you'll see "allow.raw_sockets". This is unchecked by default. We need to check this box to enable the "allow.raw_sockets" parameter.
Now we'll click next and go down to "Network Properties"
-The very first value "interfaces". We just want to make sure that this is set correctly. The parameter here should be "vnet0:bridge0"
Click Save all the way down at the bottom of the Jail Edit page.
Now just for the sake of cleanliness, i rebooted my Freenas system after making these changes before even attempting to start the Plex Jail again. My Plex Server is now transcoding wonderfully, and is able to communicate with the outside world to download metadata, movie covers, album art, etc.
Now in "Basic Properties":
-Enable "VNET"
-Enable "Berkeley Packet Filter"
-From the "IPv4 interface" drop-down, select "vnet0"
-For "IPv4 Address", type in the IP address on your local network that you would like to assign to your Plex Server.
-For "IPv4 Netmask" (I won't post a table of subnets here, but if your LAN subnet is 255.255.255.0 like the majority of home networks, select "/24" from the drop-down selector)
-For "Default IPv4 Route" This should be the IP address of your home router or dhcp server. Leaving this value set to use the Default Route assigned to FreeNas didn't work for me.
Now we'll click next and go down to "Jail Properties"
-About 85 to 90 percent of the way scrolling down the page, you'll see "allow.raw_sockets". This is unchecked by default. We need to check this box to enable the "allow.raw_sockets" parameter.
Now we'll click next and go down to "Network Properties"
-The very first value "interfaces". We just want to make sure that this is set correctly. The parameter here should be "vnet0:bridge0"
iocage set ip4_addr="vnet0|192.168.1.99/24" vnet="on" allow_raw_sockets="1" defaultrouter="192.168.1.1" boot="on" plex
The reason you need VNET is so that the jail will have its own network stack, including a unique mac address. If you don't have VNET enabled, then the jail shares its network interface with the main system. Some limited Plex functionality will work without VNET, but transcoding won't.I do not know why the vnet needs to be on specifically. From what I had read people were saying something about Plex needing to know the MAC address and I assume it has something to do with the way Plex is going to bind to the network interface which without this setting on only applies a partial working system. (I hope someone comes along and explains this better, I know I have failed on that front)
However, from the page I linked at the bottom of my last post. Apparently there are stability issues with VNET=ON.
https://iocage.readthedocs.io/en/latest/known-issues.html#known-issues
More on the stability issue: https://github.com/iocage/libiocage/wiki/Network
That is probably why it is disabled or in other words not configured in the plugin from FreeNAS as I would assume they would figure that stability is paramount to functionality.
I guess if VNET enabled is stable enough, the question is why was it decided to have this feature off which breaks a large feature of Plex? (transcoding)
Yes, raw sockets will allow you to do that. However, they are not required for Plex.Thank you for the speedy reply and clarification.
I used raw sockets to allow ping and traceroute from within the plex jail.
I guess if VNET enabled is stable enough, the question is why was it decided to have this feature off which breaks a large function of Plex? (transcoding)
Hey guys. I am new to Freenas. I was having the same exact issue where Plex Media Server was unable to load any metadata or transcode to certain devices.
I was just about to ask for the cli instructions for rookies, as i am not at all familiar with Linux command line, so i could not get the commands posted kindly by "John Digital" to parse without error. Interpreting what i could from his command line, and with some log information posted by another user in Bug Report #52548, i was able to piece together what needed to have to resolve this problem on my own using the WebGUI. I thought i should post it here because i am sure i am not the only .nix newbie user of freenas that may not be comfortable with the command line.
So, here i go:
-After installing the Plex Media Server plugin, i stopped it from within the Jails panel of the Freenas WebGUI. Once the Jail has stopped, select "Edit" from the control options to the right (you may have to scroll the page to your right).
Now in "Basic Properties":
-Enable "VNET"
-Enable "Berkeley Packet Filter"
-From the "IPv4 interface" drop-down, select "vnet0"
-For "IPv4 Address", type in the IP address on your local network that you would like to assign to your Plex Server.
-For "IPv4 Netmask" (I won't post a table of subnets here, but if your LAN subnet is 255.255.255.0 like the majority of home networks, select "/24" from the drop-down selector)
-For "Default IPv4 Route" This should be the IP address of your home router or dhcp server. Leaving this value set to use the Default Route assigned to FreeNas didn't work for me.
Now we'll click next and go down to "Jail Properties"
-About 85 to 90 percent of the way scrolling down the page, you'll see "allow.raw_sockets". This is unchecked by default. We need to check this box to enable the "allow.raw_sockets" parameter.
Now we'll click next and go down to "Network Properties"
-The very first value "interfaces". We just want to make sure that this is set correctly. The parameter here should be "vnet0:bridge0"
Click Save all the way down at the bottom of the Jail Edit page.
Now just for the sake of cleanliness, i rebooted my Freenas system after making these changes before even attempting to start the Plex Jail again. My Plex Server is now transcoding wonderfully, and is able to communicate with the outside world to download metadata, movie covers, album art, etc.