Friday, June 07, 2013

Xbox One Don't Buy One!

Tech Blog - I have been playing games since I was a kid we had an Atari, Intellivision, Family Computer(NES), Super NES(Super Famicom), Sega Master System, Sega Genesis, Neogeo CD, Game Boy, Game Gear, Nintendo DS. Playstation 1,2,3 and also numerous Game and Watch unit and Apple 2 and PCs, but what in common between all this system is I'm able to trade, sell and giveaway used games as much as I want and none of this system required me to connect to the internet to play a single player game, today Microsoft just announce that the new Xbox One Console  require a connection once every 24hrs. otherwise you wont even be able to play single player games, it also has restriction with how you will sell or loan games, some of the details below from Kotaku.

  • The console must connect to the internet once every 24 hours in order for you to play games. 
  • The Xbox One will allow the sale of used games, at "participating retailers", but only if the publisher allows it.
  • There are restrictions on how you can "give" and "loan" your games away. 

This is a bad start for the coming generation console if this is the trend, the PS3 will be my last console, the above restriction basically removes your right as consumer, I hope the Playstation 4 doesn't follow what Microsoft is doing, Otherwise I'm done with Console gaming.

Here is someone who is probably saying what most gamers are feeling about the Xbox One news.

Tuesday, May 14, 2013

Snugg iPad 4 Ultra Slim Bluetooth Keyboard Case Review

Tech Blog - Last week I received an iPad 4 Ultra Slim Bluetooth Keyboard Case from The Snugg, which I have been using for a week now, but before starting my review regardless of what Snugg calls this case the iPad 4 Ultra Slim Bluetooth Keyboard Case is not really a case that could protect your iPad 4 or something you can carry your iPad with it, think of it more like a dock with keyboard.

Build and Weight

The Snugg Ultra Slim Bluetooth Keyboard Case, has a plastic case that is painted like the iPad metal cover, the plastic case looks nice as it meld well with the iPad design, as the keyboard case is made of plastic means it is light and portable.

Connectivity and Keyboard

The Keyboard case has comes with a micro USB port that is used for charging the keyboard, as for the Keyboard connectivity it uses Bluetooth  to connect to your iPad which is easily done by turning it on and letting your iPad scan for Bluetooth device, once paired I find the connection very stable, the keyboard itself has a Apple style chicklet keyboard, I find the keys to be responsive and easy to type on.


The Snugg iPad 4 Ultra Slim Bluetooth Keyboard Case is overall a decent portable keyboard for you iPad it doesn't cost much, its light and simple to operate and the battery last for a week with several hours of days of use without charging.

You can get the Snugg iPad 4 Ultra Slim Bluetooth Keyboard Case 

Monday, April 22, 2013

Samsung Galaxy Note 8 N5100 Root How To

Tech Blog - Here is how to root your Samsung Galaxy Note 8.

The Samsung Galaxy Note 8.0 is a 8-inch tablet computer designed, developed and marketed by Samsung Electronics. The tablet runs Android 4.1.2 and serves as a platform for multimedia consumption including movies, music, and web browsing. It is the second entry in the Samsung Galaxy Note tablet range, which emphasises the use of a stylus, officially named S-Pen (S standing for Samsung), as an input device for tasks such as sketching and note-taking.

Step 1 - Download Framaroot

Step 2 - Install and open Framaroot, then select Aragorn it will run the exploit and install Superuser, once done reboot your Samsung Galaxy Note 8.

Step 3 - After rebooting check if Superuser is installed, if you want to check try downloading something like SIXAXIS compatibility checker, it will require root for this to be compatible then your done.

Saturday, April 13, 2013

Basic AIX printq howto

Tech Blog - Here is a quick printq how to.

Check printq status
# enq -e "$@"
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
AIX01 @Aus READY   
AIX01: Queue: AIX01 is ready and printing
Listing print queues
Start printq
#qadm -U SGAIX02
Stop Printq
 #qadm -D QueueName
More printq stuff

Friday, April 12, 2013

HMC Console Howto

Tech Blog - Below is a quick how to in using HMC console.

Create an HMC Console Session
#mkvterm -m -p
#mkvterm -m 570_SN0602EC -p aixp06
Terminate or remove existing console session
 #rmvterm -m -p
 Restart a server with dump
 #chsysstate -o dumprestart -r lpar -m -n
Shutdown Partition
#chsysstate -m -r lpar -n -o shutdown --immed
To activate active partition
#chsysstate -m -r lpar -n -o on -b norm -f _normal
You can use VT Menu to check LPAR and Server status.
Thats it.

Wednesday, April 10, 2013

Installing Wicd on Linux Cent OS 6 | Wireless Network Manager

Tech Blog - Recently installed Cent OS 6 on an old laptop, but was unable to get the Network Manager to managed my wireless card, instead of playing with wpa_supplicant and iwconfig I discovered it would be easier to just install Wicd, Wicd is an open source wired and wireless network manager for Linux.

First you need to download the RPM package for Cent OS 6, you wont find Wicd in your default yum repository


After downloading the above files, lets install
#rpm -ivh wicd*

Once installed you can find Wicd Network Manager under Application -> Internet configure your wireless interface then connect then your done.

Tuesday, April 09, 2013

SIOCSIFFLAGS: Operation not possible due to RF-kill Solution

Tech Blog - Here is short how to on fixing an alert raised on Linux when attempting  to bring up an wireless interface using ifconfig.

Below is the problem.
# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill

To fix do rfkill command with the list switch below
# rfkill list
0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
1: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

Now lets unblock the wireless LAN by doing the below command
# rfkill unblock wifi no

Now recheck the rfkill list it should show something like the one below, then you should be able to bring up the interface.
# rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no

Thats it.

Sunday, April 07, 2013

Install and Configure Squid Transparent Proxy on Cents OS 6

Tech Blog - A quick how to on installing squid and configuring it to work with SquidGuard or Dansguardian for web content filtering, Squid - is a proxy server and web cache, there are many thing Squid is capable off, for this how to were just doing proxy configuration that can work with Dansguardian a web content filtering software or SquidGuard a URL redirector software.

First lets install Squid using yum repository

#yum install squid.i686

Once installed we need to edit /etc/squid/squid.conf

#vi /etc/squid/squid.conf

Below is sample squid configuration file

# Recommended minimum configuration:
acl manager proto cache_object
acl localhost src ::1
acl to_localhost dst ::1

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
#acl localnet src    # RFC1918 possible internal network
#acl localnet src # RFC1918 possible internal network

acl localnet src # RFC1918  internal networkm replace the IP to your internal IP
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http

# Recommended minimum Access Permission configuration:
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager

# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost


# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128, you can also specify the ext ip aside from the port
http_port 3128

# We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?

# Uncomment and adjust the following to add a disk cache directory.
cache_dir ufs /var/spool/squid 100 16 256

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

# In my case I'm using Dansguardian hence need the entry below, otherwise comment out below entry to your server

## Uncomment below lines if you going to use SquidGuard, in order for Squid to pass the traffic to squidguard
#url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidguard.conf
#url_rewrite_children 5

#Run the daemon as squid user and group
cache_effective_user squid
cache_effective_group squid

Save and exit once done, then start squid, if there are errors in your config files squid will not start or reload

#/etc/init.d/squid start

If squid is already running you can reload the configuration file
#squid -k reload

Once started check if port 3128 is listening on the server and go to your browser set proxy setting to the server IP running squid and port 3128.


Saturday, April 06, 2013

Install Openfire Messaging server on Cent OS 6

Tech Blog - This is short how to on installing and configuring Openfire on Cent OS 6, Openfire is an instant messaging (IM) and groupchat server that uses XMPP server written in Java and licensed under the Apache License 2.0.

Below is a short list of features of Openfire;
  • Web-based administration panel
  • Plugin interface
  • Customizable
  • SSL/TLS support
  • User-friendly web interface and guided installation
  • Database connectivity
  • LDAP connectivity
  • Platform independent, pure Java
  • Full integration with Spark IM client

Now to installing, go to the below link and download Openfire for Linux, select the RPM package.

Once downloaded install it by doing

#rpm -ivh openfire-3.8.1-1.i386.rpm

Once installed start Openfire by doing

#/etc/init.d/openfire start

 Then use a browser to access http://ipwhereopenfirewasinstalled:9090

You should be able to get to the setup page, the setup page is self explanatory, set up is done, you can login to the administration page and tweak it based on your requirements, such as logging, statistics, user control, and you can even install additional plugins to extend Openfire capabilities.

Once setup is done, download the Spark client on the above page for your OS of choice, or just use any mesenger client such as Pidgin that support XMPP, if user account hasn't been created on the Openfire server, you can fill up the username, password and server field and register to create the user using the client.

once done then you have a fully working IM.


Friday, April 05, 2013

Mounting Windows Share on Linux

Tech Blog - A quick nd dirty how to no mounting Windows share.

First we edit fstab file

 #vi /etc/fstab

Append below line, you can also use credential and put your username and password on a file.

\\\Movie /win cifs user,uid=500,rw,suid,username=mugumugu,password=secretpass 0 0

Once appended

Create the mount target /win then mount the FS

#mkdir /win
#mount -a

Once done check the mount

# df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
\\\\\\Movie                     488383484 436233244  52150240  90% /win

Thats it.

Thursday, April 04, 2013

Installing and Configuring Bind DNS | Nameserver on Cent OS

Tech Blog - This is a short how to on setting up your own Domain Name Server for Cent OS 6, configuration should generally also applied to bind named package installed on other Linux flavour.

First we install bind using yum.

yum install -y bind.i686 bind-chroot.i686 

Once installed we edit named.conf

vi /etc/named.conf

Below is a sample configuration of named.conf, change IPs that applies to your network

// named.conf
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
// See /usr/share/doc/bind*/sample/ for example named configuration files.
options {
        directory "/var/named";
              dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";

        dnssec-enable no;
        dnssec-validation no;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";

//forwarders - for external dns queries, lets use opendns's IP or Router or ISP IP

       forwarders {;;;; };
        forward first;
        allow-transfer {
//Change IP to your networks IP, Only allow queries from you internal network                 allow-recursion {; localhost; };
//for logging useful to check if something is wrong with your configuration, specially during initial statup

logging {
        channel default_debug {
                file "data/";
                severity dynamic;

zone "." IN {
        type hint;
        file "";

//Your domains zone, see creting zone
zone "" {
        type master;
        file "/var/named/data/";
//for reverse lookup
zone "" {
        type master;
        file "/var/named/data/";

After editing named.conf, let us now our zones for forward and reverse lookup

vi  /var/named/data/

Below is a sample zone

@    IN    SOA
            9989    ; Serial
            8H    ; Refresh
            2H    ; Retry
            4W    ; Expire
            1D )    ; Minimum
;@    IN    MX    10    A
router                  A
desktop12               A

Now to setup for reverse lookup

vi /var/named/data/
Below is a sample entry
@    IN    SOA
            9989    ; Serial
            8H    ; Refresh
            2H    ; Retry
            4W    ; Expire
            1D )    ; Minimum IN        NS

181 PTR
1   PTR
98  PTR

Once done let start named

#/etc/init.d/named start

then point a workstation to your DNS and see if your DNS is working

# nslookup desktop12

# dig

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.4 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- 23028="" id:="" noerror="" opcode:="" query="" span="" status:="">
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;        IN    A

;; AUTHORITY SECTION:    86400    IN    SOA 9989 28800 7200 2419200 86400

;; Query time: 0 msec
;; WHEN: Tue Apr  2 11:26:01 2013
;; MSG SIZE  rcvd: 85

Then your done.

Wednesday, April 03, 2013

Setting up DHCP server on Linux | Cent OS 6

Tech Blog - Here is a quick how to setting up DHCP service on a Linux box, this is done on a Cent OS 6 installation, but configuration should apply to other flavours as well.

First we install the dhcpd package from the yum repository

yum -y install dhcp.i686

Once done we edit the configuration file  dhcpd.conf in /etc/dhcp, below configuration will assign IP range to 169, to any client requesting IP it will also assign a fixed/static address to host desktop12 with the MAC address C8:60:00:D0:69:5F.

vi /etc/dhcp/dhcpd.conf
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see 'man 5 dhcpd.conf'
ddns-update-style ad-hoc;
default-lease-time 12000;
max-lease-time 92000;
option subnet-mask;
option broadcast-address;
option routers;
option domain-name "";
option domain-name-servers;

subnet netmask {
#   range;
#   range;


use-host-decl-names on;
subnet netmask {
        group {
                filename "linux/pxelinux.0";

# Desktop:
   host desktop12 {
   hardware ethernet C8:60:00:D0:69:5F;

Now we start the DHCP service.

#/etc/init.d/dhcp start 

Then were done.


Tuesday, April 02, 2013

Getting client MAC Address Remotely on Linux

Tech Blog - This is a simple way of getting client MAC address remotely on a Linux machine provided you know the client IP address, this is very useful specially when setting up fixed addresses on dhcpd.conf, wherein you want to map static IP address to MAC address.

First we install nmap from the yum repository, if your using Cent OS | RHEL | Fedora, in may case I am using Cent OS 6.

yum install nmap.i686

After nmap has been installed, use the command below to find out the mac address mapped to the IP.

# nmap -sP

Starting Nmap 6.25 ( ) at 2013-04-01 09:50 PHT
Nmap scan report for desktop12 (
Host is up (0.00016s latency).
MAC Address: C8:60:00:D0:69:5F (Asustek Computer)
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds

If you have no idea what the client IP is you can also use nbtscan if the client are Windows machine to find out any useful information.

# nbtscan -v -s :    Sendto failed: Permission denied      �:00G  �:00U  �:20U      �:1eG      �:1dU __MSBROWSE__ �:01G
*** stack smashing detected ***: nbtscan terminated

If nbtscan is not installed, just do a search on your yum repository and install the package.

Monday, April 01, 2013

Installing Adobe PDF reader on Linux | Cent OS 6

Tech Blog - A quick how to on installing Adobe PDF reader on Linux, using yum repository on Cent OS 6.

First Lets install the Linux repository for Adobe Reader
# rpm -ivh
warning: /var/tmp/rpm-tmp.azsklt: Header V3 DSA/SHA1 Signature, key ID f6777c67: NOKEY
Preparing...                ########################################### [100%]
   1:adobe-release-i386     ########################################### [100%]

Then we import the key
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Then we search the yum repository for pdf, you shoudl get some result like below
# yum search pdf

============================================ N/S Matched: pdf ============================================
AdobeReader_chs.i486 : Adobe Reader for Linux。查看、导览和打印 PDF 文档的应用程序。
AdobeReader_cht.i486 : Adobe Reader for Linux。檢視、導覽和列印 PDF 文件的應用程式。
AdobeReader_dan.i486 : Adobe Reader til Linux. Et program, der kan bruges til navigation i samt visning og
                     : udskrivning af PDF-dokumenter.
AdobeReader_deu.i486 : Adobe Reader - die ideale Anwendung, um PDF-Dateien anzuzeigen, zu drucken oder
                     : gemeinsam daran zu arbeiten.
AdobeReader_enu.i486 : Adobe Reader, an application to easily view, print and collaborate on PDF files.
AdobeReader_esp.i486 : Adobe Reader para Linux. Una aplicación que permite ver e imprimir documentos PDF,
                     : así como desplazarse por ellos.
AdobeReader_fra.i486 : Adobe Reader est une application permettant d'afficher et d'imprimer des fichiers
                     : PDF en toute simplicité et d'y collaborer facilement.
AdobeReader_ita.i486 : Adobe Reader per Linux. Un'applicazione che consente di visualizzare e stampare
                     : documenti PDF.
AdobeReader_jpn.i486 : Adobe Reader は PDF ファイルを簡単に表示、印刷することができ、PDF
                     : 上でコラボレーションが可能なアプリケーションです。
AdobeReader_kor.i486 : Linux용 Adobe Reader입니다. PDF 문서를 보고 탐색하고 인쇄할 수 있는 응용
                     : 프로그램입니다.
AdobeReader_nld.i486 : Adobe Reader voor Linux. Een toepassing waarmee u PDF-documenten kunt weergeven en
                     : afdrukken en in PDF-documenten kunt navigeren.
AdobeReader_nor.i486 : Adobe Reader for Linux. Et program som kan brukes til å vise, navigere i og skrive
                     : ut PDF-dokumenter.
AdobeReader_ptb.i486 : Com o aplicativo Adobe Reader para Linux, é possível visualizar, navegar e imprimir
                     : documentos PDF.
AdobeReader_suo.i486 : Adobe Reader Linux-käyttöjärjestelmälle. Sovellus, jolla voi näyttää, selata ja
                     : tulostaa PDF-dokumentteja.
AdobeReader_sve.i486 : Adobe Reader för Linux. Ett program som du kan visa, navigera och skriva ut
                     : PDF-dokument med.

Now we install English Adobe reader

# yum install AdobeReader_enu.i486
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin:
 * base:
 * extras:
 * rpmforge:
 * rpmforge-extras:
 * updates:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package AdobeReader_enu.i486 0:9.5.4-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                      Arch              Version               Repository                     Size
 AdobeReader_enu              i486              9.5.4-1               adobe-linux-i386               57 M

Transaction Summary
Install       1 Package(s)

Total download size: 57 M
Installed size: 135 M
Is this ok [y/N]: y
Downloading Packages:
AdbeRdr9.5.4-1_i486linux_enu.rpm                                                   |  57 MB     15:21    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : AdobeReader_enu-9.5.4-1.i486                                                           1/1
  Verifying  : AdobeReader_enu-9.5.4-1.i486                                                           1/1

  AdobeReader_enu.i486 0:9.5.4-1                                                                         


You should now be able to see Adobe Reader 9 under Applications -> Office on your Desktop.

Saturday, March 30, 2013

Mount NTFS file system on Cent OS 6

Tech Blog - Here is a quick howto on mounting NTFS file system on Cent OS 6.

Install the RPMforge repository

For x86_64bit

$rpm -ivh

For i686
$rpm -ivh  rpmforge-release-0.5.2-2.el6.rf.i686.rpm

Install NTFS-3g Package
$yum install -y fuse-ntfs-3g.i686

Find you NTFS partition or disk using fdisk -l
[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xadd9ce31

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1698    13631488   27  Unknown
/dev/sda2   *        1698       20501   151041024   83  Linux
/dev/sda3           20501       38451   144179200    7  HPFS/NTFS
Then mount the disk or partition
mount -t ntfs /dev/sda3 /mnt
mount /dev/sda3 /mnt

Check disk should now be mounted
[root@localhost mnt]# df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            144179196 106332300  37846896  74% /mnt
[root@localhost mnt]# 

Thats it! 

For suggestion and concerns E-mail