Jump to content

FreeBSD Package


Luke

Recommended Posts

makarai

ok, so i just put it in DHCP and it is restarting now.

 

Ok your nas should have a different ip now.  when its restarted 

 

post the output of ipconfig, then try to install irrsi again and check in ipconfig if the vnet0 interface has been created.

Link to comment
Share on other sites

hjason7812

Ok your nas should have a different ip now.  when its restarted 

 

post the output of ipconfig, then try to install irrsi again and check in ipconfig if the vnet0 interface has been created.

 

Actually it didn't get a new ip, even though it is supposed to

Link to comment
Share on other sites

makarai

ok, so i just put it in DHCP and it is restarting now.

 

 

Edit: Server came back up tried to install random plugin and got the same error

 

 

Can you give me the output of:

uname -a

,

cat /etc/version

and 

ifconfig
Edited by makarai
Link to comment
Share on other sites

adrianwi

It does sound like your FreeNAS networking isn't configured correctly.

 

I'd try the following in the FreeNAS shell:

 

> iocage activate

> iocage fetch -r LATEST

> iocage create -r LATEST -n test

  • Like 1
Link to comment
Share on other sites

hjason7812

 

Can you give me the output of:

uname -a

,

cat /etc/version

and 

ifconfig

 

 

@@freenas ~]# uname -a

FreeBSD freenas.local 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+fc3d65faae6(HEAD): Thu Dec 20 16:12:30 EST 2018     root@@nemesis.tn.ixsystems.com:/freenas-releng-final/freenas/_BE/objs/freenas-releng-final/freenas/_BE/os/sys/FreeNAS.amd64 amd64

@@freenas ~]# cat /etc/version

FreeNAS-11.2-RELEASE-U1 (31f889bbf)

@@freenas ~]# ifconfig

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>

        ether :04:a6:f2:3a:c5

        hwaddr :04:a6:f2:3a:c5

        inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255

        nd6 options=9<PERFORMNUD,IFDISABLED>

        media: Ethernet autoselect (1000baseT <full-duplex>)

        status: active

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 0x2

        inet 127.0.0.1 netmask 0xff000000

        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

        groups: lo

Link to comment
Share on other sites

makarai

Create a new bridge:

ifconfig bridge create 
ifconfig bridge0 addm re0

 post 

ifconfig

try IRRSI (not random)

 

post 

ifconfig
Link to comment
Share on other sites

hjason7812

 

Create a new bridge:

ifconfig bridge create 
ifconfig bridge0 addm re0

 post 

ifconfig

try IRRSI (not random)

 

post 

ifconfig

 

Same error again on install

 

ifconfig

re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500

        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>

        ether :04:a6:f2:3a:c5

        hwaddr :04:a6:f2:3a:c5

        inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255

        nd6 options=9<PERFORMNUD,IFDISABLED>

        media: Ethernet autoselect (1000baseT <full-duplex>)

        status: active

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 0x2

        inet 127.0.0.1 netmask 0xff000000

        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

        groups: lo

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

        ether 02:97:e0:be:22:00

        nd6 options=1<PERFORMNUD>

        groups: bridge

        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: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

                ifmaxaddr 0 port 1 priority 128 path cost 20000

bridge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500

        ether 02:97:e0:be:22:01

        nd6 options=1<PERFORMNUD>

        groups: bridge

        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 0 ifcost 0 port 0

Edited by hjason7812
Link to comment
Share on other sites

makarai

ok my bad, your ifconfig output earlier did not contain a bridge adapter, so this does not help. 

 

repeat the following in order

ifconfig bridge1 destroy
ifconfig bridge0 destroy

ifconfig #check if all bridges are gone
ifconfig bridge create 
ifconfig bridge0 addm re0
ifconfig re0 up 
Edited by makarai
Link to comment
Share on other sites

hjason7812

ifconfig output ?

 

and try irrsi again pls

 

Still the same error :(

 

# ifconfig

re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500

        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>

        ether 54:04:a6:f2:3a:c5

        hwaddr 54:04:a6:f2:3a:c5

        inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255

        nd6 options=9<PERFORMNUD,IFDISABLED>

        media: Ethernet autoselect (1000baseT <full-duplex>)

        status: active

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 0x2

        inet 127.0.0.1 netmask 0xff000000

        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

        groups: lo

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

        ether 02:97:e0:be:22:00

        nd6 options=1<PERFORMNUD>

        groups: bridge

        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: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

                ifmaxaddr 0 port 1 priority 128 path cost 20000

 

 

Thank you for helping by the way..

I think i might have to get on the server console and do some things..

 

But i am really tired so i am heading to bed right now.

Feel free to add some stuff that you think of i could try..

 

Thanks again

Link to comment
Share on other sites

We also maintain the ports version. We should have 4.0 submitted there within a week or so. Thanks.

Thanks, that's good to hear. Using the ports version should be the same as using the regular package, correct?

Link to comment
Share on other sites

makarai

Still the same error :(

 

# ifconfig

re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500

        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>

        ether 54:04:a6:f2:3a:c5

        hwaddr 54:04:a6:f2:3a:c5

        inet 192.168.1.33 netmask 0xffffff00 broadcast 192.168.1.255

        nd6 options=9<PERFORMNUD,IFDISABLED>

        media: Ethernet autoselect (1000baseT <full-duplex>)

        status: active

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 0x2

        inet 127.0.0.1 netmask 0xff000000

        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

        groups: lo

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

        ether 02:97:e0:be:22:00

        nd6 options=1<PERFORMNUD>

        groups: bridge

        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: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

                ifmaxaddr 0 port 1 priority 128 path cost 20000

 

 

Thank you for helping by the way..

I think i might have to get on the server console and do some things..

 

But i am really tired so i am heading to bed right now.

Feel free to add some stuff that you think of i could try..

 

Thanks again

 

 

I helped a guy yesterday with creating a standalone jail,

just give it a try: https://emby.media/community/index.php?/topic/68990-emby-server-wont-start-at-jail-boot-up-term-undefined-variable/&do=findComment&comment=690903

 

 

Can you create a normal jail, with the GUI

 

Jails > Add > fill out name > 11.2-release > next ? DHCP ticked vnet ticked next -> submit 

 

start the jail

#enter the jail shell
pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvorbis webp libx264 libzvbi libraw
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.1.0/emby-server-freebsd_4.0.1.0_amd64.txz
sysrc -f /etc/rc.conf emby_server_enable="YES"
service emby-server start 2>/dev/null
restart jail

if it gets an ip address add port and check

Edited by makarai
Link to comment
Share on other sites

hjason7812

I helped a guy yesterday with creating a standalone jail,

just give it a try: https://emby.media/community/index.php?/topic/68990-emby-server-wont-start-at-jail-boot-up-term-undefined-variable/&do=findComment&comment=690903

 

 

Can you create a normal jail, with the GUI

 

Jails > Add > fill out name > 11.2-release > next ? DHCP ticked vnet ticked next -> submit 

 

start the jail

#enter the jail shell
sudo pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvorbis webp libx264 libzvbi librawpkg 
add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.1.0/emby-server-freebsd_4.0.1.0_amd64.txz sysrc -f /etc/rc.conf emby_server_enable="YES"
service emby-server start 2>/dev/null
restart jail

if it gets an ip address add port and check

 

Ok, i was able to create the jail i went into the jail shell and put in the sudo pkg install it failed and said sudo: command not found and for the add - f it says add: command not found

Link to comment
Share on other sites

hjason7812

Sorry try without sudo

something weird happened after i added the jail, i tried to install emby from the plug in menu again and it installed..

But it is the old version... How do i update it to the new version?

Link to comment
Share on other sites

makarai

something weird happened after i added the jail, i tried to install emby from the plug in menu again and it installed..

But it is the old version... How do i update it to the new version?

 

you dont :( Its based on an old freebsd, has tons of bugs, and when you update it will most likely break. Can you finish the other installation method. Also print out of ifconfig again (maybe you have a vnet adapter now)

Edited by makarai
Link to comment
Share on other sites

hjason7812

you dont :( Its based on an old freebsd, has tons of bugs, and when you update it will most likely break. Can you finish the other installation method.

 

No it won't let me do anything with that line of code it all fails

Link to comment
Share on other sites

makarai

error message?

 

you need to be in the jails shell

pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvorbis webp libx264 libzvbi libraw
Edited by makarai
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...