[SOLVED] 16.7 packages?

Started by ELCouz, August 28, 2016, 06:56:03 AM

Previous topic - Next topic
August 28, 2016, 06:56:03 AM Last Edit: August 28, 2016, 06:57:11 PM by franco
Hi,

I just recently switched to opnsense (previous untangle/pfSense).

opnsense is very nice and I now plan to keep it. :)

The last thing I need is to port my scripts to make my front LCD work on my rackmount case.

Is there a way to install vnstat and bwm-ng on opnsense?

Can't find any package manager on the console.

Searching on the forum didn't return good results...


Thanks!.... a lot!!!


Laurent

Hi Laurent,

Welcome.  :)

We do have the possibility to add FreeBSD packages from the command line:

# pkg install vnstat

bwm-ng is not in the packages so I added it and it'll be available in 16.7.3:

https://github.com/opnsense/tools/commit/bd1185dfa79989640bfe326c7b0804b066ca771b

You can also view a list of all available packages and their description by running:

# pkg rquery "%n (%c)"

Note that "packages" is used for FreeBSD style command line tools, while "plugins" is used for GUI-enhanced additions in our nomenclature, something that pfSense also calls "packages". We just don't want to keep confusing people about whether we have a package that has a GUI component. It makes communication and expectations easier to manage.

Some packages are good candidates for plugins, but plugins are largely a community thing from our perspective so that they need to be worked on in order to become a part of the plugin system for others to be installed. In the case of vnstat this has been asked a few times, but nobody stepped up yet. We do have a similar solution now with NetFlow/Insight that might suffice for some.

I hope this helps.


Cheers,
Franco

I just need the bwm-ng and vnstat as program installed without GUI.

They run with a script in the background every 5 seconds to update the rackmount LCD stats (Down/Up Speed , OnPeak/OffPeak usage).

What's is the ETA on 16.7.3?

Sorry for the confusion & thanks for your help!  :)


Have a nice day!

Laurent

Hi Laurent,

ETA for 16.7.3 is Wednesday, but assuming you are on amd64 I pulled the packages from the test build:

# pkg add -f https://pkg.opnsense.org/snapshots/libstatgrab-0.91.txz
# pkg add -f https://pkg.opnsense.org/snapshots/bwm-ng-0.6_2.txz

vnstat should be in the packages. I'm marking this solved, but if you run into problems (or use i386 instead) please let me know.


Cheers,
Franco

Wow thanks!

Is there any way I can contribute back to help you?

I am very impressed by the support you bring, resolving issues faster than even with a paid contract  ;D

Hi Laurent,

Thanks! It's simple: enjoy, spread the word and keep us on our toes. :)


Cheers,
Franco

Quote from: ELCouz on August 28, 2016, 03:51:21 PM
I just need the bwm-ng and vnstat as program installed without GUI.

They run with a script in the background every 5 seconds to update the rackmount LCD stats (Down/Up Speed , OnPeak/OffPeak usage).

Have you tried lcdproc? I've had a rackmount LCD in passthrough mode a while ago and it worked with one of the lcdproc drivers. There's no plugin for lcdproc, but I have a FreeBSD 10.3 VM build environment and compiled lcdproc there. I just copied the files over to my opnsense machine and it worked beautifully.