Tuesday, September 29, 2015

Setup IPVanish VPN for BlackBerry 10

Today, i'm gonna share how to setup IPVanish VPN on BlackBerry OS 10 (Blackberry Z3/Z10/Z30/Passport/Classic).

Since i'm a lazy person, I do apologize cannot share screenshot, only step how to do it. If you have any question, do not hesitate to drop your comments below.

How to create new VPN connection:

  1. Open "Settings"
  2. Choice"Networks and Connections"
  3. Choice "VPN"
  4. Add new VPN
Add VPN profile

Profile Name: anything
Server Address: IPVanish VPN server
Gateway Type: Generic IKEv2 VPN Server
Authentication Type: EAP-MSCHAPv2
Authentication ID Type: IPv4
MSCHAPv2 EAP Identity: anything, this field does not matter
MSCHAPv2 Username: ipvanish_username
MSCHAPv2 Password: ipvanish_user_password
Gateway Auth Type: PSK
Gateway Auth ID Type: IPv4
Gateway Preshared Key: ipvanish 
Perfect Forward Secrecy: not checked
There is no need to change any "Advanced" configurations.

Done! Try to connect to your new VPN setting. Good luck!

Friday, April 18, 2014

ERROR: doTerminate: EGL count is 2 but managed count is 1

Problem:
"doTerminate: EGL count is 2 but managed count is 1"

If you found this error from your logcat, here's how to solve it.

Solve:
Make sure to uncheck "Don't keep activities" on Developer options menu

Wednesday, April 24, 2013

Uninstall rEFIt - quick and dirty

  • Open "terminal",
    • Application -> Terminal
  • Delete "efi" folder,
    • sudo rm -rf /efi
  • Delete "rEFITBlesser",
    • sudo rm -rf /Library/StartupItems/rEFItBlesser
  • Done..   :)

Tuesday, April 23, 2013

Ettercap + SSLStrip

Wanna sniff some Facebook, Twitter or any kind of website under your network or poisoning your friend computer even that website using HTTPS for auth page? Well, ettercap and sslstrip are ready to help. 

Monday, April 15, 2013

Install Facebook Home on Nexus 3

Wanna try new facebook app? They call it Facebook Home. Well, it will give you new experiences get in touch with friends in fancy way. At least for me... hehe...

Unfortunately, they only release this app for Samsung Galaxy S3, Galaxy S4 and Note 2, and the HTC One X, One X+ and new HTC One.  But with the beauty of Android community, they port it into other phone. I tried this on my lovely Nexus 3 and it work like a charm.  I cannot guarantee this app also work on your phone. But just give it a shot.  ;)


Sunday, April 14, 2013

PostgreSQL DB benchmarking

Creating DB benchmarking ---> pgbench -i -s 10 pgbench1

1. Benchmarking with pgbench

root@devel:/etc/pgbouncer# /usr/lib/postgresql/9.0/bin/pgbench -c 10 -C -T 60 -p 9999 -U postgres pgbench
starting vacuum...end.
transaction type: TPC-B (sort of)
scaling factor: 10
query mode: simple
number of clients: 10
number of threads: 1
duration: 60 s
number of transactions actually processed: 19034
tps = 317.123852 (including connections establishing)
tps = 387.216036 (excluding connections establishing)

Fixing :sudo:must be setuid root" problem

Use this command:

 chmod u+s /usr/bin/sudo