Saturday, December 17, 2011

OpenWRT Backfire (10.03.1-RC6, r28680) Linksys WRT54GL



My Linksys WRT54GL wireless router running on OpenWRT

Sunday, December 4, 2011

Laptop overheat in Fedora 16

After installing Fedora 16 on my laptop(or any RH flavors) i noticed a huge temperature difference when running Windows 7 vs Fedora/RH. Definitely, my laptop temperature is high even in idle.

Followed a workaround as discussed in Bugzilla 702953 by setting the GPU power to mid instead of using the max power
[root@fedora ~]# acpi -t
Thermal 0: ok, 78.0 degrees C

Now set the GPU power to mid
[root@fedora ~]# echo mid > /sys/class/drm/card0/device/power_profile

Temperature goes down instantly
[root@fedora ~]# echo `date` && acpi -t
Sun Dec 4 06:18:35 SGT 2011
Thermal 0: ok, 71.0 degrees C
[root@fedora ~]# echo `date` && acpi -t
Sun Dec 4 06:30:05 SGT 2011
Thermal 0: ok, 68.0 degrees C

One alternative way of monitoring temperature is by the use of lm_sensors
[root@fedora ~]# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +83.0°C (crit = +103.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1: +84.0°C


Im running ATI Radeon HD5730 video card

Tuesday, November 29, 2011

The Youth Album na Walang Pamagat

The Youth's Album na walang pamagat is the best Pinoy album that was produced in the 90's when it comes to technicality of the recording. After 17 years, it still sounds good and will not be needing a remaster version for the next 10 yrs :)

Wednesday, November 23, 2011

Razer Mamba SystemTray loads up my cpu

I noticed that my CPU load is in havoc even in idle. Interestingly, the culprit was the Razer Mamba systemtray process.

http://www.overclock.net/t/1155194/cpu-mem-usage/10

 

To disable Razer Mamba System Tray at bootup

Click Run and type System Configuration

Click on Startup tab and uncheck "Razer Mamba Systray" then Apply

Sunday, November 6, 2011

penoy's new cave!!!

My family's new place here in Singapore rocks!!! and i got my own small office too. Will post some pix once i've done arranging my things... time to upgrade my 2.1 speaker which i got as free on my Canon printer?? will see once my budget officer approved.

 

Saturday, October 15, 2011

Phone Scam claiming from Microsoft

beware of this scam, i just received a call claiming they are from microsoft and said that my computer was sending malicious info in the net. Curiously, i removed my network connection(for safety reason) and followed their instruction..they asked me to go to the Event Viewer and asked if theres any error.. obviously there wil be erros in windows.they requested me to delete the error logs.. obviously i wasnt able to delete the logs.. after that he told me that a microsoft certified technician will scan my computer online by opening something which irritates me.. if theres any issues with my pc.. i will deal with it.. i can reformat anytime or use Linux.. and i dont want microsoft support to mess around with my pc.. the caller even says that if there will be any problem with my computer, it will not be Microsoft's fault.. to hell Microsoft cares???i hung up the phone.

Did some research on this scam and found the following sites.. please be warned and this kind of modus operandi is still on the loose

http://www.computerrepairtips.net/phone-call-from-microsoft-about-virus-is-a-scam/

http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/i-received-a-phone-call-from-someone-claiming-i/4489f388-d6de-416d-9158-0079764bb001

 

Wednesday, September 7, 2011

KC's birthday bash

2 days to go before i join my family for KC's birthday party. Pretty darn excited. Been stressed lately and i need a break. Maybe, goodbye CLI for 1 week. After Redhat, next target Veritas filesystem and clustering.

Tuesday, September 6, 2011

Red Hat Certified Engineer

It has been a long day for me.. RHCSA exam in the morning and RHCE exam in the afternoon. Finally after months of self study and 4 days on the rapid track course, i nailed both exam.
Pretty much to say that i'm so proud  on the cert. This is not the type of exam that you will just choose among the multiple choice or configure in a simulated environment. It will test your knowledge on how well you understood Redhat.
On future takers, i advised you to know the exam objectives inside and out. SELinux looks like intimidating at first, but as soon as you understand how it works,it will be a piece of cake for you :)

Materials/books used


RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press)  -- Michael Jang
Highly recommend!!! Comes with a CD with pdfs and labs exams at the end of every chapter. My fav source of info for the exam.

Hands-on Guide to the Red Hat® Exams: RHCSA™ and RHCE® Cert Guide and Lab Manual (Certification Guide) -- Damian Tommasino
Lots of errors, but hey, as soon as you pointed the errors in the book, it just shows that you know your stuffs. Used to counter check configs and setup.

RH300 RHCE Rapid Track course
Final review for the exam. It cost much but highly recommended also. It guides me and helps to fill in the gaps on what i have learned already on my home lab. Before taking the course, i advised that you first do your home work. Learn the exam objectives, build your own home lab, simulate the configs as advised on Michael and Damian's book. In this way when you attend the course, you can ask all the questions that you have on your instructor. This is fast-paced course so make full use of it.

texastwister/OpenRHCE - GitHub - This is a beast study guide. I used this as a last minute review before taking the exam. Reading the whole week while in the train :) Highly recommended also

As  always, we signed the Non-disclosure Agreement so i will not divulge anything specific about the exam. I might update this blog,but will not be on the RHCE exam specific anymore.
Study!!! study!!!! study!!!!! lab!!!! lab!!!! lab!!!! simulate!!!! simulate!!!! and always follow the KISS principle..

 

reposted from RHCSA/RHCE Exam notes August 26 2011

Sunday, June 19, 2011

Happy father's day

It's wAs a long day. Yesterday my wife surprise me of the thing that I wanted since it came out... An Ipad2.. It is the 64G white version. This morning another gift she put on my home office table.. A Tommy Hillfiger watch... I'm deeply touched and appreciate the effort she and KC did this Father's day. Love you both...

Sunday, March 27, 2011

Tweetdeck

Im using Tweetdeck for almost a month now. Since my Chrome freezes my computer and switched to Opera(in which Tweetdeck doesnt have apps for Opera) i installed the desktop version.

Twitter is not bad at all. It depends on how you use it. For example, i want to know the latest news on a certain topics, i will just add a column in Tweetdeck with the corresponding keywords search.

My current keywords are:

RHCE RHCSA centos Redhat

Friday, March 4, 2011

Scientific Linux 6 released

Scientific Linux 6 was released for i386 and x86_64

Monday, February 28, 2011

KVM and Virtualbox rants

Redhat 6 used KVM(?) in virtualization but Rhel6 DVD doesnt have kvm rpms. You can't rum KVM on a virtualized environment in Virtualbox. Virtualized processor doesnt support hardware virtualization(VT-x and AMD-v). On that note, i might need new computer just to simulate KVM that i cant afford as of now..

Friday, February 18, 2011

Playing with Logical Volume Manager

Initialize disk using pvcreate
[root@rhel01 ~]# pvcreate /dev/sda1
Physical volume "/dev/sda1" successfully created

Create volume group lab_group1
[root@rhel01 ~]# vgcreate lab_group1 /dev/sda1
Volume group "lab_group1" successfully created

In this sample i created 10MB of logical volume mount to /mnt
[root@rhel01 ~]# lvcreate -L 10M lab_group1 -n lab01
Rounding up size to full physical extent 12.00 MiB
Logical volume "lab01" created
[root@rhel01 ~]# mkfs.ext4 /dev/lab_group1/lab01
mke2fs 1.41.12 (17-May-2010)

[root@rhel01 ~]# mount /dev/lab_group1/lab01 /mnt
[root@rhel01 ~]# df -h /mnt

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/lab_group1-lab01

12M  1.2M   10M  11% /mnt

Extending Logical Volume using new disk

Initialize new disk
[root@rhel01 ~]# pvcreate /dev/sdb1
Wiping software RAID md superblock on /dev/sdb1
Physical volume "/dev/sdb1" successfully created

Extend lab_group1 volume group
[root@rhel01 ~]# vgextend lab_group1 /dev/sdb1
Volume group "lab_group1" successfully extended
[root@rhel01 ~]# vgdisplay lab_group1
--- Volume group ---
VG Name               lab_group1
System ID
Format                lvm2
Metadata Areas        2
Metadata Sequence No  3
VG Access             read/write
VG Status             resizable
MAX LV                0
Cur LV                1
Open LV               0
Max PV                0
Cur PV                2
Act PV                2
VG Size               56.00 MiB
PE Size               4.00 MiB
Total PE              14
Alloc PE / Size       3 / 12.00 MiB
Free  PE / Size       11 / 44.00 MiB
VG UUID               o8kB09-P20F-QLFx-UmPE-5BB5-mlu9-o867qV

Extend logical volume lab01
[root@rhel01 ~]# lvextend -L +10M /dev/lab_group1/lab01
Rounding up size to full physical extent 12.00 MiB
Extending logical volume lab01 to 24.00 MiB
Logical volume lab01 successfully resized
[root@rhel01 ~]# df -h /mnt
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/lab_group1-lab01
12M  1.2M   10M  11% /mnt
[root@rhel01 ~]# resize2fs /dev/lab_group1/lab01
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/lab_group1/lab01 is mounted on /mnt; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/lab_group1/lab01 to 24576 (1k) blocks.
The filesystem on /dev/lab_group1/lab01 is now 24576 blocks long.
[root@rhel01 ~]# df -h /mnt
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/lab_group1-lab01
24M  1.2M   22M   5% /mnt

LVM: Can't remove open logical volume



lvremove command can't remove open logical volume



[root@rhel01 /]# lvremove /dev/lab_group/lab01

Can't remove open logical volume "lab01"

Command failed


Using dmsetup command to check the status of the LVM



[root@rhel01 /]# dmsetup info -c lab_group-lab01

Name             Maj Min Stat Open Targ Event  UUID

lab_group-lab01  253   7 L--w    0    1      0 LVM-XHpst6rC31EOIHxjWAp6CfbCBUIcF                                                                        p1uqjWa6RINr32OZVWF0pdnfaal8DKoUZGH


Eventhough Open is 0 still can't remove the logical volume




[root@rhel01 /]# lvremove /dev/lab_group/lab01

Can't remove open logical volume "lab01"



Removing dm table entry



[root@rhel01 /]# dmsetup remove lab_group-lab01


lvremove successfully removed the logical volume



[root@rhel01 /]# lvremove /dev/lab_group/lab01

Logical volume "lab01" successfully removed




Friday, February 11, 2011

Oracle Certified Sytem Admin for Solaris 10

Passing score:63

Your Score : 70

Result: PASS

Whoa i barely passed  Oracle Certified System Admin for Solaris 10 (310-202) Part 2 exam. Caught off guard on LDAP and I just hate Jumpstart questions. Already convinced myself that  i failed the exam because of the low percentile per topic, but what a relief when the examiner handed me the test printout with the word PASS.

Have to relax first this weekend before i go back to my labs.. hopefully RHCE eh :)

Saturday, January 22, 2011

/sbin/loader hangs while installing RHEL 6 in Virtualbox

running install...

running /sbin/loader

Hit tab key in Grub and enter this at the end of the line
linux apm=off acpi=off pci=noacpi

Referrence http://www.samlesher.com/category/fedora