Plugins can't access usen server, indexer, imdb, etc (SABnzbd, CouchPotat, SickBeard)

Status
Not open for further replies.

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
I posted on the huge thread in the past, but have since taken a break from trying to get it run on my FreeNAS server. I just started back up and got all the Plugins installed and running properly except for the problem where it can't access any outside sources. I previously mentioned it in the mega thread and someone asked if I was able to ping it. I remember saying no. I've since lost my bookmarks on the tutorials, could anyone point me in the right direction as to making it possible to Ping my jail and make it possible for me to connect to my usenet server, search providers and so on?
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
oh this is the error i get from SABnzbd

Code:
[Errno 61] Failed to connect: (60, 'timed out')
-1@news.astraweb.com:119
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
oh this is the error i get from SABnzbd

Code:
[Errno 61] Failed to connect: (60, 'timed out')
-1@news.astraweb.com:119

While in your jail userland can you ping google.com? what about 8.8.8.8?
I suspect your jail isn't getting a dns server (which on most home networks is given out by the dhcp provider).
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
I suspect your jail isn't getting a dns server (which on most home networks is given out by the dhcp provider).

The resolv.conf file in the plugin jail is generated based on the DNS values you set in the GUI when configure the network for FreeNAS. I think if you just leave them blank and expect DHCP to give you the values, it doesn't get set in the jail. It's better to just set them manually from the GUI.

I like OpenDNS: 208.67.222.222 or Google DNS 8.8.8.8
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
hmm i think i may have tried to set up the DNS...but i don't think it worked properly.

i've signed up for several sites for dns. what do i need to do to get it set up? set up my router, and also the FreeNAS jail software?
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
The resolv.conf file in the plugin jail is generated based on the DNS values you set in the GUI when configure the network for FreeNAS. I think if you just leave them blank and expect DHCP to give you the values, it doesn't get set in the jail. It's better to just set them manually from the GUI.

I like OpenDNS: 208.67.222.222 or Google DNS 8.8.8.8
should i turn on dynamic DNS in the Services and edit that?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
should i turn on dynamic DNS in the Services and edit that?

No, dynamic DNS has nothing to do with your problem.
You need to set a dhcp server, not sure why your router doesn't give them out but hard settings it to google should work just fine.
FreeNAS GUI > Network > Global Configuration
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
should i turn on dynamic DNS in the Services and edit that?

No, that's something different. It should be under general network settings. Sorry, I don't have a GUI in front of me to tell you specifically.
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
ok. would it be Nameserver 1, 2 and 3?

edit: well i tried putting a DNS server in Nameservers but it says it wants an IPv4 or IPv6 address....

btw i'm using a site http://freedns.afraid.org for my DNS
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
ok now that i'm goign through this things are coming back to me a little.

i remember going into Tomato (my routers Firmware) and going to Static DHCP to set up a new one. The problem I had was that I don't have a MAC address for the Jail. I can't make a second static DHCP for my Jail with the same MAC as my last one i made.

I do have an option in Advanced - DHCP/DNS ill include a screenshot.

C9X4r.jpg


Would that be it?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
ok. would it be Nameserver 1, 2 and 3?

edit: well i tried putting a DNS server in Nameservers but it says it wants an IPv4 or IPv6 address....

Yes, use the ones josh and I posted earlier 208.67.222 and 8.8.8.8

Your router is a whole OTHER ball of wax. If you upgrade to the latest 8.31-Beta2, there is a place now where you can specify and permanent MAC address so you'll get a static ip address from your router. If you don't want to use a beta version, you should still be able to manually configure a static address for the jail.
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
hmm okay i'll look into updating freenas. i'm really novice at networking so i'm sorry if i need shit spelled out for me.

i put the IP in that you suggested now how do I ping it from within the Jail? Access it via SSH?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
hmm okay i'll look into updating freenas. i'm really novice at networking so i'm sorry if i need shit spelled out for me.

i put the IP in that you suggested now how do I ping it from within the Jail? Access it via SSH?

I'm just about to hit my pillow for the night. Basically like I said earlier, if those DNS servers aren't there when you built your jail, they don't make it into the file inside the jail. I'm not sure if there's a way to make FreeNAS update the resolv.conf in the jail, but you'll need to edit /etc/resolv.conf and add them. What you can do is look at your /conf/base/etc/resolv.conf for your FreeNAS system (after you've added them in the GUI), and then copy & paste the contents to the /etc/resolv.conf inside the jail.

Maybe someone else can explain that while I'm sleeping, if not, I'll check back tomorrow evening.
 

jumpy

Explorer
Joined
Nov 3, 2012
Messages
84
well i opened up the resolv.conf file...

Code:
search local
nameserver 8.8.8.8
nameserver 208.67.222.222


it was in the /jail/software/etc folder so im pretty sure its the right one. unless you mean there's another one
 

Mixel

Explorer
Joined
Jan 11, 2014
Messages
50
Same problem here. Strange thing is, its just in the sick beard PBI. resolve.conf is the same in all jails, but just in the sick beard jail i cannot ping outside.
deleting and reinstalling the jail does not work.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Some jails don't ping outside. A better network test is wget www.google.com
 

Mixel

Explorer
Joined
Jan 11, 2014
Messages
50
Solved. Was a router problem (MAC adresses of fixed IP's for jails of course changed after reinstall of PBI). Thanks for your comments!
 
Status
Not open for further replies.
Top