2020/12/31

How to use / navigate this blog

This is a quick summary of how to use / navigate this blog.

Auto Translation by Google Translate

Use the Select Language widget to translate this blog into the language of you choosing (the translation quality may not be good, but I think it's enough to give you some general idea about the post).













2017/05/26

How to stream video using LinkIt Smart 7688 Duo and a USB webcam

This is a quick summary of how to stream video using a USB webcam attached to LinkIt Smart 7688 Duo. The webcam used is Logitech C905.

2017/05/21

MQTT-Spy - How to solve the problem of unable to display the options for resolving missing configuration file

I recently installed the latest MQTT-Spy to test out my MQTT configuration. However, after launching the program, I was unable to create a new configuration by clicking on the "No configuration file found".

2017/05/20

LinkIt Smart 7688 Duo - Things to do to a new module

Below is a list of things to do to a new LinkIt Smart 7688 Duo.

Mounting the root FS on an SD card

Source:
https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/tutorials/file-storage/mounting-the-root-fs-on-an-sd-card

How to automatically start a program on OpenWRT startup?

This post is made based on the info. in "OpenWRT: Start a python script at boot time" with additional info. added by me when following it.

The hardware used for this example is LinkIt Smart 7688 Duo.

Arduino Code (running on ATmega 32U4)

Mosquitto on Raspberry Pi - Part 1, Installing and testing

This post is a record of my experiment following the posts on Random Nerd Tutorial. The links to the posts that I followed can be found at the end of this post.

This post contains 2 parts, the 1st one is about how to setup and test Mosquitto on Raspberry Pi. The 2nd part is about how to secure the transport layer.

OS: Raspbian used 4.4.13+.


2017/05/18

How to auto restart a crashed or terminated process (Python) script in Linux

This post is a quick summary on how to use Monit to restart a crashed / terminated process automatically in Linux.

OS: OpenWRT CHAOS CALMER (15.05.1, r49203)

Install Monit

opkg update
opkg install monit
Installing monit (5.14-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/mt7688/packages/packages/monit_5.14-1_ramips_24kec.ipk.
Configuring monit.