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


Mr Snotty
8515 posts

Uber Geek
+1 received by user: 4417

Moderator
Trusted
Lifetime subscriber

  Reply # 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 "45.63.28.169" 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.





721 posts

Ultimate Geek
+1 received by user: 105


  Reply # 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
+1 received by user: 1


  Reply # 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!




Mr Snotty
8515 posts

Uber Geek
+1 received by user: 4417

Moderator
Trusted
Lifetime subscriber

  Reply # 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.




3900 posts

Uber Geek
+1 received by user: 1616

Subscriber

  Reply # 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.




Mr Snotty
8515 posts

Uber Geek
+1 received by user: 4417

Moderator
Trusted
Lifetime subscriber

  Reply # 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.





1659 posts

Uber Geek
+1 received by user: 282

Subscriber

  Reply # 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.


3900 posts

Uber Geek
+1 received by user: 1616

Subscriber

  Reply # 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?



Mr Snotty
8515 posts

Uber Geek
+1 received by user: 4417

Moderator
Trusted
Lifetime subscriber

  Reply # 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.





2712 posts

Uber Geek
+1 received by user: 240

Trusted
Subscriber

  Reply # 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


  Reply # 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

 

 


21983 posts

Uber Geek
+1 received by user: 4642

Trusted
Subscriber

  Reply # 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

191 posts

Master Geek
+1 received by user: 43


  Reply # 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?




Mr Snotty
8515 posts

Uber Geek
+1 received by user: 4417

Moderator
Trusted
Lifetime subscriber

  Reply # 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.





191 posts

Master Geek
+1 received by user: 43


  Reply # 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 »

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 »

Orcon announces new always-on internet service for Small Business
Posted 18-Apr-2019 10:19


Spark Sport prices for Rugby World Cup 2019 announced
Posted 16-Apr-2019 07:58


2degrees launches new unlimited mobile plan
Posted 15-Apr-2019 09:35


Redgate brings together major industry speakers for SQL in the City Summits
Posted 13-Apr-2019 12:35


Exported honey authenticated on Blockchain
Posted 10-Apr-2019 21:19


HPE and Nutanix partner to deliver hybrid cloud as a service
Posted 10-Apr-2019 21:12


Southern Cross and ASN sign contract for Southern Cross NEXT
Posted 10-Apr-2019 21:09


Data security top New Zealand consumer priority when choosing a bank
Posted 10-Apr-2019 21:07


Samsung announces first 8K screens to hit New Zealand
Posted 10-Apr-2019 21:03


New cyber-protection and insurance product for businesses launched in APAC
Posted 10-Apr-2019 20:59


Kiwis ensure streaming is never interrupted by opting for uncapped broadband plans
Posted 7-Apr-2019 09:05


DHL Express introduces new MyDHL+ online portal to make shipping easier
Posted 7-Apr-2019 08:51


RackWare hybrid cloud platform removes barriers to enterprise cloud adoption
Posted 7-Apr-2019 08:50


Top partner named at MYOB High Achievers Awards
Posted 7-Apr-2019 08:48


Great ideas start in Gisborne with hackathon event back for another round
Posted 7-Apr-2019 08:42



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.