Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7


/dev/null
9029 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1705218 18-Jan-2017 13:51
2 people support this post
Send private message quote this post

Just a bit of a tip if you've got a network with a USG or Edgerouter (also Mikrotik) if you're managing a few devices set up DHCP Option 43 so UniFi devices automatically show up on the controller ready to adopt. Just do a quick Google.

 

This is simple with the Edgerouter - go into your DHCP server and add "223.165.66.193" into the UniFi Controller portion of your DHCP pool:

 

Click to see full size

 

When I plugged in my UniFi AC Pro it automatically showed up in the controller ready to adopt. Just ensure you're logged into the controller before plugging in your gear but this is often easier than running set-inform on a bunch of devices.

 

Note: This is not really the recommended option as it doesn't allow me to change the controllers IP without your devices going offline. I'll always attempt to ensure they're informing to the controller via DNS but sometimes this is a little more difficult.





824 posts

Ultimate Geek


  # 1710921 27-Jan-2017 23:28
Send private message quote this post

Thanks for putting me onto this Michael.

So this lets you control your access points over the cloud?

 
 
 
 


50 posts

Geek


  # 1745395 21-Mar-2017 21:49
Send private message quote this post

Hey guys, I'm trying to get my parents new Unifi setup on the cloud controller but I can't seem to get it to connect to the cloud controller,

 

 

 

I've tried the Device Discovery extension and it shows up 2 devices with the same MAC and IP addresses, screenshot of what it looks like attached, but when I input the address for the cloud controller and click execute the window closes but nothing changes, I then tried to SSH in and use the command line, and I put in the address as per the first post but nothing comes up in the cloud controller under devices.

 

 

 

Am I missing something? I assume it is a firewall problem blocking outbound somewhere but wanted to check that my thought process was right. My folks are running a Fritzbox as their router if that makes a difference.

 

 

 

Let me know if you can shed any light on this one?

 

 

 

Screenshot of the device discovery attached

 

 

 

 

 

 

Cheers heaps!




/dev/null
9029 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1745488 21-Mar-2017 23:38
Send private message quote this post

Please DM me directly. It would be in the adoption queue and will need to manually adopt it as per the OP.




4326 posts

Uber Geek


  # 1746342 23-Mar-2017 12:06
Send private message quote this post

I've had varied success with the new Ubnt discovery tool. Pretty much just use it now to find the IP quickly and then SSH in and run set-inform. Also a good idea to be logged in to the controller and on your site as it seems a bit funny what site new AP's drop in to. As Michael mentioned, he can just move your AP to your site as required if it pops up somewhere else.




/dev/null
9029 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1747359 25-Mar-2017 01:45
Send private message quote this post

Just since a few people were having problems with informing I've automated the adoption on the server to make it easier. The new script (written in node.js) will automatically adopt and move the device to your site once it detects an inform from an authorized mac address. If you've tried the UniFi controller before but gave up for some reason then I encourage you to give it another shot. Just did some testing tonight and it appears to work quite well:

 

 

I've updated the OP with the information I need from you. You'll still need to set-inform twice however it'll be easier as you can set_inform, wait 5 seconds then do it once more and it'll be done.





1708 posts

Uber Geek

Subscriber

  # 1747556 25-Mar-2017 13:21
Send private message quote this post

Nice! I take it this will make your life easier too, not having to keep your eyes peeled for new adoptions all the time.

 

FWIW to everyone considering Unifi once you do get your devices adopted this system works incredibly well, and requires minimal setup to get a goo functioning network/networks going.


 
 
 
 


4326 posts

Uber Geek


  # 1747619 25-Mar-2017 16:45
Send private message quote this post

Nice. How does it know what site to move the device too? Are you collecting MAC addresses when setting up new sites?



/dev/null
9029 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1747706 25-Mar-2017 20:35
One person supports this post
Send private message quote this post

chevrolux: Nice. How does it know what site to move the device too? Are you collecting MAC addresses when setting up new sites?

 

I'm asking for the mac address of the device(s) people want to add - will be doing it from now on as it saves so much overhead from myself. The script expects a file (named as the site ID) with a list of mac addresses and watches the UniFi logs. When a new device is informed the script checks the files for the mac address and if it finds it will login to the UniFi portal to adopt it and move it to the site ID automatically - the whole process takes 2 seconds start to finish.





2818 posts

Uber Geek

Trusted
Vodafone
Subscriber

  # 1747708 25-Mar-2017 20:54
Send private message quote this post

Love your work @michaelmurfy :-)




Check out my LPFM Radio Station at www.thecheese.co.nz cool


4 posts

Wannabe Geek


  # 1757785 6-Apr-2017 20:01
Send private message quote this post

Hiya,

 


Just wondering what firewall holes you opened inbound/nat rules to make this work for everyone?

I run the controller on my Synology NAS and whilst i have no way near the smarts to automate adoption etc.. i'd like to be able to use my NAS/DOCKER image to control my AP's along with the ones at my parents/mates house as they aren't techy.

 

 

 

Much appreciated

 

 


22900 posts

Uber Geek

Trusted
Subscriber

  # 1757787 6-Apr-2017 20:04
Send private message quote this post

I have just the port that is in the announce URL forwarded to my cloudkey to let offsite things work. No others seem required, but I only have APs out on the internet, not USGs or switches - yet.





Richard rich.ms

243 posts

Master Geek


  # 1769038 22-Apr-2017 20:36
Send private message quote this post

Has anyone else had problems with the main ethernet port going down? At around the same time everyday the port goes down and all wireless devices lose connectivity.

 

Click to see full size

 

 

 

Here's what I've found out.

 

     

  1. I'm not able to ping or SSH to the AP from the wired network.
  2. The wireless network is still visible but since the AP cannot connect to the router (for DHCP), the devices are not assigned an IP address. If I statically assign an IP, I can connect to the AP via wifi.
  3. If I plug an ethernet cable into the secondary port, the AP regains connectivity.
  4. If I run "ip link" in an SSH terminal, br0 state = UP, eth0 state = DOWN.
  5. Here's what I have to do to bring the ethernet port back online. Only then do I get an IP address on my network and can then go through the inform process again.

     

    • Perform a factory reset by pressing the reset button for 5+ seconds.
    • Using an android tablet and the Unfi app, scan the QR code on the bottom of the AP.
    • Ping -t <IP Address of AP> to keep alive.
    • Inform AP

 

Router is an ASUS DSL-N66U (and acts as the DHCP server)

 

AP is powered by the Ubiquiti supplied POE injector. AP has a static DHCP reservation on router.

 

Any ideas?




/dev/null
9029 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 1769076 22-Apr-2017 21:34
Send private message quote this post

@Ruphus I use the same AP as yours and have not had any problems. I've forced a firmware reflash and re-provision of your AP. Just leave it for now and see if it gets any better.





243 posts

Master Geek


  # 1769084 22-Apr-2017 22:01
Send private message quote this post

Thanks. I'll see how it goes at around 3pm tomorrow.

1 | 2 | 3 | 4 | 5 | 6 | 7
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.