Jump to: navigation, search

Flashing a Ubiquiti Bullet M2HP with SECN

Author: PeterRetief

I used the Ubiquiti web interface to set the ip address and gateway, so that the Bullet would have Internet access. I changed the default ubnt user password to xxxxxx, then used ssh to access the Bullet command-line using usercode ubnt, password xxxxxx

Following (broadly) this article:

  http://wiki.openwrt.org/toh/ubiquiti/bullet

but using the "Attitude Adjustment RC2" version firmware rather than the snapshot in the example URL.

   XM.v5.5.3# url="http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic"
   XM.v5.5.3# url="$url/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin"
   XM.v5.5.3# echo $url
   http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
   XM.v5.5.3# wget -O /tmp/fwupdate.bin "$url"
   Connecting to downloads.openwrt.org (78.24.191.177:80)
   fwupdate.bin         100% |*****************************************************************|  2880k 00:00:00 ETA
   XM.v5.5.3# /usr/sbin/fwupdate -m
   /usr/sbin/fwupdate: About to run firmware update

At this point, after the firmware has been updated and the Bullet reboots, it is running OpenWrt, and you can telnet to the default IP address of 192.168.1.1 (User root / no password).

   telnet 192.168.1.1 (no password):
   === IMPORTANT ============================
     Use 'passwd' to set your login password
     this will disable telnet and enable SSH
    ------------------------------------------
   
   BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)
   Enter 'help' for a list of built-in commands.
   
     _______                     ________        __
    |       |.-----.-----.-----.|  |  |  |.----.|  |_
    |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
    |_______||   __|_____|__|__||________||__|  |____|
             |__| W I R E L E S S   F R E E D O M
    -----------------------------------------------------
    ATTITUDE ADJUSTMENT (12.09, r36088)
    -----------------------------------------------------
     * 1/4 oz Vodka      Pour all ingredients into mixing
     * 1/4 oz Gin        tin with ice, strain into glass.
     * 1/4 oz Amaretto
     * 1/4 oz Triple sec
     * 1/4 oz Peach schnapps
     * 1/4 oz Sour mix
     * 1 splash Cranberry juice
    -----------------------------------------------------
   [email protected]:/#

Used passwd to change root password to xxxxxx

Once the root password has been set, you can use ssh instead of telnet to reach the Bullet. I disconnected, and then reconnected to 192.168.1.1 using ssh root/xxxxxx

Using a web browser (http://192.168.1.1), I set the correct IP address and gateway.

I then reconnected the web browser to the new IP address.

I downloaded the selected SECN software to my desktop PC. In this example, the latest software was:

   http://download.villagetelco.org/firmware/secn/unstable/ubiquity/SECN-2/UBNT/SECN-2.0-RC1/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin

I then used the Openwrt Luci web interface to do a firmware upgrade to the SECN firmware, **** choosing not to keep existing settings ****

        • Note: It is important to un-tick the "Save Settings" checkbox before upgrading, otherwise the SECN settings will not be loaded correctly.

After the firmware upgrade, I connected to the default SECN IP address for the Bullet: 10.130.1.20, and the following web page appeared:

BulletMP2-SECN-130728.jpg