ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unifi AP Pro DHCP issue

    IT Discussion
    4
    15
    5.0k
    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.
    • gjacobseG
      gjacobse @brianlittlejohn
      last edited by

      @brianlittlejohn

      Start with the cable. I don't have a PRO, but I have two APs running. Testing the cable is a quick thing.

      Are you using a POE injector as well?

      brianlittlejohnB 1 Reply Last reply Reply Quote 0
      • brianlittlejohnB
        brianlittlejohn @gjacobse
        last edited by

        @gjacobse I'm using a ubiquiti EdgeSwitch with POE, using the same cable I get address info from my dhcp server on my laptop. I have also tried switching the cables out.

        1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          Are they powering on?

          1 Reply Last reply Reply Quote 0
          • brianlittlejohnB
            brianlittlejohn
            last edited by

            Yes, They power on, the show up on the controller with a default 192.168.1.20 address. When I go to adopt it, it starts trying then says adoption failed. I'm guessing it is a DHCP issue, but it may not be...

            1 Reply Last reply Reply Quote 0
            • brianlittlejohnB
              brianlittlejohn
              last edited by brianlittlejohn

              They will adopt if I change the controller to an IP in that network(192.168.1.0/24), but it doesn't do any good for me since it is not in my IP scheme.

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                Are these new AP's?

                getting that 192 address seems like maybe they are hard coded.

                Try resetting the APs

                brianlittlejohnB 1 Reply Last reply Reply Quote 0
                • brianlittlejohnB
                  brianlittlejohn @Dashrender
                  last edited by

                  @Dashrender New APs, the 192 address is what ubiquiti says they will default to when it doesnt get a dhcp. I have reset the device, also used a temp controller on 192 network to upgrade firmware as well... just at a loss at what could be happening...

                  1 Reply Last reply Reply Quote 0
                  • brianlittlejohnB
                    brianlittlejohn
                    last edited by

                    Well, I got it adopted. Still don't know why the AP won't receive a DHCP address. Clients that connect to it will so not sure where the problem is...

                    Here is how I got it to work:

                    1. I ssh'ed in to the AP on the 192.168.1.20 address.

                    2. Edit the following file: /etc/udhcpc/udhcpc

                      UDHCPC_FALLBACK_IP="AVAILABLE_IP_ON_NETWORK"

                      once file is saved, it will auto change the ip to the one specified in the config file.

                    3. Open Unifi Controller, it will show the AP as managed by another controller, force adopt it, then once adopted go in and set the static IP.

                    I'm not sure if this will survive a firmware upgrade, i'll have to wait and see...

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      You have something else going on.

                      Do you have VLAN in use?

                      Do you have a DHCP server on VLAN1 (ie untagged).

                      brianlittlejohnB 1 Reply Last reply Reply Quote 1
                      • brianlittlejohnB
                        brianlittlejohn @JaredBusch
                        last edited by

                        @JaredBusch I know I have something else going on, there is a dhcp server on vlan1 untagged, everything else gets an IP from it. Things connected to the AP get an IP from it... I did read about some issues with unifi AP and Cisco switches... I do have a cisco switch it runs through before hitting the dhcp server...

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          Ah, well in that case, you are stuck in the hard place of watching the packet logs during the dhcp request.

                          1 Reply Last reply Reply Quote 0
                          • brianlittlejohnB
                            brianlittlejohn
                            last edited by

                            It's the weirdest thing... i'm sure I'll come across something else that is broken that will finally point me to the problem... just haven't found it yet.

                            1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              but you're saying that if you plug a laptop into that same cable it will get a DHCP address?

                              1 Reply Last reply Reply Quote 0
                              • brianlittlejohnB
                                brianlittlejohn
                                last edited by

                                correct.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post