Author Archives: Administrator

How To Solve Modem Cannot be Connected or Unresponsive in CuteCom Linux

Applies To: MOBITEK S80 Modem, MOBITEK Q24 Modem, Linux OS

 

Caused By: permission or privilege to use serial port or USB port is NOT assigned to current user.

 

Solution: grant permission to current user by adding  “tty”, “dialout” into “Groups” of the current user.

  1. Optional — install “Cutecom” from Software Manager.

    Linux_USB-01Click on “install”
    Linux_USB-02
  2.  Go to “User and Groups”.
    Linux_USB-03
  3.  Click on the current user and then click on “Groups”.
    Linux_USB-04
  4.  Assign the following “Groups” or permissions to the user:-
    • dialout
    • root
    • sudo
    • tty
  5. Alternatively, command line can be used to add permission to the user:-
  6.  Restart Linux.

Theme of MOBITEK Blog Has Been Changed from “Twenty Eleven” to “Twenty Tweleve” and How to Add a Search Box

Original “Twenty Tweleve” theme does not have a search box at top right corner (same row with header).

Here are the steps taken to add a search box:

  1. add a folder for child theme in same directory of parent theme, e.g. “/wp-content/themes”
  2. name the folder as “twentytwelve-child-theme”
  3. refer to http://zeaks.org/create-a-wordpress-child-theme/ on how to create a child theme
    • all modifications are done on child theme rather on parent theme
    • child theme copies/inherits all properties from parent theme
    • copy “header.php” from parent theme, “twentytwelve” to child theme folder, “twentytwelve-child-theme”
    • modify the “header.php” in “twentytwelve-child-theme”
    • modify the “style.css” in “twentytwelve-child-theme”
  4. in the “Dashboard -> Appearance -> Themes”, choose the newly created child theme:
    • finally, a search box has been added:

 

Source: http://zeaks.org/tutorials/twenty-twelve-theme-search-form-in-header/

How to Solve “MySQL server has gone away” in PHPRunner?

Problem: when viewing in browser with URL “http://localhost:8086/menu.php”, this error message will appear — “Fatal error: MySQL server has gone away in C:\Users\Documents\PHPRunnerProjects\Stock Control\output\connections\Connection.php on line 626” .

 

Applies To: PHPRunner v. 10. 4

 

Cause: problem will appear when SSL Connection is selected.

 

Solution: uncheck “SSL connection”.

How to Import a Virtual Machine via VDI File

There are 2 methods.

 

Method 1:  “Machine -> New” to manually select the existing “vdi” file

  1. Refer to guide — www.arysontechnologies.com/blog/how-to-open-vdi-file/
    • Launch VirtualBox and create a new virtual machine. Choose an operating system among the choices given and click on Next button
    • Under Virtual Hard Disk, select Use existing hard disk and then click on the folder icon on the right
    • Now, a Virtual Media Manager window is opened. In that, click on the Add button and then select the VDI file which you want to open
    • Again, Virtual Hard Disk window is opened in which your new VDI is being shown and then click on Next
    • Now, your new virtual machine is started
    • After you have created, you may need to change the settings, e.g. network, as this “vbi” file was created using another machine/laptop.

Method 2: “Machine -> Add” to add “vbox” file

  1. Goto “Machine -> Add” to add a virtual machine , e.g.  Linux Mint version 17 Cinnamon 64 bit, from “X:\VirtualBox Files\Linux Mint\Linux Mint.vbox” into your VirtualBox
  2. After you have added/imported, you may need to change the settings, e.g. network, as this “vbox” file was created using another machine/laptop.

ERROR [HY000] [MySQL][ODBC 5.1 Driver]Host ‘175.xxx.xxx.xx’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’

Problem: when using MOBITEK SMS Engine — Enterprise Edition v. 7.1 with MySQL database server in remote server (Exabytes), this error will appear after 2 days.

MOBITEK® SMS Engine — Enterprise Edition

 

SMS Engine was started on 23-Aug-2019, non-stop, until these error messages were received on 25-Aug-2019, Sunday, 1:41 am

01:42:21 ERROR [08S01] [MySQL][ODBC 5.1 Driver]Lost connection to MySQL server at 'reading initial communication packet', system error: 0
01:42:25 ERROR [HY000] [MySQL][ODBC 5.1 Driver]Host '175.xxx.xxx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
01:42:28 ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '72.xx.xxx.xx' (10055)
ERROR [HY000] [MySQL][ODBC 5.1 Driver]Can't connect to MySQL server on '72.18.132.28' (10055)

 

Trouble Shooting: The SMS Engine does not hold the database connection. It always close it after every execution of database query otherwise the engine would have failed long time ago.  Any other applications connecting to this database ? This error can also happen when there are too many connections issued to the database. Default concurrent connection for mysql is 151.

 

Conclusion: MOBITEK SMS Engine — Enterprise Edition only uses 1 database connection.

 

Demonstration of Automatically Form Filling of “Laporan Harian Pematuhan SOP”

This video demonstration shows how business can automate the report filling of “Laporan Harian Pematuhan SOP”  (https://notification.miti.gov.my) by using AutoHotkey.

 

To find out how you can do the same, please refer to the tutorial …

Workflow of Refreshing Windows 8.1 for Asus Zenbook UX303L

  1. Before Windows Refresh, use SyncBack to back up files to Buffalo external HDD.
  2. Run Windows Refresh , USB thumb drive “Windows Recovery” is required in order to refresh.
  3. After Windows Refresh is completed, remove Metro Apps using PowerShell command (https://news.softpedia.com/news/How-to-Remove-All-Pre-Installed-Windows-8-Metro-Apps-328110.shtml) :
    • Get-AppxPackage -AllUsers | Remove-AppxPackage
    • Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
  4. Run Windows Update to update all updates.
    • optional — install “KB 3138615” first if Windows Update stuck
  5. Reinstall drivers and anti-virus software:-
    • Windows Classic Shell;
    • Intel via Intel-Driver-Support-Assistant;
    • NVIDIA via GeForce Experience;
    • Asustek;
    • Webroot
  6. Optional:-
    • create a recovery media (Windows installer) using USB thumb drive;
    • create a password reset key using USB thumb drive;
    • create a back-up of Windows Activation Key.
  7. Run System Image to create a system image of newly refreshed Windows with drivers and anti-virus installed.
  8. Restore files using SyncBack from Buffalo external HDD to “Documents”
  9. Reinstall software as per “Remove Applications.html”