Apr 6, 2008

84monkifox: Greasemonkey Script for Firefox (Diblokir Aja Kok Repot...)

Terinspirasi dari trik ini, saya coba membuat script yang sedikit lebih "elegan" hehe.

Berawal dari pemikiran "Kenapa setiap kali harus buka web pr0xy untuk mengakses situs-situs terblokir?"

Maka dibuatlah script ini. Begitu kita memasukkan alamat salah satu situs terblokir, script ini akan otomatis melakukan akses via pr0xy, dalam hal ini saya menggunakan bypassfox.com.

Script ini tidak mempengaruhi browsing di situs selain grup "The 84", mereka tetap diakses dengan jalur normal.

Step by step instalasi (anda mungkin perlu copy paste ke notepad agar halaman ini tidak tertutup):

1. Install terlebih dahulu addon Greasemonkey di:
https://addons.mozilla.org/en-US/firefox/addon/748
2. Selesai instal, restart Firefox.
3. Install script 84monkifox di:
http://userscripts.org/scripts/show/24806
4. Selesai. Coba uji dengan buka situs terblokir seperti biasa =)

Your mileage may vary. Mungkin memudahkan, mungkin lebih ribet. At least it's easier for my use :p

Mar 8, 2008

Menunggu SATA HD Internal Support untuk Linux Installer

Komputer kantor punya 2 hard disk SATA masing-masing berkapasitas 80 Gb. Sayangnya pada saat instalasi tipe hard disk ini tidak memiliki driver internal di installernya. Sudah dicoba dengan XP, Ubuntu, PCLinuxOS, even PC-BSD.

Memang, saya sekarang jauh lebih malas daripada dulu. Kalau dulu masih ada
motivasi untuk ngoprek, sekarang lebih banyak nunggu distro mana yang
duluan support fitur yang saya inginkan hehe.

Yang jelas, kabarnya linux kernel 2.6-sekian sudah memiliki support untuk controller Promise FastTrak 378 saya. Distro mana yang sudah pakai kernel 2.6-sekian itu secara default ya?

Update: Debian Etch support!

Feb 23, 2008

Hacker Mengincar Pemakai Internet Explorer, Facebook, Myspace

Jika anda pemakai Internet Explorer (versi 6 atau 7), berhati-hatilah: bulan Februari ini telah ditemukan lubang keamanan di beberapa plug-in IE yang bisa ditanam untuk mencuri data-data pribadi.

Symantec menyatakan telah menemukan kelemahan di sekumpulan komponen ActiveX yang dirancang oleh Aurigma, perusahaan yang membuat fasilitas upload image via web. Program ini dilisensi oleh berbagai situs besar diantaranya Facebook.com dan MySpace.com

Full story cross-posted at: http://metrofx.boardpunk.org/post/27104027

Jan 24, 2008

Copying Home Folder

I know this next line needs a lot of explanation, but the resulting tar commandline is one line:

mount /dev/hda5 /newhome;cd /home;tar cvf - .|(cd /newhome;tar xvf - .);umount /newhome;mount /dev/hda5 /home


OK. No panic. I will explain. The "mount /dev/hda5 /newhome" just mounts the newly created partition (I suppose for the sake of simplicity the the newly created partition is hda5). That step is not required at all if you used diskdrake to create the partition, and you clicked the mount button after you created the partition. The "cd /home" means change to the /home directory (similar in effect to selecting a directory in the file manager).

Now the meat: "tar cvf - .|(cd /newhome;tar xvf - .)" This means create, on stdout, a tar archive of the current working directory (i.e /home since in the previous cd instruction we selected the /home as our current working directory) and pipe the created tar file into the second tar instruction which will untar stdin into its current working directory which will be /newhome in this example.

After that we unmount the partition from the /newhome mount point "umount /newhome" and remount it on /home: "mount /dev/hda5 /home"

After that the only thing we have to do edit the /etc/fstab telling the system on the next reboot that our /home directory structre is not part of the / partition anymore but it is a separate partition. The linux command to do this:

echo "/dev/hda5 /home auto defaults 0 0">>/etc/fstab


The >> sign is a special form of redirection meaning append the output to the end of the file (concatenate).

I know, I know a lots of talk, but believe me it is a lot easier to explain (and do) this using the terminal than it would be writing a step by step instruction how to do this with the GUI: clicking here clicking there, dragging from here dropping to there...

Labels:

Jan 15, 2008

Virtualbox Installation on PCLOS 2007


While installing package dkms-virtualbox-1.5.2-1pclos2007:

+ /usr/sbin/dkms --rpm_safe_upgrade add -m virtualbox -v 1.5.2-1pclos2007

Creating symlink /var/lib/dkms/virtualbox/1.5.2-1pclos2007/source ->
/usr/src/virtualbox-1.5.2-1pclos2007

DKMS: add Completed.
+ /usr/sbin/dkms --rpm_safe_upgrade build -m virtualbox -v 1.5.2-1pclos2007

Running PCLinuxOS DKMS build routine. Please Wait....

Building module:
cleaning build area....
make KERNELRELEASE=2.6.22.10.tex1 -C /lib/modules/2.6.22.10.tex1/build M=/var/lib/dkms/virtualbox/1.5.2-1pclos2007/build......
cleaning build area....

DKMS: build Completed.
+ /usr/sbin/dkms --rpm_safe_upgrade install -m virtualbox -v 1.5.2-1pclos2007
Running module version sanity check.

vboxdrv.ko.gz:
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.22.10.tex1/kernel/3rdparty/vbox/

depmod.....

DKMS: install Completed.
+ /sbin/modprobe vboxdrv
+ /usr/share/rpm-helper/add-service virtualbox 1 virtualbox

Labels: , ,

Sep 22, 2007

format existing partition in ubuntu

maybe you need to prepare one empty partition for, i.e. to create new mount point. in this example i formatted /dev/hda3 partition (mounted as /media/hda3)

1. mkfs.ext3 /dev/hda3
format /dev/hda3 as ext3 (if not empty, backup!)
2. sudo vol_id /dev/hda3 | grep UUID
note the UUID code.
3. egrep hda3 /etc/fstab
note also the UUID code.
4. if there's difference between UUID in no. 2 and no. 3, change /etc/fstab with UUID from no. 2

in this case, i emptied a partition which already exist in /etc/fstab.
if you just installed new hard disk and only want to format it, adjust my steps accordingly ;)

kinda complicated and not too informative, so if you have easier methods, share with us.

Dec 23, 2006

Mencetak dari Ubuntu ke Windows XP printer share

Walaupun belum lama menggunakan Ubuntu 6.06 LTS sebagai "mesin kerja" di
kantor (berpindah-pindah dari XP-Ubuntu kurang lebih 6 bulan, full
Ubuntu 2 minggu) namun saya sudah bisa mengacungkan jempol atas hasil
kerja keras komunitas open source & tim Canonical.

Terbukti pada saat ingin mencetak ke printer jaringan dengan OS Windows
XP, tidak terlalu sulit melakukan setting printer. Database printer
driver yang disediakan cukup lengkap. Saya hanya perlu menginstall
package foomatic-gui dari menu Applications - Add/Remove. Atau jika
terbiasa dengan console, tinggal 'apt-get install foomatic-gui'.
Setelah itu muncul menu tambahan di System - Administration - Printers.
Menunya wizard style seperti di Windows.

Yang perlu diperhatikan hanyalah setting Connection, dimana kita
memasukkan Printer type sebagai Network Printer - Windows Printer (SMB).
Kemudian masukkan nama mesin yang dipakai sebagai printer jaringan.
Setelah itu Ubuntu akan mendeteksi printer yang tersedia di mesin
tersebut, kita tinggal memilih nama printer yang available dari menu
pull-down.

Dalam kasus saya, printer yang terdeteksi adalah HP LaserJet 6L dan
Epson Stylus CX3100. Keduanya tak mengalami masalah saat dilakukan print
test page.

One more good reason to stay with Ubuntu !

PS: Sekarang ini satu-satunya kebutuhan untuk kembali ke Windows
hanyalah untuk main Counter Strike hehe...