Thursday, March 28, 2013

PLDT MyDSL HG530


 How to access PLDT MyDSL HG530 DMZ settings?

If you are using PLDT MyDSL HG530 Modem, your default gateway should be 192.168.1.1.
  1. Enter 192.168.1.1 on the address bar, when prompt with login. use username: adminpldt, password: 1234567890
  2. On the left pane, click Basic, under that choose NAT.
  3. click on DMZ, enter the IP address you would want to access in WAN.
  4. click submit.
To make sure that your entry has been saved, try to restart the modem and access the dmz settings again. 

Tuesday, March 26, 2013

The bit bucket


The bit bucket

Computer jargon as the "/dev/null"  means a place for disposing unwanted output messages from a process. A good program must always have an output in order for us to debug the errors. But if the process becomes weird  it start to freeze resources allocated cannot be released for other computing needs. The memory allocation will always be reserved for that process.nd this type of programs may cause  "Kernel Panic" or "BSOD"

From the "Zen of Python"
by : Tim Peters

Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.


Friday, February 15, 2013

/bin/bash: Permission denied


[root@host /]# su - user1
/bin/bash: Permission denied

Scenario:  My system is not responsive to any process, so i was forced to reboot. Suddenly i cannot login as ordinary user  "user1" 

Solution:  I look the permission of /bin/bash

[root@host ~]$ ls -l /bin/bash
-rwx------. 1 root root 938736 May 10  2012 /bin/bash

tried to change the permission 
[root@host ~]$ chmod 700 /bin/bash
-rwxr-xr-x. 1 root root 938736 May 10  2012 /bin/bash

Then I try to change the permission of the whole /bin  directory

[root@host ~]$ chmod -R 755 /bin

NOW I  CAN login...


Saturday, February 2, 2013

Database Mysql/MSaccess to Oracle migration all weekend


Its been almost a week trying to solve this database migration. The source in msaccess, mysql, csv and text file and my target database is oracle. 

Here are the following steps in my migration path:

1. Install oracle database server Oracle Database 11gR2 on CentOS 6.3 64 bit

2.  Install Sqldeveloper on MacOSX 10.6.8 64bit plus third party database connection (jtds driver, mysql driver and access driver)

3.  Oracle database repository preparation 

4.  Actual migration process using sqldeveloper migration tool.

5. Test and verify migration process.

Details of this process is not part of this post.

Thursday, January 17, 2013

From: The Zen of Python


    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!