Eddie Lim’s Blog @ lucifernet.com

Just another Eddie Lim’s weblog

Archive for the 'Uncategorized' Category

DiGi iPhone 4 Play

From the previous experice with my iphone2G, which doesn’t have the appstore features, i think that lead me stay out from apple from a while, but since iphone3Gs, the appstore feature is like a very fantastic feature to me, which i have need no hassle for apps downloading.

I once borrow my friend’s iphone 3GS, and my most favorite app is the Angry Birds, I could play the game whole day long and it’s cute… I could spend my whole weekends afternoon just to play this game.

Other people may say this is not a useful app, but it is still useful for me as i can “waste” my spare time just to play this little small app in my room.

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

DiGi iPhone 4 Me

I used to have an Iphone 2G, that bought from US long long time ago which that unit is a locked AT&T unit and after used for 2 weeks, i have given away to my aunt and she is still using until now. Although I am not an apple fan boy and I myself is using HTC android’s phone, but as a technology enthusiast, I would also like to own one too if i have extra cash to spend :) . Iphone4 is quite a fast phone with apple A4 processor, which i like, i like every phone that is fast and without slowing my browsing or gaming experience with the phone.

If you guys compare recent Iphone4 war between Maxis and Digi, you know which telco plan for you to choose, as now MNP is everywhere available to keep your existing phone number without changing your prefix.

As for my personal preference, i chose DIGI over MAXIS because the plan is good, 3G/HSDPA is fast and it is UNLIMITED, not like MAXIS, if u subscribe 500MB package, they will start charging you if you overuse start from 500.0001MB … until you reach RM250 charge of data.

Tons of my friends and colleagues which are from Maxis last time, had already MNP from Maxis to Digi and they are now a happy customer, the only problem that they are facing now is the old Iphone3GS battery life, which need to charge 2-3 times per day, and according to engadget.com

This is a big one for many people, and we have some fairly surprising news to report. The battery life on the iPhone 4 has been outstanding thus far, exceeding our expectations for longevity during testing. We’ve only had a short time to use the phone, but in the week or so we’ve been carrying the device as our main phone, we’ve had pretty amazing results under normal to heavy use. In fact, we managed to squeeze more than 38 hours — yes, 38 hours — of life out of a single charge using the phone as we normally would. We’re talking calls, some gaming, lots of push email and calendar invites, playing music over Bluetooth in the car, and just general testing (like downloading new apps, rearranging icons, tweaking settings). We went from 10:30AM on a Saturday morning till 1:00AM on Monday without needing to charge the phone. Of course, it switched itself off just after the clock struck 1, but it was thrilling — like that episode of Seinfeld where Kramer and the car salesman see how far they can get in a car with the tank on E. Sitcom references aside, the battery life seems markedly improved in the iPhone 4, and why not? It’s got a much larger battery coupled with that iPad-powering A4, which has already shown that it can sip rather than gulp power.

, the iphone 4G battery life is slightly better compare with its predecessor.

Below is the video clip that show you why you should choose Digi over Maxis

httpv://www.youtube.com/watch?v=7NEPa8GO1Bk

for Digi’s plan price please visit :-

http://www.digi.com.my/iphone/getone_want_iphone.html

for Maxis’s plan price, please visit :-

http://www.maxis.com.my/personal/iphone4/rates.asp

>

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have Comments (2)

Defcon 18

Ever go to Defcon ? below is the Defcon 18 conference at Las Vegas, watch Hak5 with daren on what’s going on at Defcon 18.

httpv://www.youtube.com/watch?v=PMj2zj-45ik&playnext=1&videos=Bd9TRE2PKq8

Defcon, the only conference that i dream to be there. :_(

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Found a nice repo for centos 5

centos5

centos5

Decided to compile my old apache webserver with mod_secure and found out some dependency problem on centos 5, the liblua-5.1.so which hasn’t include on the original package of centos has made my life miserable.

After google awhile and i found a good repo site which solved my problem, I just love yum and apt-get, don’t you guys think so, it makes your life easier without  those configure; make; make install thingy :D it has been always good for those lazy System Admin like me.

Firstly you need to impor GPG key from http://www.jasonlitka.com/yum-repository/

rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Then vi or nano or whatever editor the /etc/yum.repos.d/utterramblings.repo

put :-

[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

if you have yum priority installed like mine, put priority=1 after the last sentence.

For you information, this repo is compatible with RHEL4,RHEL5, and Centos 4,5, and provides x86 and i386 platform.

if you like his this, visit http://www.jasonlitka.com for more detail.

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

WPA2 vulnerability found!

Until now, the WPA security version known as ‘WPA2 (AES encryption) with 802.1x authentication’ was considered as one of most secure WiFi deployments by most wireless security experts. This is due to the resilience of this version to brute force dictionary attacks that can possibly cause intrusion into WPA/WPA2 PSK deployments

Also, the version is free from the TKIP vulnerability that is present on WPA TKIP deployments and can be used to launch potential attacks. However, with the newly discovered “Hole 196” vulnerability, this version now too is exposed to practical security problems.

To learn more about the “Hole 196” vulnerability, you need to wait for the live demo of the same entitled “WPA Too?!”, which is scheduled at BlackHat Arsenal on July 29 and at Defcon 18 on July 31 in Las Vegas. Let’s see how it goes…

That’s why using WPA2 CCMP is not enough, using WPA2 enterprise with openradius authentication via SSL or TLS is the most secure one.

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Replacing A Failed Hard Drive In A Software RAID1 Array

I am doing this guide for my own reference on how to remove a failed hard drive from a Linux RAID1 array (software RAID), and how to add a new hard disk to the RAID1 array without losing data.

It may work for you but i did not guarantee it, because i am getting it from another link

1 Preliminary Note

In this example I have two hard drives, /dev/sda and /dev/sdb, with the partitions /dev/sda1 and /dev/sda2 as well as /dev/sdb1 and /dev/sdb2.

/dev/sda1 and /dev/sdb1 make up the RAID1 array /dev/md0.

/dev/sda2 and /dev/sdb2 make up the RAID1 array /dev/md1.

/dev/sda1 + /dev/sdb1 = /dev/md0

/dev/sda2 + /dev/sdb2 = /dev/md1

/dev/sdb has failed, and we want to replace it.

2 How Do I Tell If A Hard Disk Has Failed?

If a disk has failed, you will probably find a lot of error messages in the log files, e.g. /var/log/messages or /var/log/syslog.

You can also run

cat /proc/mdstat

and instead of the string [UU] you will see [U_] if you have a degraded RAID1 array.

3 Removing The Failed Disk

To remove /dev/sdb, we will mark /dev/sdb1 and /dev/sdb2 as failed and remove them from their respective RAID arrays (/dev/md0 and /dev/md1).

First we mark /dev/sdb1 as failed:

mdadm –manage /dev/md0 –fail /dev/sdb1

The output of

cat /proc/mdstat

should look like this:

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0] sdb1[2](F)
24418688 blocks [2/1] [U_]

md1 : active raid1 sda2[0] sdb2[1]
24418688 blocks [2/2] [UU]

unused devices: <none>

Then we remove /dev/sdb1 from /dev/md0:

mdadm –manage /dev/md0 –remove /dev/sdb1

The output should be like this:

server1:~# mdadm –manage /dev/md0 –remove /dev/sdb1
mdadm: hot removed /dev/sdb1

And

cat /proc/mdstat

should show this:

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0]
24418688 blocks [2/1] [U_]

md1 : active raid1 sda2[0] sdb2[1]
24418688 blocks [2/2] [UU]

unused devices: <none>

Now we do the same steps again for /dev/sdb2 (which is part of /dev/md1):

mdadm –manage /dev/md1 –fail /dev/sdb2

cat /proc/mdstat

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0]
24418688 blocks [2/1] [U_]

md1 : active raid1 sda2[0] sdb2[2](F)
24418688 blocks [2/1] [U_]

unused devices: <none>

mdadm –manage /dev/md1 –remove /dev/sdb2

server1:~# mdadm –manage /dev/md1 –remove /dev/sdb2
mdadm: hot removed /dev/sdb2

cat /proc/mdstat

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0]
24418688 blocks [2/1] [U_]

md1 : active raid1 sda2[0]
24418688 blocks [2/1] [U_]

unused devices: <none>

Then power down the system:

shutdown -h now

and replace the old /dev/sdb hard drive with a new one (it must have at least the same size as the old one – if it’s only a few MB smaller than the old one then rebuilding the arrays will fail).

4 Adding The New Hard Disk

After you have changed the hard disk /dev/sdb, boot the system.

The first thing we must do now is to create the exact same partitioning as on /dev/sda. We can do this with one simple command:

sfdisk -d /dev/sda | sfdisk /dev/sdb

You can run

fdisk -l

to check if both hard drives have the same partitioning now.

Next we add /dev/sdb1 to /dev/md0 and /dev/sdb2 to /dev/md1:

mdadm –manage /dev/md0 –add /dev/sdb1

server1:~# mdadm –manage /dev/md0 –add /dev/sdb1
mdadm: re-added /dev/sdb1

mdadm –manage /dev/md1 –add /dev/sdb2

server1:~# mdadm –manage /dev/md1 –add /dev/sdb2
mdadm: re-added /dev/sdb2

Now both arays (/dev/md0 and /dev/md1) will be synchronized. Run

cat /proc/mdstat

to see when it’s finished.

During the synchronization the output will look like this:

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0] sdb1[1]
24418688 blocks [2/1] [U_]
[=>...................]  recovery =  9.9% (2423168/24418688) finish=2.8min speed=127535K/sec

md1 : active raid1 sda2[0] sdb2[1]
24418688 blocks [2/1] [U_]
[=>...................]  recovery =  6.4% (1572096/24418688) finish=1.9min speed=196512K/sec

unused devices: <none>

When the synchronization is finished, the output will look like this:

server1:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid5] [raid4] [raid6] [raid10]
md0 : active raid1 sda1[0] sdb1[1]
24418688 blocks [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
24418688 blocks [2/2] [UU]

unused devices: <none>

That’s it, you have successfully replaced /dev/sdb!

Original link : - http://www.howtoforge.org/replacing_hard_disks_in_a_raid1_array (by falko)

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Amazing Thailand’s advertisement

Has been amazed by Thai’s adverts for long long time,

below is another wonderful ads by them, which posted by my friend in facebook.

httpv://www.youtube.com/watch?v=pqx0wRUDKDA

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Virtual Private Networks using your Google account !

Below is my favourite online show HAK5, this episod they are talking about VPN that using google account :-

httpv://www.youtube.com/watch?v=koDFZWJ-Jck&videos=mmNoeiu5QKc

After watching this, the GBRIDGE is actually @ http://www.gbridge.com/

this software will enable the function of sharing, VNC, VPN whatever u stated, it is not running on industrial IPSEC VPN, but it serves what it should be achieved.

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Scam using Bukit Aman phone line

My friend post a link @ facebook to warn others to beware of the prank used by some syndicates to transfer your money out from your account

detail is at below link :-

http://ubisoft.biz/dc/2010/06/scam-using-bukit-aman-phone-line.html

just wondering how they manage to transfer your money by just doing such prank call to malaysia people.

So beware of this number  03-26163822 and claim that he is Inspector Liew from Bukit Aman, and 00852-65207072 Inspector Wong Kuan that claimed to be a HK police.

this inspecter liew from bukit aman claim to have a handphone number of 016-3901947.

so beware of all these, is a SCAM !!!

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

ACR30U linux driver

After days of research in googling, found many post that uses ACR30U in linux environment, the USB smartcard device uses the PCSCD in linux in order to read the card.

Here is the driver for it after so many days googling :-

http://www.acs.com.hk/drivers/eng/ACx30U_driver_Lnx_100_P.zip

just do a make; make install and it will dump the driver into /usr/local/pcsc/drivers/

Full path of the driver would be in /usr/local/pcsc/drivers/acsAcr30.bundle/

Post Footer automatically generated by wp-posturl plugin for wordpress.

posted by admin in Uncategorized and have No Comments

Switch to our mobile site