Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Luc3k

#1
Yes it's true. New graphs are awesome. Thanks for all OPNsense team.
#2
General Discussion / Forum in Polish language
March 15, 2021, 10:24:45 PM
Would it be possible to create a forum in Polish language?
#3
21.1 Legacy Series / Re: Help with configuration Munin
February 14, 2021, 09:47:39 AM
the "nc 192.168.14.1 4949" command returns the following response:

root@Bravo:~ # nc 192.168.14.1 4949
# munin node at Bravo
list
cpu df df_inode hddtemp_smartctl if_bge0 if_bge1 if_errcoll_bge0 if_errcoll_bge1 if_packets_bge0 if_packets_bge1 iostat load memory netstat ntp_193.219.28.2 ntp_213.199.225.40 ntp_54.37.233.160 ntp_94.23.94.78 ntp_kernel_err ntp_kernel_pll_freq ntp_kernel_pll_off ntp_offset ntp_states open_files smart_ada0 swap systat uptime users

I think that is the correct answer. What is your opinion? 

I still don't know where exactly should I put it :

[OPNsense.mydomain.local]
        address 10.0.10.1
        use_node_name yes


/usr/local/etc/munin/munin-node.conf?
#4
Tutorials and FAQs / Re: [Tutorial] Munin-node OPNsense
February 14, 2021, 07:02:01 AM
Hmm... I installed only os-munin-node plugin. Now I have to install munin deamon/master/collector?
I have described my setup here: https://forum.opnsense.org/index.php?topic=21500.msg101053#msg101053

Can you take a look?
#5
Tutorials and FAQs / Re: [Tutorial] Munin-node OPNsense
February 13, 2021, 07:16:31 PM
Where You configured this option?
[OPNsense.mydomain.local]
        address 10.0.10.1
        use_node_name yes
#6
21.1 Legacy Series / Help with configuration Munin
February 13, 2021, 06:15:45 PM
I installed os-munin-node plugin.
Configuration on GUI looks like on screen below. However, the statistics in the browser are not generated .
Plugins in /usr/local/etc/munin/plugins are created (screenshot below) using command "munin-node-configure --suggest" and "/usr/local/sbin/munin-node-configure --shell"
What is configured wrong that the statistics are not showing? I am asking for tips, I have been working on this problem all afternoon today.

OPNsense in version 21.1.1

munin-node.conf

log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid
background 1
setsid 1
user root
group wheel
# Regexps for files to ignore
ignore_file [\#~]$
ignore_file DEADJOE$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$
ignore_file \.sample$

host_name Bravo
cidr_allow 192.168.14.0/16

host *
port 4949


/var/log/munin-node.log

2021/02/13-18:05:13 Munin::Node::Server (type Net::Server::Fork) starting! pid(72790)
Resolved [*]:4949 to [::]:4949, IPv6
Resolved [*]:4949 to [0.0.0.0]:4949, IPv4
Binding to TCP port 4949 on host :: with IPv6
Binding to TCP port 4949 on host 0.0.0.0 with IPv4
Setting gid to "0 0"
2021/02/13-18:06:51 CONNECT TCP Peer: "[192.168.14.20]:56691" Local: "[192.168.14.1]:4949"
2021/02/13-18:06:52 CONNECT TCP Peer: "[192.168.14.20]:56692" Local: "[192.168.14.1]:4949"
2021/02/13-18:07:16 CONNECT TCP Peer: "[192.168.14.20]:56693" Local: "[192.168.14.1]:4949"


Portprobe
/usr/bin/nc -w 10 -z  -4 '192.168.14.1' '4949'
Connection to 192.168.14.1 4949 port [tcp/*] succeeded!
#7
I have a 200/20 Mbit bandwidth. I have configured the bandwidth manager according to this manual: https://docs.opnsense.org/manual/how-tos/shaper_share_evenly.html#

Everything works well.
However, I need to limit the bandwidth to 20/5 Mbit for several ip addresses.
For example:
The addresses 192.168.14.20 and 192.168.14.21 receive a bandwidth of 20/2 Mbit/s.
The rest of the addresses in the network (network mask /16) get the full 200/20 bandwidth.
Is this configuration possible?

In the screens below I present my configuration.
#8
I have similar problem to solve. I have a 200/20 Mbit bandwidth. I have configured the bandwidth manager according to this manual: https://docs.opnsense.org/manual/how-tos/shaper_share_evenly.html#

Everything works well.
However, I need to limit the bandwidth to 20/5 Mbit for several ip addresses.
For example:
The addresses 192.168.14.20 and 192.168.14.21 receive a bandwidth of 20/2 Mbit/s.
The rest of the addresses in the network get the full 200/20 bandwidth.
Is this configuration possible?

I currently have the latest version of OPNsense (21.1)
#9
21.1 Legacy Series / Re: Instalation with raid 1
February 02, 2021, 09:59:53 PM
Thank you for your help. Everything rebuilt well. Now I should disconnect one of the disks and check if everything starts up properly :-)
#10
21.1 Legacy Series / Re: Instalation with raid 1
February 01, 2021, 10:47:00 PM
The disk I want to replace is ada1.
Should I install the boot manager on the ada1 disk after rebuilding?
#11
21.1 Legacy Series / Re: Instalation with raid 1
February 01, 2021, 09:09:00 PM

root@Lan14:~ # gmirror status
           Name    Status  Components
mirror/OPNsense  COMPLETE  ada0 (ACTIVE)
                           ada1 (ACTIVE)



root@Lan14:~ # gmirror list
Geom name: OPNsense
State: COMPLETE
Components: 2
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 584546050
Type: AUTOMATIC
Providers:
1. Name: mirror/OPNsense
   Mediasize: 1000204885504 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e6
Consumers:
1. Name: ada0
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 1
   ID: 2830495722
2. Name: ada1
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 1
   Flags: DIRTY
   GenID: 0
   SyncID: 1
   ID: 4007642130
#12
21.1 Legacy Series / Instalation with raid 1
February 01, 2021, 12:01:35 PM
I've installed OPNsense with two disks which are working with raid 1 (GEOM Mirror). One of disks is almost new (hs 5000 hours of work), but second has 49000 hours of work. I'm planing to replace the second drive with a new one.
Can I ask for little help/instructions/tutorial how replace old disk and rebuild disk array (raid 1)?
#13
20.1 Legacy Series / Re: Midnight Commander missing?
January 31, 2021, 04:47:59 PM
Of course, I meant the resolution displayed on the monitor connected to the server using the VGA connector. This one looks 640x480 or 800x600 which makes it a bit difficult to observe. Is there any way to get a higher resolution when starting the server?

PS. Greetings from Poland, Nowy Sącz city :-)
#14
20.1 Legacy Series / Re: Midnight Commander missing?
January 31, 2021, 08:59:43 AM
Old habits. I can't imagine working without a mc. I would be very grateful if there was any way to restore mc/mc-nox11.

I am still looking for a solution on how to change the resolution in the console to 1024x768 ... I cannot find the appropriate configuration.

PS.
OPNsense made a great impression on me. A piece of good work.
#15
20.1 Legacy Series / Re: Midnight Commander missing?
January 31, 2021, 08:41:26 AM
Yesterday I installed OPNsense (21.1) and i'm trying install Midnight Commander. It is posibility to install mc on 21.1?