Solved: help for having VLANs setup across spare router ports

Started by hoondi, June 20, 2024, 10:30:01 AM

Previous topic - Next topic
Yes,
my 192.168.140.0/24 on OPNSense is the original LAN interface and thus untagged.
Right at the beginning, I changed all my Unifi devices to match this network which is what I understand they like to  call VLAN1 from memory, even though it's not a tagged/logical network.
So I "manage" OPNSense and all Unify switches on the same untagged network.

Cheers

just setup a new box.

added mimugmail's repo: https://github.com/mimugmail/opn-repo

***GOT REQUEST TO INSTALL***
Currently running OPNsense 24.7_9 at Mon Jul 29 23:37:04 AEST 2024
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
The following 48 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
   alsa-lib: 1.2.11 [mimugmail]
   brotli: 1.1.0,1 [OPNsense]
   dejavu: 2.37_3 [mimugmail]
   encodings: 1.1.0,1 [mimugmail]
   font-bh-ttf: 1.0.3_5 [mimugmail]
   font-misc-ethiopic: 1.0.4 [mimugmail]
   font-misc-meltho: 1.0.3_5 [mimugmail]
   fontconfig: 2.15.0_3,1 [OPNsense]
   freetype2: 2.13.2 [OPNsense]
   giflib: 5.2.2 [OPNsense]
   graphite2: 1.3.14 [mimugmail]
   harfbuzz: 9.0.0 [OPNsense]
   javavmwrapper: 2.7.10 [mimugmail]
   jbigkit: 2.1_3 [OPNsense]
   jpeg-turbo: 3.0.3 [OPNsense]
   lcms2: 2.16_2 [mimugmail]
   lerc: 4.0.0 [OPNsense]
   libICE: 1.1.1,1 [mimugmail]
   libSM: 1.2.3_1,1 [mimugmail]
   libX11: 1.8.9,1 [mimugmail]
   libXau: 1.0.9_1 [mimugmail]
   libXdmcp: 1.1.5 [mimugmail]
   libXext: 1.3.6,1 [mimugmail]
   libXfixes: 6.0.0_1 [mimugmail]
   libXi: 1.8_1,1 [mimugmail]
   libXrandr: 1.5.2_1 [mimugmail]
   libXrender: 0.9.10_2 [mimugmail]
   libXt: 1.3.0,1 [mimugmail]
   libXtst: 1.2.3_3 [mimugmail]
   libdeflate: 1.20 [OPNsense]
   libfontenc: 1.1.8 [OPNsense]
   libunwind: 20240221 [OPNsense]
   libxcb: 1.17.0 [mimugmail]
   mkfontscale: 1.2.3 [mimugmail]
   mongodb60: 6.0.15_3 [mimugmail]
   openjdk17: 17.0.11+9.1 [mimugmail]
   os-unifi-maxit: 1.3 [mimugmail]
   pcre: 8.45_4 [OPNsense]
   png: 1.6.43 [OPNsense]
   snappy: 1.2.1 [mimugmail]
   snappyjava: 1.1.10.5 [mimugmail]
   snowballstemmer: 2.2.0 [mimugmail]
   tiff: 4.6.0 [OPNsense]
   unifi8: 8.2.93 [mimugmail]
   xorg-fonts-truetype: 7.7_1 [mimugmail]
   xorgproto: 2024.1 [mimugmail]
   yaml-cpp: 0.8.0 [mimugmail]
   zstd: 1.5.6 [OPNsense]

Number of packages to be installed: 48

The process will require 754 MiB more space.
341 MiB to be downloaded.
[1/48] Fetching png-1.6.43.pkg: .......... done
[2/48] Fetching javavmwrapper-2.7.10.pkg: ... done
[3/48] Fetching libxcb-1.17.0.pkg: .......... done
[4/48] Fetching freetype2-2.13.2.pkg: .......... done
[5/48] Fetching jpeg-turbo-3.0.3.pkg: .......... done
[6/48] Fetching libXt-1.3.0,1.pkg: .......... done
[7/48] Fetching libXrandr-1.5.2_1.pkg: .... done
[8/48] Fetching os-unifi-maxit-1.3.pkg: . done
[9/48] Fetching lcms2-2.16_2.pkg: .......... done
[10/48] Fetching openjdk17-17.0.11+9.1.pkg: .......... done
[11/48] Fetching snowballstemmer-2.2.0.pkg: .......... done
[12/48] Fetching mkfontscale-1.2.3.pkg: ... done
[13/48] Fetching libdeflate-1.20.pkg: ......... done
[14/48] Fetching libXfixes-6.0.0_1.pkg: .. done
[15/48] Fetching snappyjava-1.1.10.5.pkg: .......... done
[16/48] Fetching font-misc-ethiopic-1.0.4.pkg: .......... done
[17/48] Fetching libX11-1.8.9,1.pkg: .......... done
[18/48] Fetching giflib-5.2.2.pkg: ......... done
[19/48] Fetching libXrender-0.9.10_2.pkg: .... done
[20/48] Fetching xorgproto-2024.1.pkg: .......... done
[21/48] Fetching libXtst-1.2.3_3.pkg: ... done
[22/48] Fetching libXi-1.8_1,1.pkg: .......... done
[23/48] Fetching yaml-cpp-0.8.0.pkg: .......... done
[24/48] Fetching graphite2-1.3.14.pkg: .......... done
[25/48] Fetching encodings-1.1.0,1.pkg: .......... done
[26/48] Fetching alsa-lib-1.2.11.pkg: .......... done
[27/48] Fetching harfbuzz-9.0.0.pkg: .......... done
[28/48] Fetching snappy-1.2.1.pkg: ..... done
[29/48] Fetching libfontenc-1.1.8.pkg: ... done
[30/48] Fetching libunwind-20240221.pkg: .......... done
[31/48] Fetching zstd-1.5.6.pkg: .......... done
[32/48] Fetching font-bh-ttf-1.0.3_5.pkg: .......... done
[33/48] Fetching mongodb60-6.0.15_3.pkg: .......... done
[34/48] Fetching brotli-1.1.0,1.pkg: .......... done
[35/48] Fetching libXext-1.3.6,1.pkg: .......... done
[36/48] Fetching libXau-1.0.9_1.pkg: .. done
[37/48] Fetching libICE-1.1.1,1.pkg: .......... done
[38/48] Fetching fontconfig-2.15.0_3,1.pkg: .......... done
[39/48] Fetching pcre-8.45_4.pkg: .......... done
[40/48] Fetching libSM-1.2.3_1,1.pkg: ... done
[41/48] Fetching jbigkit-2.1_3.pkg: ........ done
[42/48] Fetching font-misc-meltho-1.0.3_5.pkg: .......... done
[43/48] Fetching libXdmcp-1.1.5.pkg: .. done
[44/48] Fetching tiff-4.6.0.pkg: .......... done
[45/48] Fetching xorg-fonts-truetype-7.7_1.pkg: . done
[46/48] Fetching dejavu-2.37_3.pkg: .......... done
[47/48] Fetching unifi8-8.2.93.pkg: .......... done
[48/48] Fetching lerc-4.0.0.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/48] Installing xorgproto-2024.1...
[1/48] Extracting xorgproto-2024.1: .......... done
[2/48] Installing libXau-1.0.9_1...
[2/48] Extracting libXau-1.0.9_1: .......... done
[3/48] Installing libXdmcp-1.1.5...
[3/48] Extracting libXdmcp-1.1.5: ......... done
[4/48] Installing png-1.6.43...
[4/48] Extracting png-1.6.43: .......... done
[5/48] Installing libxcb-1.17.0...
[5/48] Extracting libxcb-1.17.0: .......... done
[6/48] Installing brotli-1.1.0,1...
[6/48] Extracting brotli-1.1.0,1: .......... done
[7/48] Installing freetype2-2.13.2...
[7/48] Extracting freetype2-2.13.2: .......... done
[8/48] Installing libX11-1.8.9,1...
[8/48] Extracting libX11-1.8.9,1: .......... done
[9/48] Installing libfontenc-1.1.8...
[9/48] Extracting libfontenc-1.1.8: ......... done
[10/48] Installing jpeg-turbo-3.0.3...
[10/48] Extracting jpeg-turbo-3.0.3: .......... done
[11/48] Installing mkfontscale-1.2.3...
[11/48] Extracting mkfontscale-1.2.3: ....... done
[12/48] Installing libdeflate-1.20...
[12/48] Extracting libdeflate-1.20: .......... done
[13/48] Installing libXfixes-6.0.0_1...
[13/48] Extracting libXfixes-6.0.0_1: ....... done
[14/48] Installing zstd-1.5.6...
[14/48] Extracting zstd-1.5.6: .......... done
[15/48] Installing libXext-1.3.6,1...
[15/48] Extracting libXext-1.3.6,1: .......... done
[16/48] Installing libICE-1.1.1,1...
[16/48] Extracting libICE-1.1.1,1: .......... done
[17/48] Installing fontconfig-2.15.0_3,1...
[17/48] Extracting fontconfig-2.15.0_3,1: .......... done
[18/48] Installing jbigkit-2.1_3...
[18/48] Extracting jbigkit-2.1_3: .......... done
[19/48] Installing lerc-4.0.0...
[19/48] Extracting lerc-4.0.0: ........ done
[20/48] Installing font-misc-ethiopic-1.0.4...
[20/48] Extracting font-misc-ethiopic-1.0.4: ... done
[21/48] Installing libXrender-0.9.10_2...
[21/48] Extracting libXrender-0.9.10_2: .......... done
[22/48] Installing libXi-1.8_1,1...
[22/48] Extracting libXi-1.8_1,1: .......... done
[23/48] Installing graphite2-1.3.14...
[23/48] Extracting graphite2-1.3.14: .......... done
[24/48] Installing encodings-1.1.0,1...
[24/48] Extracting encodings-1.1.0,1: .......... done
[25/48] Installing font-bh-ttf-1.0.3_5...
[25/48] Extracting font-bh-ttf-1.0.3_5: .......... done
[26/48] Installing libSM-1.2.3_1,1...
[26/48] Extracting libSM-1.2.3_1,1: .......... done
[27/48] Installing font-misc-meltho-1.0.3_5...
[27/48] Extracting font-misc-meltho-1.0.3_5: .......... done
[28/48] Installing tiff-4.6.0...
[28/48] Extracting tiff-4.6.0: .......... done
[29/48] Installing dejavu-2.37_3...
[29/48] Extracting dejavu-2.37_3: .......... done
[30/48] Installing javavmwrapper-2.7.10...
[30/48] Extracting javavmwrapper-2.7.10: .......... done
[31/48] Installing libXt-1.3.0,1...
[31/48] Extracting libXt-1.3.0,1: .......... done
[32/48] Installing libXrandr-1.5.2_1...
[32/48] Extracting libXrandr-1.5.2_1: .......... done
[33/48] Installing lcms2-2.16_2...
[33/48] Extracting lcms2-2.16_2: .......... done
[34/48] Installing snowballstemmer-2.2.0...
[34/48] Extracting snowballstemmer-2.2.0: ..... done
[35/48] Installing giflib-5.2.2...
[35/48] Extracting giflib-5.2.2: .......... done
[36/48] Installing libXtst-1.2.3_3...
[36/48] Extracting libXtst-1.2.3_3: .......... done
[37/48] Installing yaml-cpp-0.8.0...
[37/48] Extracting yaml-cpp-0.8.0: .......... done
[38/48] Installing alsa-lib-1.2.11...
[38/48] Extracting alsa-lib-1.2.11: .......... done
[39/48] Installing harfbuzz-9.0.0...
[39/48] Extracting harfbuzz-9.0.0: .......... done
[40/48] Installing snappy-1.2.1...
[40/48] Extracting snappy-1.2.1: .......... done
[41/48] Installing libunwind-20240221...
[41/48] Extracting libunwind-20240221: .......... done
[42/48] Installing pcre-8.45_4...
[42/48] Extracting pcre-8.45_4: .......... done
[43/48] Installing xorg-fonts-truetype-7.7_1...
[44/48] Installing openjdk17-17.0.11+9.1...
[44/48] Extracting openjdk17-17.0.11+9.1: .......... done
[45/48] Installing snappyjava-1.1.10.5...
[45/48] Extracting snappyjava-1.1.10.5: ..... done
[46/48] Installing mongodb60-6.0.15_3...
===> Creating groups
Creating group 'mongodb' with gid '922'
===> Creating users
Creating user 'mongodb' with uid '922'
===> Creating homedir(s)
[46/48] Extracting mongodb60-6.0.15_3: ........ done
[47/48] Installing unifi8-8.2.93...
===> Creating groups
Creating group 'unifi' with gid '975'
===> Creating users
Creating user 'unifi' with uid '975'
[47/48] Extracting unifi8-8.2.93: .......... done
[48/48] Installing os-unifi-maxit-1.3...
[48/48] Extracting os-unifi-maxit-1.3: .......... done
Stopping configd...done
Starting configd.
Migrated OPNsense\Unifi\General from 0.0.0 to 0.0.1
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Unifi: OK
Running fc-cache to build fontconfig cache...
=====
Message from freetype2-2.13.2:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
   cff:no-stem-darkening=1 \
   autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from dejavu-2.37_3:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

   Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

   FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
=====
Message from pcre-8.45_4:

--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLed by upstream, use devel/pcre2 instead.
=====
Message from openjdk17-17.0.11+9.1:

--
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

   mount -t fdescfs fdesc /dev/fd
   mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

   fdesc   /dev/fd      fdescfs      rw   0   0
   proc   /proc      procfs      rw   0   0
=====
Message from mongodb60-6.0.15_3:

--
MongoDB on Rasperry Pi can work but is unsupported upstream.
Please read https://jira.mongodb.org/browse/SERVER-71772 if you run this on a non-LSE ARM cpu.
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***


Unifi is up and accessible after enabling in the plugin section. see attached.

I guess I'll log it as a bug with mimugmail and see what happens.

mimugmail suggested I "allow all" across all interfaces as a temp test.

Unify could be reached after that...  :-[

Even tho I was testing with a client PC on the same subnet (192.168.140.0/24), I had to add a pass rule to 192.168.140.1:8080 before I could get to it with bridges in the mix. (don't need this rule with just basic LAN/WAN setup)