Skip to main content
Version: TAO v2.x

Installation procedure for Browan Femto

Installation requirements

  • The Gateway starts a WIFI network, you must use it to connect with ssh, the internal firewall will not allow you external access.
  • You need to have the root password, by default it is browan@<last 6 MAC digits> (take care, it is case sensitive).
  • In case of problems, you might have to use an FTDI cable to directly connect on the box, but this requires soldering pins.
  • You need to have an external USB key, our recommendation is SanDisk USB 2/USB 3, > 1GB (already tested with SanDisk USB 3 at 16GB).
  • Installation is a 2-step process:
    • Installation of a new firmware on the gateway.
    • Installation of ThingPark Enterprise All-in-One software.
  • You must have:
    • the new firmware: tao-gemfemto-firmware-1.2.0.bin
    • the ThingPark Enterprise All-in-One installer: TAO_gemtek.GMTK_FMTO.1_1.3.1

Connecting to the gateway

  • The Gateway creates a WIFI network (SSID: AP-<last 6 hexa digit of the MAC>)

    • Connect your pc to the Wi-Fi network
    • You should get an IP like 192.168.55.xxx, the IP address of the Gateway is 192.168.55.1
    • SSH on this Gateway IP, password is browan@<last 6 hexa digit of the MAC>
    • Stop the firewall
    /etc/init.d/firewall stop
  • The Gateway must be connected on your LAN using the RJ45 port.

    • Get the IP address of the Gateway (on eth0.2)
     ip a | grep eth0.2

USB key preparation (ext4 fs)

  • Insert you key on a PC, running linux.

  • Check the device, /dev/sdb1 in our case.

  • Format the key (mkfs)

    root@actility:/home/actility# mkfs -t ext4 /dev/sdb1
    mke2fs 1.45.5 (07-Jan-2020)
    /dev/sdb1 contains a ext4 file system
    last mounted on /mnt/storage on Mon Jul 18 06:54:00 2022
    Proceed anyway? (y,N) y
    Creating filesystem with 3807744 4k blocks and 952848 inodes
    Filesystem UUID: d40f76ef-64bc-4ec2-ab69-369838b9e4c3
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

    Allocating group tables: done
    Writing inode tables: done
    Creating journal (16384 blocks):
    done
    Writing superblocks and filesystem accounting information: done

Firmware Installation

  • Copy the firmware on the /tmp folder under name firmware.img.

     scp tao-gemfemto-firmware-1.2.0.bin root@<ip address of the gateway>:/tmp/firmware.img
  • Install the firmware

     ssh root@<ip address of the gateway>
    BusyBox v1.22.1 (2021-05-14 16:11:19 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    d888888b d8b db d8888b. .d88b. .d88b. d8888b.
    88 888o 88 88 8D .8P Y8. .8P Y8. 88 8D
    88 88V8o 88 88 88 88 88 88 88 88oobY'
    88 88 V8o88 88 88 88 88 88 88 888b
    .88. 88 V888 88 .8D 8b d8' 8b d8' 88 88.
    Y888888P VP V8P Y8888D' Y88P' Y88P 88 YD


    GGGGGGGGGGGGGIIIIIIIIII OOOOOOOOO TTTTTTTTTTTTTTTTTTTTTTT
    GGG::::::::::::GI::::::::I OO:::::::::OO T:::::::::::::::::::::T
    GG:::::::::::::::GI::::::::I OO:::::::::::::OO T:::::::::::::::::::::T
    G:::::GGGGGGGG::::GII::::::IIO:::::::OOO:::::::OT:::::TT:::::::TT:::::T
    G:::::G GGGGGG I::::I O::::::O O::::::OTTTTTT T:::::T TTTTTT
    G:::::G I::::I O:::::O O:::::O T:::::T
    G:::::G I::::I O:::::O O:::::O T:::::T
    G:::::G GGGGGGGGGG I::::I O:::::O O:::::O T:::::T
    G:::::G G::::::::G I::::I O:::::O O:::::O T:::::T
    G:::::G GGGGG::::G I::::I O:::::O O:::::O T:::::T
    G:::::G G::::G I::::I O:::::O O:::::O T:::::T
    G:::::G G::::G I::::I O::::::O O::::::O T:::::T
    G:::::GGGGGGGG::::GII::::::IIO:::::::OOO:::::::O TT:::::::TT
    GG:::::::::::::::GI::::::::I OO:::::::::::::OO T:::::::::T
    GGG::::::GGG:::GI::::::::I OO:::::::::OO T:::::::::T
    GGGGGG GGGGIIIIIIIIII OOOOOOOOO TTTTTTTTTTT
    root@AP-64FD4E:~#
    root@AP-64FD4E:~# cd /tmp
    root@AP-64FD4E:/tmp# upgrade_firmware.sh
    wait 1 times!
    wait 2 times!
    wait 3 times!
    uci: Entry not found
    uci: Entry not found
    [debug] LED:[diag] Act:[blk] GPIO:[70]
    2.4G disabled=0, 5G disabled=0
    [debug] scenario: WSEC_OFF
    [debug] LED:[wlan] Act:[on] GPIO:[8]
    [debug] LED:[wsec] Act:[off] GPIO:[10]
    ifconfig: SIOCGIFFLAGS: No such device
    brctl: iface rai0: No such device
    mt7612e(mt7612e): disable failed
    [DEBUG] action=enable, ifcheck=0, mtime=0, htime=1
    brctl: bridge br-lan: Invalid argument
    mt7620(mt7620): disable failed
    Unlocking firmware2 ...

    Writing from /tmp/firmware.img to firmware2 ...
    root@AP-64FD4E:/tmp# Connection to 10.100.30.164 closed by remote host.
    Connection to 10.100.30.164 closed.

ThingPark Enterprise All-in-One Installation

  • Reconnect on the Wi-Fi and deactivate the firewall.

  • Insert the USB key, you should get a "/mnt/storage" mount point.

    root@AP-64FD4E:~# mount
    rootfs on / type rootfs (rw)
    /dev/root on /rom type squashfs (ro,relatime)
    proc on /proc type proc (rw,noatime)
    sysfs on /sys type sysfs (rw,noatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
    /dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
    overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
    tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    /dev/mtdblock8 on /mnt/data type jffs2 (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,noatime)
    /dev/sda1 on /mnt/storage type ext4 (rw,noatime,data=ordered)
  • Copy the TAO_gemtek.GMTK_FMTO.1_1.3.1 under /mnt/storage.

      scp TAO_gemtek.GMTK_FMTO.1_1.3.1 root@<ip address of the gateway>:/mnt/storage/
  • Connect on the Gateway using SSH.

  • Install the package as in a standard installation:

    • cd /mnt/storage
    • chmod u+x ./TAO_gemtek.GMTK_FMTO.1_1.3.1
    • ./TAO_gemtek.GMTK_FMTO.1_1.3.1
    root@AP-64FD4E:/mnt/storage# ./TAO_gemtek.GMTK_FMTO.1_1.3.1

    Self Extracting Installer

    ./
    ./rootfs-patch-tao-1.3.1-gemfemto.tar.gz
    ./install.autorun
    Execute tao-install.sh
    LRR custom configuration
    -> TAO fresh install, add complete lrr custom folder
    ipsec is in /etc, need to clean files and folder
    Execute system preparation scripts if any
    System characteristics: setting file not present: automatic creation ...
    -----------------------------------------------------------
    ----------------------------------------------------------
    Checking consistency of system definition
    OK: SYSTEM defined: gemfemto
    OK: MANUFACTURER defined: browan
    OK: FIRMWARE defined: openwrt
    OK: MANUFACTURER_OUI defined: 80029c
    OK: SEMTECH_REFDESIGN: 1.5 in (1.0 1.5 2.1)
    OK: at least one option set in [SEMTECH_V1_0 SEMTECH_V1_5 SEMTECH_V2_1]
    OK: TERMINFO defined: export TERMINFO=/etc/terminfo/
    OK: NETSTAT defined: netstat -an
    OK: VIEW_NTP_CONF defined: cat /etc/ntp.conf
    OK: TRACE_BACKUP_DIR defined: /mnt/storage/actility/traces
    OK: at least one option set in [TAR_OPTION_X TAR_OPTION_EXCLUDE]
    OK: NETWORK_INTERFACE_FILE: valid file /etc/config/network
    OK: SYSTEM_ETC: valid directory /etc
    OK: IPSEC: valid executable /usr/sbin/ipsec
    OK: IPSEC_CONF: valid file /etc/ipsec.conf
    OK: NTP_SERVICE: valid file /etc/init.d/sysntpd
    OK: SFTP: valid executable /mnt/storage/actility/lrr/sftp/sftp
    OK: IPTABLES_BIN: valid executable /usr/sbin/iptables
    OK: NETWORK_INTERFACE_FILE defined: /etc/config/network
    -----------------------------------------------------------
    /mnt/storage/actility used as root directory
    System : gemfemto
    ROOTACT not present in /etc/profile : add it
    New installation mechanism detected
    create service checktls
    create service checkvpn2
    create service gwmgr_restore
    create service ipfailover2
    create service lrr
    create service lrrplan
    iptables are installed
    passwd: no record of support in /etc/shadow, using /etc/passwd
    Changing password for support
    ...
    Starting lrc.x service: gemfemto
    Warning: lrc.x started WITHOUT nohup !
    [OK]
    restart service mqtt
    Stopping mosquitto service: [FAILED]
    mosquitto is already stopped
    Starting mosquitto service: gemfemto
    Warning: mosquitto started WITHOUT nohup !
    [OK]
    restart service node-red
    Stopping node-red service: [FAILED]
    node-red is already stopped
    Starting node-red service: gemfemto
    Warning: node-red started WITHOUT nohup !
    [OK]
    restart service tao
    Stopping tao-server service: [FAILED]
    tao-server is already stopped
    Starting tao-server service: gemfemto
    Warning: tao-server started WITHOUT nohup !
    [OK]
    System configuration done
    Stopping lrr service: [FAILED]
    lrr is already stopped
    Starting lrr service: gemfemto
    no command to power on radio board
    no AES key generation on v1.5 model
    Updating /mnt/storage/actility/usr/etc/lrr/versions.ini file
    /mnt/storage/actility/usr/etc/lrr/versions.ini file updated
    Warning: lrr started WITHOUT nohup !
    [OK]
    Installation done
  • ThingPark Enterprise All-in-One will configure new firewall rules.

  • You should now reboot the gateway.

  • You should be able to connect after 3 to 4 minutes.

    http://<ip address of the gateway>:1323