How to Install Ubiquiti mFi Controller 2 on the Raspberry Pi
Please share with your friends...
  • 2
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    2
    Shares


⇐ BackPageNext ⇒

mFi

The final step is to install the mFi Controller software.

  1. Change to the root of the user’s home directory, using the following command:
    cd ~
  2. Download the latest or desired version of the mFi Controller software from the Ubiquiti website, using the following command:
    wget http://dl.ubnt.com/mfi/2.1.11/mFi.unix.zip

    Replace 2.1.11 in the above example with the actual version number you intend to download. The command will display output similar to the following:

    --2015-07-13 20:00:00--  http://dl.ubnt.com/mfi/2.1.11/mFi.unix.zip
    Resolving dl.ubnt.com (dl.ubnt.com)... 54.230.133.196
    Connecting to dl.ubnt.com (dl.ubnt.com)|54.230.133.196|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 26896961 (26M) [application/zip]
    Saving to: `mFi.unix.zip'
    
    100%[==================================================>] 26,896,961   709K/s in 56s
    
    2015-07-13 20:00:56 (466 KB/s) - `mFi.unix.zip' saved [26896961/26896961]
  3. Extract the program files from the zip archive to the installation directory, using the following command:
    sudo unzip mFi.unix.zip -d /usr/lib
  4. Download our mFi Startup Script for Raspberry Pi from GitHub, using the following command:
    wget https://gist.github.com/TechnologistAU/22b0493478c899cc403f6056903422ba/raw -O mfi.init
  5. Move the downloaded startup script to the mFi installation directory, using the following command:
    sudo mv mfi.init /usr/lib/mFi/bin
  6. Mark the startup script as executable, using the following command:
    sudo chmod +x /usr/lib/mFi/bin/mfi.init
  7. Create a symbolic link to allow the startup script to be included during system initialisation, using the following command:
    sudo ln -fs /usr/lib/mFi/bin/mfi.init /etc/init.d/mfi
  8. Register the startup script as a System V style init script, using the following command:
    sudo update-rc.d mfi defaults
  9. Reboot your Raspberry Pi using the following command:
    sudo reboot
    The mFi service can take several minutes before it is ready to serve web pages after a reboot.

Setup Wizard

  1. Use a web browser to view HTTPS port 6443 on your Raspberry Pi:
    https://<raspberrypi>:6443

    Replace <raspberrypi> in the above example with the IP address of your Raspberry Pi. The Welcome page will be displayed.

    mFi Setup Wizard: Welcome
    Welcome
  2. Select your language and country, then click Next. The Discover page will be displayed.
    mFi Setup Wizard: Discover
    Discover
  3. If you have any unmanaged mFi devices on the network, you may select them here, then click Next. The Password page will be displayed.
    mFi Setup Wizard: Password
    Password
  4. Enter an Admin Name, Password and Confirm Password for mFi Controller access, then click Next. The Finish page will be displayed.
    mFi Setup Wizard: Finish
    Finish
  5. Review the settings shown, then click Finish. The Login page will be displayed.
    mFi Login
    Login
  6. Enter your Username and Password, then click Login. The Dashboard will be displayed.
    mFi Dashboard
    Dashboard
    The Ubiquiti mFi Controller software is now installed and running on your Raspberry Pi!
⇐ BackPageNext ⇒


Please share with your friends...
  • 2
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    2
    Shares
Tagged on:                                                     

Leave a Reply