Cannot get plug-isn and Jails to comunicate reliably

Status
Not open for further replies.

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
My network is via

NT3BB-1PWN-127 router


DHCP is enabled and is from 192.168.1.2 to 192.168.1.30


My Network addresses are as below as Static addresses. If I pick an address out of the above range the Router does not like it.


192.168.1.2 40:16:7E:28:27:A8 FreeNAS

192.168.1.3 08:ED:B9:27:5B:F1 Laptop

192.168.1.4 E8:4E:06:19:30:6A Raspberry Pi (Openelec)

192.168.1.5 04:54:53:58:CB:F7 Ipad

192.168.1.6 A8:FA:d8:0D:49:E3 Iphone

192.168.1.8 24:AB:81:4C:d8:F0 Iphone

192.168.1.9 00:EB:2D:24:73:0B Andriod Phone




Steps (Following the FreeNAS quick start guide):

1. Download FreeNAS-9.2.1.6-RELEASE-x64.img.xz and unzip as FreeNAS-9.2.1.6-RELEASE-x64.img

2. Install my 8gb Cruzer fit and use Win32DiskImager to Write the image.

3. Install into my FreeNAS box

4. Set the root password

5. Set the Administrative Email Address (I did not enter a password for this – don’t understand why I need to)

6. Enabled console logging

7. Configured my storage, I already had storage so I used ‘Auto Import Storage’. Volume is NAS_Volume. In this volume I have two datasets called Documents and Media.

8. Created a user Chris_joyson, Group Wheel and Disabled password login.

9. Configure permissions, I followed Zullafelds lead (http://forums.freenas.org/index.php...ssion-and-couchpotato-as-a-dlna-server.17165/) and set all my Folders to Nobody and no group with full access for all,recursively. Permission type as Unix.

10. Configured my Share as CIFS to ensure could do everything with my laptop. Share name Media path /mnt/Nas_Volume/Media’. Apply Default Permissions, Browsable to Network Clients and Allow Guest Access checked.

11. Rebooted both my Computer and my FreeNAS as I could not see my share on my laptop. I could get to it via \\192.168.1.2 through explorer but it did state I needed to input a password. After rebooting the access was ok though I still needed to use \\192.168.1.2.

12. Checked Settings>General and set my time zone to Asia/Bangkok and my WebGUI IPv4 Address to 192.168.1.2.

13. Enabled Console logging in Settings>Advanced.

14. In Network Settings>Global configuration set the IPv4 Default Gateway and the Nameserver 1 to 192.168.1.1 (my Router Address).

Setting up my Jails

1. Created a dataset called Programs, under NAS_Volume, as a share type Unix, turning Atime and ZFS Deduplication off and inherit for the compression level.

2. Set the permissions as Nobody & Nogroup with full access recursively.

3. Configure jails with Jail Root: /mnt/Nas_Volume/Programs, IPv4 Network 192.168.1.0/24 and network range 192.168.1.20 to192.168.1.30.

4. Install plugin SABnzbd Via plugins -Successful. Jail shows up in Jails as sabnzbd_1.

5. Try to Ping to My Router, Laptop and External
Ping 192.168.1.1 – no reply. Jail shell does not allow any other commands, close jail shell.
ping 192.168.1.2 –success but replies don’t appear to stop. Shut down jail Shell at icmp_seq=47.

6. Check sabnzbd_1 via edit. IPV4 address for Jail- 192.168.1.20 Mac Address 02:ab:71:00:08:0b.
autostart and Vimage checked.
Sysctls: allow.raw_sockets=true.
all other boxes blank.

7. If config from jail:

Code:
root@sabnzbd_1:/ # ifconfig                                                
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384          
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>              
        inet6 ::1 prefixlen 128                                            
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1                         
        inet 127.0.0.1 netmask 0xff000000                                  
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>                          
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>                                                
        ether 02:ab:71:00:08:0b                                            
        inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255       
        nd6 options=9<PERFORMNUD,IFDISABLED>                               
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                
        status: active


8. If config from Shell:

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384          
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>              
        inet6 ::1 prefixlen 128                                            
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5                         
        inet 127.0.0.1 netmask 0xff000000                                  
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>                          
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:9b:ef:f7:10:00                                            
        nd6 options=9<PERFORMNUD,IFDISABLED>                               
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15        
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200           
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0           
        member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>      
                ifmaxaddr 0 port 7 priority 128 path cost 2000             
        member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>          
                ifmaxaddr 0 port 1 priority 128 path cost 200000           
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500                                                                      
        options=8<VLAN_MTU>                                                
        ether 02:ab:71:00:07:0a                                            
        nd6 options=1<PERFORMNUD>                                          
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                
        status: active



9. Set up Network>Interfaces em0 as Asus-1, IPv4 address 192.168.1.2/24, Options: promisc.

10. Reboot.

11. Tried Accessing jails – Warning must set Default gateway: Network> Global Configutation. Therefore set up as 14 above again (must have forgot to save).

12. Try to Ping to My Router, Laptop and External from jail.
Ping 192.168.1.1 – Ping : sendto: Host is down.
ping 192.168.1.2 – Ping : sendto: Host is down.

13. Try setting DHCP on Asus-1 network interface.

14. Reboot.

15. Try to Ping to My Router, Laptop and External from jail.
Ping 192.168.1.1 – no reply. Jail shell does not allow any other commands, close jail shell.
ping 192.168.1.2 –success but replies don’t appear to stop. Shut down jail Shell at icmp_seq=6.

16. Stop DHCP on Asus-1 network interface and set static address in router.

17. Try to Ping to My Router, Laptop and External from jail.
Ping 192.168.1.1 – no reply. Jail shell does not allow any other commands, close jail shell.

18. Reboot.

19. Cannot connect to Freenas

20. So time to start again.

Sorry I did not do a log download as I cannot get into my GUI now and my NAS is headless.

Some questions:

a. Should I set the interface before creating a jail so promiscuous mode is already enabled as Vimage requires it according to the Manual.

b. Should I use Vimage at all?

c. Should I use Static addresses for the Jails, I had them working once like this but this did not last long.

d. Finally From the sequence above WHERE AM I GOING WRONG??
 
Last edited:

Christopher Joyson

Contributor
Joined
May 22, 2014
Messages
105
So Try again!!!

Set my network IP pool to 192.168.1.2 to 198.168.1.19 as I don’t see any more than 18 Machines on my Network. I want only one plug-in Jail and I want to set that as 192.168.1.20

192.168.1.3 08:ED:B9:27:5B:F1 Laptop


Steps (Following the FreeNAS quick start guide):

1. Previous steps 1-5 the same
2. Show console messages in the footer
3. Configured my storage, I already had storage so I used ‘Auto Import Storage’. Volume is NAS_Volume. In this volume I have two datasets called Documents and Media.
4. Created a user Chris_joyson, Group Wheel and Disabled password login.
5. Configure permissions, I followed Zullafelds lead (http://forums.freenas.org/index.php...ssion-and-couchpotato-as-a-dlna-server.17165/) and set all my Folders to Nobody and no group with full access for all,recursively. Permission type as Unix.
6. In Network Settings>Global configuration set the IPv4 Default Gateway and Nameserver 1 to 192.168.1.1 (my Router Address).
7. Set up Network>Interfaces em0 as Asus-1, IPv4 address 192.168.1.2/24, Options: promisc.
8. Ifconfig from Shell:

Code:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384           
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>               
        inet6 ::1 prefixlen 128                                             
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5                          
        inet 127.0.0.1 netmask 0xff000000                                   
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>                           
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:9b:ef:f7:10:00                                             
        nd6 options=1<PERFORMNUD>                                           
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15         
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200            
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0            
        member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>       
                ifmaxaddr 0 port 7 priority 128 path cost 2000              
        member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>           
                ifmaxaddr 0 port 1 priority 128 path cost 200000            
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu
1500                                                                       
        options=8<VLAN_MTU>                                                 
        ether 02:b6:b7:00:07:0a                                             
        nd6 options=1<PERFORMNUD>                                           
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                 
        status: active 





9. Configured my Share as CIFS to ensure could do everything with my laptop. Share name Media path /mnt/Nas_Volume/Media’. Apply Default Permissions, Browsable to Network Clients and Allow Guest Access checked.
10. I will also have Documents, Photo’s and Plug-in Programs CIFS shares.
11. Rebooted both my Computer and my FreeNAS as I could not see my share on my laptop. I could get to it via \\192.168.1.2 through explorer but it did state I needed to input a password. After rebooting the access was ok though I still needed to use \\192.168.1.2.
12. Checked Settings>General and set time zone to Asia/Bangkok and WebGUI IPv4 Address to 192.168.1.2.


Setting up my Jails

1. Created a dataset called Programs, under NAS_Volume, as a share type Unix turning Atime and ZFS Deduplication off and inherit for the compression level.
2. Set the permissions as Nobody & Nogroup with full access recursively.
3. Configure jails with Jail Root: /mnt/Nas_Volume/Programs, IPv4 Network 192.168.1.0/24 and network range 192.168.1.20 to192.168.1.30.
4. Add Jail “Plug-ins”, IPv4 default gateway as 192.168.1.1, and the Jail IP and MAC addresses were automatically set to 192.168.1.20 and 02:c8:49:00:08:0b.
5. Try to Ping to My Router, Laptop and External from jail.
Ping 192.168.1.1 – Ping : success.
ping 192.168.1.2 – Ping : success
Ping 8.8.8.8 - Success.
6. Install plugin SABnzbd Via Jail(downloaded from http://www.freenas.org/downloads/plugins/9/x64/) -Successful. Jail shows up in Jails as sabnzbd_1.
7. Using Plug-in Programs share Create the following folders in Plug-in Programs/Plug ins/Media:
Downloads with two sub-directories: Complete and Incomplete
Movies
Music
NZb’s
Scripts
Torrents
TV_Shows
Note: , trying to create a folder when adding storage does not work, , as my Install will not create the folders,
Code:
Jul 11 18:31:05 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: The path could not be mounted /mnt/Nas_Volume: Mount failed (64) -> mount: /mnt/Nas_Volume/Programs/Plug-ins/media/any: No such file or directory ]


8. Add the above folders to Plug-ins Jail Media Foldersusing the original folders of the same name in Media Share as the source and the Plug-ins Jail Media Folders as the Destination.
This ensures all my data is saved in my Media share via the Plug ins.
9. Setup SabNzbd Using The above download folders, everything ok Sabnzbd can connect to the internet.
10. Install Sickbeard viadownloaded file using Jails> Plug-Ins>Upload Plugin.
11. Install successful but sickbeard will not turn on.
12. Reboot
13. Sabnzbd turned off and neither will turn on.I can still ping 8.8.8.8 so the jail appears to be ok.
14. Tried deleteing andre-installing the plug-ins but they dont turn on.
15. ifconfig from Jail.
Code:
root@Plug-ins:/ # ifconfig                                                  
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384           
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>               
        inet6 ::1 prefixlen 128                                             
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1                          
        inet 127.0.0.1 netmask 0xff000000                                   
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>                           
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>                                                 
        ether 02:c8:49:00:08:0b                                             
        inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255        
        nd6 options=9<PERFORMNUD,IFDISABLED>                                
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                 
        status: active                                                      
root@Plug-ins:/ #                                                           
                       


This is making me go mad ive been at thi for over a month and I just cannot get Plug-ins to Work.
What step have I missed out or what change should I make??

IS there another file that is needed before I get help??
 

Attachments

  • 11-17-2014.txt
    39.3 KB · Views: 365
Last edited:

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Wish I could help, Im having a similar problem. Hope you got it sorted but I think one reason you're not getting any responses is due to the information overload in your posts. Trim it down a bit.
 
Status
Not open for further replies.
Top