Tuesday, March 20, 2018

How to turn off Wifi on ASUS RT-AC68W Router

There is no way to turn off the main 2.4GHz and 5GHz wifi via the web-based admin console. 

Press the wifi on/off button located on the side of the router.
The 2.4GHz and 5 GHz lights on the front will turn off.

Wednesday, March 26, 2014

Microsoft Office Activation Error 0x80070190

You've recently installed Microsoft Office but after entering the serial number and proceeding with the activation process via the Internet you get the error 0x80070190.  I believe this means, you don't have Administrator privileges to perform the activation.

On Windows 7/8, right click on one of the Office apps e.g. Microsoft Word, Microsoft Excel, etc. and select "Run as adminstrator" -- this will take you back to the activation page so you can finish the activation process (via Internet).



Wednesday, March 7, 2012

MediaWiki Login Error

I tried to login to my mediawiki site and the following error is displayed:

"Login error - There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking.  Go back to the previous page, reload that page and then try again."





For the life of me, I do not remember exactly what I've done to my system which caused this error.  Maybe I did change the user or group of my mediawiki directory (recursively).

Solution:

Change to the location of your wiki directory, e.g.:
# cd /var/www/html/wiki


Modify LocalSettings.php:
# vi LocalSettings.php


Add as the last line to the config file before "?>":
session_save_path("tmp");


Save the file.


Create a 'tmp' directory on the root of your wiki directory:
# mkdir tmp


Change directory permissions
# chmod 777 tmp


This should prevent the login error from showing up, at least in my case.

Wednesday, October 26, 2011

Cyanogenmod 7 GPS Fix for my Samsung Vibrant (t959)

I recently upgraded my Samsung Vibrant running Froyo 2.2 to Cyanogenmod 7 to get a taste of Gingerbread.

The upgrade completely rendered the GPS useless.  All I get was the message "Searching for GPS..." when using the Navigation.

I tried flashing my phone with the radio updates KA5, KA6 or KA7 that's on the Cyanogenmod 7 website for Samsung Vibrant but this total messed up my phone that I couldn't make any calls.  I had to completely reinstall CM 7.1 as the recovery did not fix the problem (making outgoing calls).

Back to figuring out my gps problem.  I found out that a gps.conf file is missing from the /system/etc/ directory.  Maybe this file was wiped out when I moved from Froyo to CM7.

The /system/etc/gps.conf: file would look like this:
----
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
----

I tried creating and copying the file to the directory but I had permission problems during the remounting process.

Instead of having to go through several linux commands, this is how I simply fixed the problem by using apps found in the Android Market.

a) Download "FasterFix" from the Android Market

b) Run FasterFix. 
Choose "North America" (If you are located in North America) and click Go.

c) Reboot phone.

d) Enable GPS

e) Search for "GPS Status" from Android Market
App is called "GPS Status & Toolbox" by EclipSim

f) Run GPS Status
Go to Menu > Tools > Manage A-GPS State > Reset
Reboot phone.

g) Launched Google Navigation...and it worked!

Btw, I'm currently on CyanogenMod  7.1.0.1.

Friday, July 15, 2011

Temp Folder on Windows 7

The quickest way to access your Temp folder on Windows 7 is launching Windows Explorer and entering:

%localappdata%\Temp

Wednesday, March 30, 2011

Samsung Vibrant Android 2.2 GPS Issue

I finally upgraded my Samsung Vibrant SGH-T959 to Firmware 2.2 build FROYO.UVKA6 only to find out that the GPS now almost never locks to a signal.

Downloaded an app called GpsRestore by Samsung Mobile.  Launch the app.

Make sure you do this outdoors where the signal is strong otherwise, the app might not fix the problem at all -- you will see the app 'retrying' until it fixes the problem. 

Tuesday, August 10, 2010

Restoring Firefox Menu Toolbar

The other day I accidentally unchecked all the toolbars including the menu toolbar in FireFox 3.6.

Here's one way I know of on how to restore the menu toolbar:

Click Windows Start > Run
Type in:  firefox -safe-mode














Click OK

The follow dialog box will pop up.















Check "Reset toolbars and controls"
Then click "Make Changes and Restart" button.

The Firefox browser is launched with the menu toolbar enabled.

Tuesday, May 18, 2010

Installing VMWare Tools 6.0 on Peppermint OS 2010.04.24

These are the problems I encountered during the installation of VMWare Tools 6.0 on a fresh install of Peppermint OS 2010.04.24.

A)  What is the location of the "gcc" program of your machine?

If the gcc compiler is missing, use the following command to install:

$ sudo apt-get install gcc

After the installation is finished, to find the location of gcc,
$ which gcc

Output:
/usr/bin/gcc

Answer:  What is the location of the "gcc" program of your machine?
/usr/bin/gcc


B) "What is the location the directory of C header files that match your running kernel?

The C header files are not found under /usr/src/linux/include which is the default path specified on the prompt.  Here's how you install the linux header files.

$ sudo apt-get install linux-headers-'uname -r' build-essential

replace 'uname -r' with what you get when you type:
$ uname -r
2.6.32-22-generic

The complete command:
$ sudo apt-get install linux-headers-2.6.32-22-generic build-essential

 After the installation is finished, the location of the directory of C header files for your kernel is at:
/usr/src/linux-headers-2.6.32-22-generic/include

Answer:  "What is the location the directory of C header files that match your running kernel?  /usr/src/linux-headers-2.6.32-22-generic/include

Tuesday, May 4, 2010

Solving the TOra 2.1.1 Missing Error Description

I recently got rid of my old TOra installation and replaced it with the newer TOra 2.1.1.  Every time I tried to connect to an Oracle database, I get a "Unable to connect to the database. ORA-27749784 missing error description." as shown below.









Solution:  
Delete the oci.dll in your TOra directory e.g. C:\Program Files\TOra.

I have Oracle 10g client installed on my desktop.  I believe TOra references the oci.dll in the Oracle Client's bin directory e.g. C:\oracle\product\10.2.0\client_1\BIN.  If you copy the oci.dll in this bin directory to the TOra directory, it will work the same way.

About TOra
http://www.torasql.com
TOra is an open-source multi-platform database management GUI that supports accessing most of the common database platforms in use, including Oracle, MySQL, and Postgres, as well as limited support for any target that can be accessed through Qt's ODBC support. TOra has been built for various Linux distributions, Mac OS X, MS Windows, and UNIX platforms [source: torasql.com].

Tuesday, April 20, 2010

Spring Web Flow Resources

Here's a few links that will help you get started with Spring Web Flow.

Spring Web Flow is a component of the Spring Framework's web stack which focuses on the definition and execution of user interface flow within a web application.  It solves Apache Struts limited page flow functionality - but you can integrate Spring Web Flow with your existing Struts infrastructure.

Working With Spring Web Flow (video presentation)Presented by Keith Donald on Mar 03, 2010
-  Presented at SpringOne 2009 conference by one of the founding partners of SpringSource.  The video & ppt presentation is about 1 hour and 32 minutes.  It's worth viewing.

Spring Web Flow

http://www.springsource.org/webflow

Tuesday, April 13, 2010

Spring Framework for Beginners

If you want to learn the Spring Framework, below are references that I thought were pretty helpful in getting someone up to speed in understanding the concepts behind the framework.

Rod Johnson Discusses Spring 3.0 (video)
Interview with Rod Johnson by Ryan Slobojan on Feb 22, 2010
http://www.infoq.com/interviews/rod_johnson_spring30

What’s New in Spring 3.0 
(video presentation)
http://www.bestechvideos.com/2009/12/16/what-s-new-in-spring-3-0

Mastering Spring MVC

Enjoy Spring-based Web development with the Spring MVC module
http://www.javaworld.com/javaworld/jw-04-2009/jw-04-springmvc.html

Developing a Spring Framework MVC application step-by-step

http://static.springsource.org/docs/Spring-MVC-step-by-step/index.html

Spring MVC

http://www.vaannila.com/spring/spring-mvc-tutorial-1.html

Tuesday, April 6, 2010

How to Update the SSL Certificate when using Plesk & RHEL

If your Apache-based website SSL certificate expired and you are using Plesk to manage your domains, here is how you update the certificate:

1.  Follow the instructions on how to generate a new key for apacheSSL.  Here's an example from GeoTrust's website:  https://knowledge.geotrust.com/support/knowledge-base/index?page=content&id=AR876

2.  Find the location of your certificate file.

$ cd /var/www/vhosts/yourdomain.com/conf/
$ vi httpd.include

Search for this section in your httpd.include file:
        SSLEngine on
        SSLVerifyClient none
        SSLCertificateFile /usr/local/psa/var/certificates/cert-BHkRhb

In the above example, cert-BHkRhb is the file containing your certificate.

3.   Replace the contents of your certificate file with the new key generated in Step 1.  The file contains the BEGIN RSA PRIVATE KEY and BEGIN CERTIFICATE sections.  It's probably a good idea to backup the certificate file before replacing its contents -- otherwise you might have problems restarting Apache.

4.  Restart Apache HTTP server using the Plesk Admin interface or
$ /etc/init.d/service httpd restart

That's it.

Friday, April 2, 2010

How to Download and Install PERL modules in Ubuntu

I haven't had any luck using CPAN to install PERL modules in Ubuntu.  The other day I was installing PERL modules while upgrading a bugzilla installation and using apt-cache and and apt-get did the trick!

For example, if you are looking for Email-Send module, use "apt-cache search":
# apt-cache search perl Email-Send

The following modules will be displayed:

libemail-send-io-perl - Send mail via IO::All
libemail-send-perl - Simply Sending Email

Now, to install the two modules above, use "apt-get install":
# apt-get install libemail-send-io-perl
# apt-get install libemail-send-perl

Good luck!

How to Find Out the Version of your Ubuntu Installation

To find out the version of Ubuntu you are running, go to your prompt:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty