Setting up my new network: Ubiquity configuration for NZ Fibre connections

So I’ve finally received the router and access point from Ubiquity however the setup wasn’t as easy as I thought it would be so after much investigation I finally got everything working but I thought I might as well document the the process where by I reached the destination of ‘connected internet’ and some of the gotchas along the way. The first thing to download the UniiFi controller and install it then connect your computer directly connect via the LAN port (after connection the ONT device to the WAN port) and load the application called Unifi. Step yourself through the process (the information is self explanatory) then afterwards log yourself into the Unifi application. From there set it up the WAN port (configuration is accessed by clicking on the spanner in the WAN box just below the flow chart on the Dashboard) to to use PPPoE (click on configuration) with the login name being and password being password. After that is done you then apply the settings – it may reboot.

After that you then open up terminal (use Spotlight is the easiest) then do the following:

ssh [username you chose]@

Where you’ll be asked to accept the ssh certificate and then you’ll be asked for your password that you chose during the setup. You then enter the following commands:


delete interfaces ethernet eth0 pppoe


set interfaces ethernet eth0 vif 10 pppoe 0 user-id

set interfaces ethernet eth0 vif 10 pppoe 0 password password

set interfaces ethernet eth0 vif 10 pppoe 0 default-route auto

set interfaces ethernet eth0 vif 10 pppoe 0 mtu 1492

set interfaces ethernet eth0 vif 10 pppoe 0 name-server auto


show interfaces

Keep in mind that once it is setup that if you do a firmware upgrade those settings will be lost for some reason so be prepared to re-enter it all again. It’ll take a few seconds and you’ll find that the connection will come up but in the www box the IP address won’t change for some reason but I wouldn’t worry too much about that. When it comes to the access point it is a bit more fidgety in terms of how you go about setting it up because you’ll need to have a switch or a router in bridge mode so then you can have your desktop hooked up to the switch along with the access point so then you can guide the process of ‘set inform’ where the router and the access point are ‘joined’ up. The configuration is done via clicking on devices then click on the device named ‘UniFi AP-AC v2’ where a set of options will appear on the right hand side of the browser – push up the broadcast power to maximum and remember to use AES/CCMP or otherwise the maximum speed you can reach on wifi will be 54mbps (the configuration is found on the bottom left corner of the web browser – ‘Settings’ and there will be a set of options for wireless networking).

As for performance, I’m hitting the maximum speed for my internet connection and I’m connected to the router at around 800mbps (I have it installed on the ceiling which is around close to the centre of the house) along with great performance for my Apple TV and MacBook Pro I have on my bedside table. The setup is a little more laboured than with a consumer router but there is a lot more tweaks and tuning with the only problem I have is the lack of documentation for the CLI functions but then again I guess the general assumption is that if you know Linux networking then getting things working with their networking equipment should be fairly straight forward.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s