This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[HOWTO] Install TheBrig - one Jail manager for N4F

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
cookiemonster
Advanced User
Advanced User
Posts: 268
Joined: 23 Mar 2014 02:58
Location: UK
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by cookiemonster »

success ! - The jail was fine, the problem was with the squeezebox touch, it must have had the cached settings tripping it up. Restarted it and it can now connect to LMS.
Many thanks.
Now, to see if I can get a plugin to wake the server up with a magic packet. I'll have to have a think, it might not be possible as this is a server within a server by the looks of it. I'm new to jails.
Main: Xigmanas 11.2.0.4 x64-full-RootOnZFS as ESXi VM with 24GB memory.
Main Host: Supermicro X8DT3 Memory: 72GB ECC; 2 Xeon E5645 CPUs; Storage: (HBA) - LSI SAS 9211-4i with 3 SATA x 1 TB in raidZ1, 1 x 3 TB SAS drive as single stripe, 3 x 4 TB SAS drives in raidZ1.
Spare1: HP DL360 G7; 6 GB ECC RAM; 1 Xeon CPU; 5 x 500 GB disks on H210i
Backup1: HP DL380 G7; 24 GB ECC RAM; 2 Xeon E5645 CPUs; 8 x 500 GB disks on IBM M1015 flashed to LSI9211-IT

Andy22
Starter
Starter
Posts: 54
Joined: 22 Feb 2014 17:16
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Andy22 »

cookiemonster wrote: Now, to see if I can get a plugin to wake the server up with a magic packet. I'll have to have a think, it might not be possible as this is a server within a server by the looks of it. I'm new to jails.
FreeBSD Jails are not "real" VM's, they basically chroot to the new subroot and reroute some system calls and enforce some security rules. If u don't use VIMAGE as network stack (newer feature for jails) it will even reuse the host stack. So think of it like a very lightweight VM, that reuse your host kernel/network stack.

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Roelf »

Andy22 wrote: So u can start the Jail?
How do u test internet connectivity of the Jail?

In the host machine u basically use the commands "jls" to list all jails, "jexec {jailnumber} csh" to start a shell inside the jail.
Inside the jail u can try "pkg update" and see if u get a connection, also check if "resolve.conf" inside the jail has valid dns entries.

Here are some outputs u can post so we can try understand whats wrong. (remove the loopback and ipfw adapters)
on the host machine with a jail started: "jls", "ifconfig", "ipfw list"
inside the jail "ifconfig", "pkg update", "whois google.com".

bye
Andy

PS: The "raw sockets" are only needed to use ping/tracert, so u might get a outside connection even without those enabled. The concept is u "allow" them by "security.jail.allow_raw_sockets=1" in the sysctl.conf and actually "activate" them per jail via "allow.raw_sockets=1" in the "Addition Parameters" field for the jail.
hi Andy

This is what is inside /etc/resolv.conf - the same on the host and the jail
domain local
nameserver 192.168.0.1

192.168.0.1 is the IP of my router - the gateway, and in there i have the DNS (primary and secondary) defined as defined by my ISP.


Here are the outputs i get.
On the host, jail started"
nas4free: etc # jls
JID IP Address Hostname Path
5 192.168.0.61 Plex.local /mnt/Viking/Twin/Jails/Plex

nas4free: etc # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:16:76:20:ab:27
inet 192.168.0.60 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.61 netmask 0xffffffff broadcast 192.168.0.61
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
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 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

nas4free: etc # ipfw list
65535 allow ip from any to any

nas4free: etc # ping www.google.com
PING www.google.com (173.194.34.147): 56 data bytes
64 bytes from 173.194.34.147: icmp_seq=0 ttl=52 time=162.982 ms
64 bytes from 173.194.34.147: icmp_seq=1 ttl=52 time=163.300 ms
64 bytes from 173.194.34.147: icmp_seq=2 ttl=52 time=162.164 ms
64 bytes from 173.194.34.147: icmp_seq=3 ttl=52 time=162.885 ms
64 bytes from 173.194.34.147: icmp_seq=4 ttl=52 time=163.251 ms
64 bytes from 173.194.34.147: icmp_seq=5 ttl=52 time=163.425 ms
64 bytes from 173.194.34.147: icmp_seq=6 ttl=52 time=163.038 ms
64 bytes from 173.194.34.147: icmp_seq=7 ttl=52 time=163.254 ms
64 bytes from 173.194.34.147: icmp_seq=8 ttl=52 time=164.309 ms
64 bytes from 173.194.34.147: icmp_seq=9 ttl=52 time=164.086 ms
^C
--- www.google.com ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 162.164/163.269/164.309/0.573 ms



****INSIDE THE JAIL
root@Plex:/ # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:16:76:20:ab:27
inet 192.168.0.61 netmask 0xffffffff broadcast 192.168.0.61
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>

root@Plex:/ # pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
_http._tcp.pkg.FreeBSD.org
pkg: Error fetching http://pkg.FreeBSD.org/freebsd:9:x86:64 ... st/pkg.txz: No address record

root@Plex:/ # whois http://www.google.com
whois: com.whois-servers.net: hostname nor servname provided, or not known

Andy22
Starter
Starter
Posts: 54
Joined: 22 Feb 2014 17:16
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Andy22 »

try change the nameserver to google "8.8.8.8", this can be done under "System/General/DNS Settings" via webgui. Check if the change is also made inside the jail, if not just manually change it.

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Roelf »

Andy22 wrote:try change the nameserver to google "8.8.8.8", this can be done under "System/General/DNS Settings" via webgui. Check if the change is also made inside the jail, if not just manually change it.
Thanks for the reply
but nope... still not working. I changed resolv.conf both on host and jail - restarted jail, same problem

nas4free: etc # jls
JID IP Address Hostname Path
6 192.168.0.61 Plex.local /mnt/Viking/Twin/Jails/Plex
nas4free: etc # jexec 6 csh
root@Plex:/ # whois www.google.com
whois: com.whois-servers.net: hostname nor servname provided, or not known

Andy22
Starter
Starter
Posts: 54
Joined: 22 Feb 2014 17:16
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Andy22 »

Try setup the host IP/gateway manually via "Network/Lan Management", than do a "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart".

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Roelf »

Andy22 wrote:Try setup the host IP/gateway manually via "Network/Lan Management", than do a "/etc/rc.d/netif restart" and "/etc/rc.d/routing restart".
Configured the LAN on the GUI - it actually did not change anything cause it was all correct.

I need help on your comment "Then do a /etc ...." - how do i do that... ? (sorry - noob, i know...)

Andy22
Starter
Starter
Posts: 54
Joined: 22 Feb 2014 17:16
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Andy22 »

Roelf wrote:
Andy22 wrote:I need help on your comment "Then do a /etc ...." - how do i do that... ? (sorry - noob, i know...)
Just copy&paste those commands into the shell, they will restart services since nas4free cant do this via "service xy restart", so we need to enter the "/etc/rc.d/" directory and call the script there.

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Roelf »

Andy22 wrote:
Roelf wrote:
Andy22 wrote:I need help on your comment "Then do a /etc ...." - how do i do that... ? (sorry - noob, i know...)
Just copy&paste those commands into the shell, they will restart services since nas4free cant do this via "service xy restart", so we need to enter the "/etc/rc.d/" directory and call the script there.
Thanks.
Ok - here's what i get.
nas4free: rc.d # /etc/rc.d/netif restart
Stopping network: lo0 em0 plip0 ipfw0.
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 0x9
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4319b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO>
ether 00:16:76:20:ab:27
inet 192.168.0.60 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier

I noticed the "status: no carrier" - so i did a ping:
nas4free: rc.d # ping http://www.google.com
ping: cannot resolve http://www.google.com: Host name lookup failure

I then tried to start with "/etc/rc.d/netif start"
but still get the same afterwards. I then did a /etc/rc.d/netif stop - which resulted in the server "hanging at" "Stopping Network", and I ended up restarting the NAS (hard restart). After login again - I tried the routing restart command, entered the jail, tried whois, same problem...

Roelf
Starter
Starter
Posts: 25
Joined: 22 Mar 2014 23:54
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Roelf »

SUCCESS... but not with the Brig though...

I restored a previous, pre-"theBrig" setup of N4F, and manually built a jail again as per this link:
http://lameguy.wordpress.com/2013/02/05 ... e-install/
worked first time, can connect, the whole effort.
My 2cent's worth, the first time i used that link (the one i posted) i struggled for long getting the jail running, but now that i have a bit of background, I find the link (manual setup) a bit easier than the Brig. I do feel the bring (like for example the FSTAB editor) to use quite hard-core terms...
Would love to see the work continue on the The Brig though - it's a great piece of kit!
Thanks for all your help

filius27
NewUser
NewUser
Posts: 13
Joined: 16 Jan 2014 22:53
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by filius27 »

Hello,


Install TheBrig problem.


Error when compiling

Code: Select all

fetch -o /tmp/thebrig_install.sh https://github.com/fsbruva/thebrig/raw/working/thebrig_install.sh

chmod a+x /tmp/thebrig_install.sh

/bin/sh /tmp/thebrig_install.sh /mnt/pool/jails

Code: Select all

$ /bin/sh /tmp/thebrig_install.sh /mnt/pool/jails/
Retrieving the most recent version of TheBrig
Unpacking the tarball...
X-Powered-By: PHP/5.5.8
Content-type: text/html


Parse error: syntax error, unexpected '<' in /bin/sh on line 90
You use fresh version

What can I do??
In the script, I can not find this character. '<'


Error on script.

Thanks for help.


filius27 ;)
Last edited by filius27 on 02 Apr 2014 18:39, edited 4 times in total.

Andy22
Starter
Starter
Posts: 54
Joined: 22 Feb 2014 17:16
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by Andy22 »

filius27 wrote: What can I do??
In the script, I can not find this character. '<'
Did u use "fetch" to get the script directly under nas4free shell?
This happens to me sometimes, if i download scripts via windows and just copy them to nas4free via scp. I need to open/edit+save/close such scripts with WinSCP once, so the encoding gets fixed.

filius27
NewUser
NewUser
Posts: 13
Joined: 16 Jan 2014 22:53
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by filius27 »

Hallo,

Same problem with console

Code: Select all

nas4free: / # /bin/sh /tmp/thebrig_install.sh /mnt/pool/jail
[: -eq: unexpected operator
[: -eq: unexpected operator
Retrieving the most recent version of TheBrig
master.zip                                    100% of  181 kB  357 kBps 00m00s
Unpacking the tarball...
x README
x conf/
x conf/bin/
x conf/bin/ftp_amd64
x conf/bin/ftp_i386
x conf/bin/thebrig_fetch.sh
x conf/bin/thebrig_start.php
x conf/bin/thebrig_start.sh
x conf/bin/thebrig_stop.sh
x conf/ext/
x conf/ext/thebrig/
x conf/ext/thebrig/extensions_thebrig.php
x conf/ext/thebrig/extensions_thebrig_check.php
x conf/ext/thebrig/extensions_thebrig_config.php
x conf/ext/thebrig/extensions_thebrig_download.php
x conf/ext/thebrig/extensions_thebrig_edit.php
x conf/ext/thebrig/extensions_thebrig_tarballs.php
x conf/ext/thebrig/extensions_thebrig_tools.php
x conf/ext/thebrig/functions.inc
x conf/ext/thebrig/lang.inc
x conf/ext/thebrig/menu.inc
x conf/ext/thebrig/off_small.png
x conf/ext/thebrig/on_small.png
x conf/freebsd-update.conf
x conf/periodic.conf
x conf/portsnap.conf
x thebrig_install.sh
No input file specified.
You use fresh version
rmdir: temporary: No such file or directory

filius27 :x

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

you install master branch that are really obsolete, please change your last line:

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/pool/jail
to this line:

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/pool/jail 2
notice the 2 ant the end

as is described in step 3: viewtopic.php?f=79&t=3894

this time must work and you install latest working version
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

hhx
NewUser
NewUser
Posts: 10
Joined: 16 Nov 2013 20:31
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by hhx »

Damn, I forgot this "2" at the end of the last line.

Thank you, it's works like magic now. :)
• Gigabyte 790XT-UD4P • AMD Athlon II 245e 45W • 8GB (2 x 2GB, 1 x 4GB) Kingston DDR3 1600MHz • Cooler Master 690 • WD Red 2 x 2TB mirror• Enermax PRO82+ 425W • Intel® Gigabit CT Desktop Adapter • APC Back-UPS 650VA USB •

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by laster13 »

hi all

excuse my english i dont write well, i french

ssh

Code: Select all

fetch -o /tmp/thebrig_install.sh https://github.com/fsbruva/thebrig/raw/working/thebrig_install.sh

Code: Select all

chmod a+x /tmp/thebrig_install.sh

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/NAS-A/Jail 2
i have this error

Code: Select all

Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /root/temporary/conf/bin/change_ver.php on line                             6
Hello new user, We will install TheBrig now
Renaming 64 bit ftp binary
Congratulations! Thebrig installed . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

laster13 wrote:/bin/sh /tmp/thebrig_install.sh /mnt/NAS-A/Jail 2
this line is your error, you must understand what you are doing, in this line you are trying to install jails in /mnt/NAS-A/Jail that is my ool and probably not your pool.

please do a ls /mnt/ to see what is your pool and decide how to install, if your pool are named by example mypool, correct command are:

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/mypool/Jail 2
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

laster13
PowerUser
PowerUser
Posts: 995
Joined: 01 Jun 2013 19:15
Location: France-Marseille
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by laster13 »

Excuse me I'm hurt explains ..

I have written:

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/pool1/Jail 2
pool1 is my data... and i have the error that I have given

Code: Select all

Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /root/temporary/conf/bin/change_ver.php on line                             6
Hello new user, We will install TheBrig now
Renaming 64 bit ftp binary
Congratulations! Thebrig installed . Navigate to rudimentary config tab and push Save
rmdir: temporary: No such file or directory
but it's still work !!

my version is "NAS4Free-x64-LiveUSB-9.2.0.1.943.img"

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

ok, I revise install on latest 9.2 N4F, and yes,

Code: Select all

Warning: file(/var/tmp/temporary/conf/ext/thebrig/lang.inc): failed to open stream: No such file or directory in /root/temporary/conf/bin/change_ver.php on line                             6
error exist I suspect a problem in thebring that is not updated since N4F is on BSD 9.1 but as you say it still works, so the only I can do is wait until alexey123 or fsbruva read this post, and revise/update thebring code.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by alexey123 »

I make fresh install and not see problems
My command is
1.

Code: Select all

fetch https://raw.github.com/fsbruva/thebrig/working/thebrig_install.sh
This command download installer named as thebrig_install.sh into /root folder.
Please, not use another path, such /tmp/thebrig_install.sh, script currently not know determine it. I'll work on it
2.

Code: Select all

sh thebrig_install.sh /mnt/data/app/thebrig 2
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by MikeMac »

alexey123 wrote:I make fresh install and not see problems
Welcome back!

JiePieWie
NewUser
NewUser
Posts: 3
Joined: 16 Jun 2013 20:07
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by JiePieWie »

I've been using a jail since a year now (SABnzbd/Sickbeard) but now i've run in a problem. Last week i installed a new networkcard. Nas4Free is running fine and instead of previously 'sis0' it's using 're0' now when i look at "Network -> Interface management":
Image

But now my jail refuses to start SABnzbd and Sickbeard. I see errors like this example from SABnzbd:
error: [Errno 49] Can't assign requested address
The jail itself is running fine and i can logon to it without issues. What i do see is that according to TheBrig the interface of my jail is still 'sis0':
Image
I think that is the main issue right now. How can i change this without having to reinstall everything ?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

stop your jail, edit it to select new LAN NIC and save, restart.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

JiePieWie
NewUser
NewUser
Posts: 3
Joined: 16 Jun 2013 20:07
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by JiePieWie »

raulfg3 wrote:stop your jail, edit it to select new LAN NIC and save, restart.
Yes, i know that but i can't find the place to change the LAN interface in either TheBrig or in the jailconfig. I see only this in TheBrig/Jail/Edit:
Image


Where should i look ?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

JiePieWie wrote:Where should i look ?
You are doing things well, but thebrig need a changed parameter to save changes (if previosly have LAN and now is LAN) none is saved, so try to change IP from 192.168.1.157/32 to 192.168.1.157/24 this time must work.
PD: post "thebrig" log to see what happens
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

JiePieWie
NewUser
NewUser
Posts: 3
Joined: 16 Jun 2013 20:07
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by JiePieWie »

raulfg3 wrote:
JiePieWie wrote:Where should i look ?
You are doing things well, but thebrig need a changed parameter to save changes (if previosly have LAN and now is LAN) none is saved, so try to change IP from 192.168.1.157/32 to 192.168.1.157/24 this time must work.
PD: post "thebrig" log to see what happens
I'll test it and let you know what happens. Where is that logfile btw ?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

JiePieWie wrote:I'll test it and let you know what happens. Where is that logfile btw ?
if you install the latest working version of thebrig, you can see a new tab named logs, where thebrig saves his own log, and you can configure to see log of packages installed on jails ( like minidlna log, plex log, etc....)
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

locslikes
NewUser
NewUser
Posts: 10
Joined: 30 Mar 2013 01:50
Status: Offline

Video [HOWTO] Install TheBrig

Post by locslikes »

Hi Guys

thanks for all the work here! I have just gone through and got everything working almost perfectly thanks to the forum here and have made a detailed video of the steps i took.

It's here to help so feel free to use it where ever it can help. I also made one of the ownCloud install script as well and will put it in the owncloud forum as well but here is a link to it as well.

How to install and configure TheBrig inside nas4free -> http://youtu.be/5AnUkYh2kzA

Install owncloud in a TheBrig on nas4free -> http://youtu.be/bdXZsL_sj-I

Cheers

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by raulfg3 »

thanks a lot to share it.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
lindsay
Forum Moderator
Forum Moderator
Posts: 282
Joined: 23 Jun 2012 09:59
Location: Steinkjer,Norway
Status: Offline

Re: [HOWTO] Install TheBrig - The default jail manager for N

Post by lindsay »

First time the brig has not been installing OK here or do not show up in extentions

Code: Select all

[2014-06-14 14:30:52]: TheBrig installer!: installer:  successfull

Code: Select all

/bin/sh /tmp/thebrig_install.sh /mnt/data/jail
[: -eq: unexpected operator
[: -eq: unexpected operator
Retrieving the most recent version of TheBrig
fetch: https://github.com/fsbruva/thebrig/archive/master.zip: size of remote file is not known
master.zip                                             181 kB  352 kBps 00m00s
Unpacking the tarball...
x README
x conf/
x conf/bin/
x conf/bin/ftp_amd64
x conf/bin/ftp_i386
x conf/bin/thebrig_fetch.sh
x conf/bin/thebrig_start.php
x conf/bin/thebrig_start.sh
x conf/bin/thebrig_stop.sh
x conf/ext/
x conf/ext/thebrig/
x conf/ext/thebrig/extensions_thebrig.php
x conf/ext/thebrig/extensions_thebrig_check.php
x conf/ext/thebrig/extensions_thebrig_config.php
x conf/ext/thebrig/extensions_thebrig_download.php
x conf/ext/thebrig/extensions_thebrig_edit.php
x conf/ext/thebrig/extensions_thebrig_tarballs.php
x conf/ext/thebrig/extensions_thebrig_tools.php
x conf/ext/thebrig/functions.inc
x conf/ext/thebrig/lang.inc
x conf/ext/thebrig/menu.inc
x conf/ext/thebrig/off_small.png
x conf/ext/thebrig/on_small.png
x conf/freebsd-update.conf
x conf/periodic.conf
x conf/portsnap.conf
x thebrig_install.sh
No input file specified.
You use fresh version
Have ZFS kernel tune and extended view

Refreshed browser and cleared the cached content since early morning ;)
Protected by smoothiebox Red,Green,
Purple,Orange Zones/VLAN`s
Powered by AMD A10-6700T


XigmaNAS Box-1 11.2.0.4 - Omnius (revision 6625)
Platform : x64-embedded on 2X Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Motherboard: ASUS Z10PA-D8, 2xSocket-2011-3
SATA Controllers : 1X Avago Technologies (LSI) SAS2008 and 1x Avago Technologies (LSI) SAS2308
Pool 1 (Media-Pool) 8X4TB in raidz2
Pool 2 (Media-Pool-2) 4X2TB in raidz2 and 2X2TB in mirror mirror and 2X3TB in mirror
Pool 3 (Media-Pool-3) 2X2TB in mirror and 2X4TB in mirror and 2X1TB in mirror

Post Reply

Return to “Jails”