Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Seamless roaming

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    265 Posts 9 Posters 104.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • QinnQ
      Qinn @Qinn
      last edited by

      I installed docker and unifi , follow this video https://www.youtube.com/watch?v=FUfruORHRdw without de firewall tweaks, then tried to login and restored The config after it completed, I tried to login and saw that the UAP’s are disconnected. When I login From a desktop using the Software everything is nice, any idea what’s wrong?

      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
      Firmware: Latest-stable-pfSense CE (amd64)
      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Docker would normally be on their network network... Not going to be able to talk to the AP..

        I really wouldn't run the controller in a docker, I would run in own VM.. Much easier to take snapshots that way when you want to update, etc. In case something goes funky.

        6.2.3-25426 update 6?? Where is that?? That makes no sense.. There is no update out that I am aware of for 6.2.3..
        https://www.synology.com/en-us/releaseNote/DS918+

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        QinnQ 1 Reply Last reply Reply Quote 0
        • QinnQ
          Qinn @johnpoz
          last edited by

          @johnpoz no idea john that what it reported

          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
          Firmware: Latest-stable-pfSense CE (amd64)
          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

          QinnQ 1 Reply Last reply Reply Quote 0
          • QinnQ
            Qinn @Qinn
            last edited by Qinn

            @johnpoz I wanne go ahead an try using the Synology (on a different subnet 192.168.5.x then the current controller 192.168.1.x) as controller using docker, following this guys guide, without the firewall part, as my synology has no firewall running. https://lazyadmin.nl/home-network/unifi-controller-on-a-synology-nas-with-docker/

            When I logged in using the ip of the synology accessing port 8443, I restored the backup then logged in and got a, "bad network" and status "disconnect". Duhhh, me still not completely grasping the unifi concept. So I figured out that the UAP has stored the ip of the controller.

            From what I have read I need to ssh into both the UAP's and on the cli do:

            set-inform http://ip-of-controller:8080/inform
            

            ..am I on the right track?

            or is the the way to go using the UI?

            Firefox_Screenshot_2020-06-11T14-41-41.038Z.png

            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
            Firmware: Latest-stable-pfSense CE (amd64)
            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Yeah for your AP and controller to be on different network you need to do L3 adoption..

              Why would you want to do that? Other than making it more complex than it needs to be? Do you run segmented network now? Why do you think the AP and Controller should be on different vlans?

              Docker and vlans on synology not all that simple ;)

              Docker networking is its own thing to be honest.. Not sure what version of DSM that guide was using... But clicking the button to put the docker on the same network as host is no longer there..

              I don't think there is an easy way in the gui to disable the nat that happens between the docker and the host network.. Unless you are a docker guru already - I would really just suggest you run your controller on VM.. This gives you way more control over pretty much everything on the controller and the network its attached too, and really easy to put a vm on a different vlan in DSM..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              QinnQ 1 Reply Last reply Reply Quote 0
              • QinnQ
                Qinn @johnpoz
                last edited by Qinn

                @johnpoz the Synology is in the WLAN as most devices are in the WLAN and the desktop that I am running the controller software is in the LAN, of course I could change this.

                No not a docker guru ;)

                You advise to use a vmm running the controller, can you point me to a config to set this up?

                btw you remarked ". But clicking the button to put the docker on the same network as host is no longer there.." but it is still there...
                Firefox_Screenshot_2020-06-11T15-10-01.229Z.png

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                QinnQ 1 Reply Last reply Reply Quote 0
                • QinnQ
                  Qinn @Qinn
                  last edited by

                  @johnpoz not to push, but if you can find the time, could you point me towards an DIY how to get the controller in vmm on the synology?

                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                  Firmware: Latest-stable-pfSense CE (amd64)
                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    Install whatever OS you want ubuntu, centos, debian - then install the controller package.

                    So does your docker get IP that your host is on when you do that? If so then it would be on the same L2 and you would be able to see your AP, etc.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    QinnQ 1 Reply Last reply Reply Quote 0
                    • QinnQ
                      Qinn @johnpoz
                      last edited by

                      @johnpoz

                      The 2 nanoHD-UAP's are connected by UTP and connect to a managed switch that's connected to pfSense.

                      The nanoHD have 4 VLAN's

                      192.168.5.x - WLAN
                      192.168.3.x - P2P
                      10.0.0x - Guests
                      172.16.20.x - IoT's

                      pfSense and the nanoHD's are in the LAN with 192.168.1.X

                      Is it maybe an idea to give the nanoHD's an IP that is in the same subnet as the Synology namely WLAN?

                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                      Firmware: Latest-stable-pfSense CE (amd64)
                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by johnpoz

                        You want the AP and the Controller in the same L2.. The problem with docker is there is normally a nat this going on.. Which are not the same L2..

                        If your AP and controller on not on the same L2 then you need to use L3 adoption..

                        example

                        ash-4.3# docker network inspect bridge
                        [
                            {
                                "Name": "bridge",
                                "Id": "0f675293ee5c05dfffab0e87768f200646e3355732497445611ae250a0838719",
                                "Created": "2020-06-26T05:22:38.90432023-05:00",
                                "Scope": "local",
                                "Driver": "bridge",
                                "EnableIPv6": false,
                                "IPAM": {
                                    "Driver": "default",
                                    "Options": null,
                                    "Config": [
                                        {
                                            "Subnet": "172.17.0.0/16",
                                            "Gateway": "172.17.0.1"
                                        }
                                    ]
                        

                        then ip masquerade is used to match up ports on the bridge network... This i not the same L2... if docker does put this in the same L2 then it amounts to running multiple L3 on the same L2 which could sure prove problematic for L2 adoption of the AP in your controller. Are your APs adopted by your controller?

                        I would suggest if you want to use your controller in a docker, and L2 adoption is not working - to use L3 adoption..

                        But yes generally speaking your controller and AP (managment ip) would be in the same network.. Unless your wanting to put your management IP of your AP on a vlan.. This vlan could be in the same L2 as your controller, or could be different - which again then you would need to use L3 adoption for your controller to manage your controller.

                        My controller and AP all run on my native vlan (untagged) 192.168.2/24 - I then have a wifi SSID that is in this vlan, this is the vlan I connect my trusted devices to... And then I have 3 other vlans (ssids) on the AP that are in different vlans 192.168.6/24, 192.168.7/24 etc..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        QinnQ 1 Reply Last reply Reply Quote 1
                        • QinnQ
                          Qinn @johnpoz
                          last edited by Qinn

                          @johnpoz Thanks. I finally decided to move the Synology 918+ over to the LAN, so it's in the same subnet as the two UAP-nanoHD's. Then granted the WLAN subnet access to it, installed docker and the container. It's running nicely for 2 hours.

                          Firefox_Screenshot_2020-06-28T15-04-38.654Z.png

                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                          Firmware: Latest-stable-pfSense CE (amd64)
                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by johnpoz

                            Nice.. Yeah I have added a couple dockers as of late as well ;)

                            dockers.png

                            I would be up for moving the controller to docker - but I also leverage that same VM as my linux box when wanting to do something I just ssh to it.. Also as vm its easier to just take snapshots when going some sort of update with controller - as mentioned I always running latest beta version..

                            The updatetool is slick little tool for keeping plex ratings updated with the latest numbers from imdb (runs every 12 hours).. And getting the latest ombi (plex request system) beta up was just easier to do via docker..

                            [INFO ] - 2020-06-28 11:23:03 @ ImdbPipeline.transformMetadata: 7670 item(s) need no update.
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbPipeline.transformMetadata: Transforming 4 item(s)
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbTransformer.updateMetadata: Adjust rating: 7.6 -> 8.0 for The Harvest (2)
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbTransformer.updateMetadata: Adjust rating: 9.0 -> 8.2 for Buffy the Vampire Slayer
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbTransformer.updateMetadata: Adjust rating: 7.5 -> 8.2 for Welcome to the Hellmouth (1)
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbTransformer.updateMetadata: Adjust rating: 7.5 -> 7.4 for First Date
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbTransformer.updateMetadata: (Set) Set IMDB Badge for: First Date
                            [INFO ] - 2020-06-28 11:23:04 @ ImdbPipeline.transformMetadata: Transformed entries for 4 items(s).
                            

                            Glad you got it sorted..

                            edit: Looking at the unifi controller dockers I see, I don't see any on the 5.14 beta line.. So for "me" that would be a reason to just stay with using vm.

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            QinnQ 1 Reply Last reply Reply Quote 0
                            • QinnQ
                              Qinn @johnpoz
                              last edited by Qinn

                              @johnpoz From what I read here beta and docker can play well together https://www.reddit.com/r/Ubiquiti/comments/7tcyjr/unifi_beta_running_in_docker_on_synology/ maybe you wanne give it a try?

                              btw you are using UAP/USW Firmware 4.3.19.11295?

                              Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                              Firmware: Latest-stable-pfSense CE (amd64)
                              Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by

                                No my firmware is 5.20 told you always run the latest betas..

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

                                QinnQ 1 Reply Last reply Reply Quote 0
                                • QinnQ
                                  Qinn @johnpoz
                                  last edited by Qinn

                                  @johnpoz ....did not active the early access setting in my config, thus could not see any beta's. So your on UAP/USW Firmware 5.20.0.11910 ;) btw is there any relation between the firmware and the controller version?
                                  So could I use this beta firmware with the controller version (atag_5.13.29_13635) I have running on docker or do I need UniFi Network Controller 5.14.15, no idea if this one is available for docker?

                                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                  Firmware: Latest-stable-pfSense CE (amd64)
                                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by

                                    You can run beta firmware with the stable controllers sure.. Its just sometimes you won't be able to do X that is in the beta firmware withou the beta contreoller.

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                                    QinnQ 1 Reply Last reply Reply Quote 1
                                    • QinnQ
                                      Qinn @johnpoz
                                      last edited by

                                      @johnpoz I see this Firefox_Screenshot_2020-06-30T09-44-44.362Z.png

                                      any idea why?

                                      Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                      Firmware: Latest-stable-pfSense CE (amd64)
                                      Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                      1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by

                                        Do you have a USG.. That is only available when you have 1 of their routers..

                                        None of this stuff is going to show anything unless you have the stuff
                                        nohide.png

                                        Keep in mind the controller is meant to control like all of their stuff, not just AP..,

                                        If you don't like seeing it just use your fav browser tool to hide it.

                                        hide.png

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                                        QinnQ 1 Reply Last reply Reply Quote 1
                                        • QinnQ
                                          Qinn @johnpoz
                                          last edited by

                                          @johnpoz you mean hide the elements? I would be nice if you could remove these widgets in the controller.

                                          Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                                          Firmware: Latest-stable-pfSense CE (amd64)
                                          Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                                          1 Reply Last reply Reply Quote 0
                                          • JeGrJ
                                            JeGr LAYER 8 Moderator
                                            last edited by

                                            Yes that would be really nice. Or if they would simply open up that speedtest stuff and just run it on the controller if there's no USG so you can just have some values there.

                                            Anyway it is looking like this with one of their new UDMs:

                                            598ea45d-a87c-4b86-9caf-63f73f63f1c6-image.png

                                            So not really missing much, but it would be a really nice touch if they would support speed tests or speed displays via an API or external method. But as they of course like to sell their own gateways ;) I'm not counting on it :)

                                            Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.