.:25 June 2007:.

Cara Remote PC Client dari Server


  1. Masuk ke terminal/console

  2. Umpamanya username client1 ipnya 192.168.1.100 maka ketikan ssh client1@192.168.1.100


Labels:


Read More!


Mereboot / menshutdown PC client dari server


  1. Masuk root di client

  2. Umpamanya nama clientnya client1 maka perintahnya echo "client1 ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

  3. Ketikan perintah chmod 7755 /sbin/shutdown (jika mau shutdown)

  4. Ketikan perintah chmod 7755 /sbin/reboot (jika mau reboot)



Labels:


Read More!


.:21 June 2007:.

Fakta-Fakta dari Seorang Bill Gate$


  1. Bill Gates menghasilkan US$250 setiap detiknya, itu sekitar US$20 juta sehari dan US$7,8 milyar setahun!

  2. Jika dia menjatuhkan US$1.000, dia bahkan tidak perlu repot-repot lagi untuk mengambilnya kembali karena sama dengan waktu 4 detik untuk mengambil, dia sudah memperoleh penghasilan dalam jumlah yang sama.

  3. Utang nasional Amerika sekitar US$5,62 trilyun, jika Bill Gates akan membayar sendiri utang itu, dia akan melunasinya dalam waktu kurang dari 10 tahun.

  4. Dia dapat menyumbangkan US$15 kepada semua orang di dunia tapi tetap dapat menyisakan US$5 juta sebagai uang sakunya.

  5. Michael Jordan adalah atlit yang dibayar paling mahal di Amerika. Jika dia tidak makan dan minum dan tetap membiarkan penghasilannya utuh dalam setahun sejumlah US$30 juta, dia tetap harus menunggu sampai 277 tahun agar bisa sekaya Bill Gates sekarang.

  6. Jika Bill Gates adalah sebuah negara, dia akan menjadi negara terkaya sedunia nomor ke 37 atau jadi perusahaan Amerika terbesar nomor 13, bahkan melebihi IBM.

  7. Jika semua uang Bill Gates ditukarkan ke dalam pecahan US$1, kita dapat menyusunnya menjadi jalan dari bumi ke bulan, 14 kali bolak balik. Tapi jalan itu harus dibuat non stop selama 1.400 tahun dan menggunakan total 713 buah pesawat Boeing 747 untuk mengangkut semua uang itu.

  8. Bill Gates sekarang berumur 40 tahun. Jika kita mengasumsikan dia dapat hidup 35 tahun lagi maka dia harus membelanjakan US$6,78 juta per hari untuk menghabiskan semua uangnya sebelum dia pergi ke surga.

  9. Tapi! Jika pemakai Microsoft Windows dapat mengklaim US$1 untuk setiap kali komputernya hang karena Microsoft Windows, Bill Gates akan segera bangkrut dalam waktu 3 tahun!




Labels:


Read More!


.:10 June 2007:.

Pasang Webcam di Zencafe

  1. Install kernelsource-2.6.20-i486-44.1.tgz dari http://distro.ibiblio.org/pub/linux/distributions/zenwalk/i486/archive/kernelsource
    -2.6.20-i486-44.1.tgz
  2. Install gspcav1-20070508_2.6.17.13-i486-1.tgz dari http://www.slackware.com/~alien/slackbuilds/gspcav1/pkg/11.0/gspcav1-200705
    08_2.6.17.13-i486-1.tgz
  3. ectract gspcav dan jalankan doinst.sh



Labels:


Read More!


.:07 June 2007:.

Billing CCL client auto close desktop

  1. Download dulu CA.pem dan cert.pem
  2. Tempatkan kedua file tadi di folder ~/.cclfox untuk server dan ~/.cclcfox untuk client.
  3. Trus hilangkan -nossl nya. Masuk root dulu lalu perintahnya adalah mcedit /home/username pc Anda/.config/autostart/ccl.desktop trus hilangkan -nossl nya di server maupun di client

Labels:


Read More!


.:06 June 2007:.

Multiseat (IV): evdev and Xephyr





What is evdev?

evdev is the generic input event device driver. It passes the events generated in the kernel (since version 2.6.8) straight to the program, with timestamps.

The evdev driver is able to separate and distinguish events coming from different keyboards and mouses plugged into the computer. The xorg supports evdev input driver module since version 6.9/7.0 . This way, it can get separated input events coming from every seat (keyboard and mouse pair) on the system.

This is a great step compared to previous multiseat solutions, since it makes possible to have multiterminal systems without having to patch neither the kernel nor the X server.

What is Xephyr?

Xephyr is a kdrive based X Server which targets a window on a host X Server as its framebuffer. In other words, it is a piece of software which creates a X server on top of another X server. That will allow us to run as many Xephyr instances as seats we have in our system. Every Xephyr instance will cover the area shown in a given display, and finally, evdev will allow us to separate the different input devices.

The good news

Xephyr is included in the universe repository from Ubuntu.

The bad news

The Xephyr version included in the Ubuntu repository, does not support evdev. I hope in a near future Xephyr comes with evdev upport.

Right now, you will have either to patch the Xephyr sources and compile it, or download an already patched solution. Download links for both solutions are available here.

# wget http://www.c3sl.ufpr.br/multiterminal/howtos/xephyr-precompiled.tar.bz2
# tar -xjf xephyr-precompiled.tar.bz2 --directory /usr/local/


Now it is time to plug your second set of keyboard and mouse. The evdev driver will access the input coming from every device by means of a given event in the form of /dev/input/eventNN. You must obtain the event id associated to every input device.

A new problem arises, since the event number assigned can change (in fact, it changes) between different boots. To solve this problem we well use a wrapper script. The script is the same as proposed here, but modified in order to obtain the event number given the physical connection of the device. We are assuming that the devices will be always plugged in the same position (you can label the back connectors to remember the correct position). Since the physical device addresses do not change between boots, the script can obtain the corresponding event id and match it properly with one physical keyboard or mouse.

Input devices and events, once plugged the second keyboard and mouse:

# cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1 ts0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=0d62 Product=001c Version=0202
N: Name="Darfon USB Combo Keyboard"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input5
H: Handlers=kbd event4
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=0d62 Product=001c Version=0202
N: Name="Darfon USB Combo Keyboard"
P: Phys=usb-0000:00:1d.1-1/input1
S: Sysfs=/class/input/input6
H: Handlers=kbd event5
B: EV=3
B: KEY=3078 d801d101 1e0000 0 0 0

I: Bus=0003 Vendor=046d Product=c03f Version=2000
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1d.1-2/input0
S: Sysfs=/class/input/input8
H: Handlers=mouse1 event3 ts1
B: EV=7
B: KEY=f0000 0 0 0 0 0 0 0 0
B: REL=103



The Name section will help us to identify the device. The Phys section is the parameter that we will send to the wrapper script in order to start every Xephyr instance.

The Xephyr wrapper

Now, it is time to create the wrapper script. The original one is modified to obtain the event numbers from the physical addresses

# vi /usr/sbin/Xephyr.sh



This is the final wrapper script:

#!/bin/bash

# 20060905 - josean - added get_event() function to obtain eventNN from a physical address
# Original version:
# http://en.wikibooks.org/wiki/Multiterminal_with_Xephyr
# http://www.c3sl.ufpr.br/multiterminal/howtos/Xephyr.sh

trap "" usr1

XEPHYR=/usr/local/bin/Xephyr

get_event()
{
evento=`grep -A2 $1 /proc/bus/input/devices | grep 'H: Handlers=' | grep --only-matching -e 'event[0-9]*'`
}

args=()

while [ ! -z "$1" ]; do
if [[ "$1" == "-xauthority" ]]; then
shift
if [ ! -z "$1" ]; then
export XAUTHORITY="$1"
fi
elif [[ "$1" == "-display" ]]; then
shift
if [ ! -z "$1" ]; then
export DISPLAY="$1"
fi
elif [[ "$1" == "-kbdphys" ]]; then
shift
if [ ! -z "$1" ]; then
get_event $1
args=("${args[@]}" "-keyboard")
args=("${args[@]}" "/dev/input/$evento")
fi
elif [[ "$1" == "-mousephys" ]]; then
shift
if [ ! -z "$1" ]; then
get_event $1
args=("${args[@]}" "-mouse")
args=("${args[@]}" "/dev/input/$evento,5")
fi
else
if ! expr match $1 'vt[0-9][0-9]*' >/dev/null; then
args=("${args[@]}" "$1")
fi
fi

shift
done

# echo $XEPHYR "${args[@]}" >> /tmp/logXephyr

exec $XEPHYR "${args[@]}"



Finally, be sure to allow the script to be executed.

# chmod +x /usr/sbin/Xephyr.sh

Sumber: http://netpatia.blogspot.com/

Labels:


Read More!


.:02 June 2007:.

Warnet Vs Microsoft feat The Police

Mungkin masalah ini sangat asing bagi pengguna / pemilik komputer pribadi yang memakai OS Microsoft Windows Bajakan copyan. Bahkan masalah ini sangat jarang sekali diberitakan di media massa ataupun televisi. Akan tetapi hal ini sangat mengkhawatirkan sekali bagi pemilik sebuah warnet ataupun perusahaan yang menggunakan Windows Bajakan copyan, karena takut kalau sampai-sampai pc mereka diambil secara paksa sweeping. Tapi masalah itu juga belum terselesaikan jikalau pemilik warnet tersebut telah membeli menyewa OS Windows tersebut, karena pemilik warnet tersebut juga harus melengkapi warnetnya dengan aplikasi tambahan seperti Microsoft Office, Mirc, Adobe Acrobat Reader, program billing, software antivirus, software deepfreeze, dan lain sebagainya yang jika dihitung-hitung semua software itu malah jauh lebih mahal harganya dibandingkan dengan harga pc nya. Namun bila si empunya warnet tadi tidak membeli secara sah software-software berbayar yang terinstall di pc mereka, maka jangan kaget deh kalo dikemudian hari ada The Police yang datang beramai-ramai untuk ngenet sweeping di warnet tersebut, seperti kejadian yang baru-baru ini terjadi di Malang, ratusan PC dijadikan barang bukti pembajakan software.
Bahkan Kapolda Jatim telah menyatakan dengan tegas bahwa sweeping yang dilakukan ini, merupakan pesan dan tanda yang ditujukan bagi para pemakai software bajakan. Dengan kata lain, bagi Anda yang saat ini masih menggunakan software bajakan, silakan bersiap-siap menanti kunjungan yang tidak diharapkan.
Apakah ini pertanda kiamat? Tentu saja tidak, justru ini merupakan pencerahan bagi kita agar kita belajar menghormati HAKI. Jika Anda beralasan bahwa untuk menghormati HAKI butuh biaya besar, tentu saja anggapan tersebut tidak sepenuhnya benar. Silakan saja Anda menggunakan software-software yang open source, karena software open source tersebut pada dasarnya sama sekali tidak berbayar alias gratis, kalaupun bayar itu paling-paling hanya biaya untuk perbanyakannya saja.
Bagi Anda para pemilik warnet jangan bimbang dan ragu menggunakan GNU/Linux, jangan takut pelanggan Anda akan lari menjauhi Linux, justru mereka akan tertarik menggunakan Linux karena merasa memiliki pengalaman baru dan berharga. Silakan kunjungi warnet-warnet Linux di Semarang seperti :

  1. Warnet Zulinet (Jalan Plamongan Sari Raya 3A)
  2. Warnet Starcomp (Jalan Karanglo Pedurungan)
  3. Warnet GrandNet (Jalan Sirojudin Tembalang dekat Polines)
  4. Warnet ExsaNet (Jalan Jatiraya Banyumanik)
  5. Warnet IdolaNet (Jalan Indraprasta dekat SPBU)
  6. Warnet Grandnet cabang (Jalan Thamrin 12)
  7. Warnet CafeNet (Jalan Tlogosari Raya 69)
  8. Dan masih banyak warnet Linux lainnya yang tidak saya sebutkan.
Jangan kaget jika warnet-warnet yang saya sebutkan diatas selalu dipenuhi pengunjung.
Melihat kenyataan diatas silakan Anda simpulkan sendiri apakah user warnet kebanyakan "alergi" pada Linux atau justru sebaliknya ?

Labels:


Read More!


About me

  • Nikolas Febrianto
   
    Selengkapnya

Blogroll


Login

    Email:
    Password:

You detected


Shoutbox





.: Thank`s to Blogger :.