anank.web.id

Kumpulan(dokumentasi pribadi) artikel dan tutorial yg tercecer…

Mohon Maaf……..

saya mohon maaf kepada siapa saja yang sudah mampir dan meninggalkan pesan atau pertanyaan yg belum sempat ditanggapi karena kesibukan saya akhir-akhir ini. situs ini hanya sekedar dokumentasi pribadi beberapa tutorial dan artikel yang saya anggap perlu dan sebisa mungkin saya coba berbagi pengalaman dan ilmu yg pernah saya dapatkan. sekali lagi saya mohon maaf yg sebesar2nya…

pf.conf

lan_net = “192.168.0.0/24″ #IP client
int_if = “re0″ #interface LAN
ext_if1 = “rl0″
ext_if2 = “rl1″
ext_gw1 = “192.168.1.1″
ext_gw2 = “192.168.2.1″

# scrub all
scrub in all

# nat outgoing connections on each internet interface
nat on $ext_if1 from $lan_net to any -> ($ext_if1)
nat on $ext_if2 from $lan_net to any -> ($ext_if2)

# pass all outgoing packets on internal interface
pass out on $int_if from any to $lan_net

# pass in quick any packets destined for the gateway itself
pass in quick on $int_if from $lan_net to $int_if

# load balance outgoing tcp traffic from internal network.
pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2 $ext_gw2) } round-robin proto tcp from $lan_net to any keep sta$

# load balance outgoing udp and icmp traffic from internal network
pass in on $int_if route-to { ($ext_if1 $ext_gw1), ($ext_if2 $ext_gw2) } round-robin proto { udp, icmp } from $lan_net to an$

# general “pass out” rules for external interfaces
pass out on $ext_if1 proto tcp from any to any keep state
pass out on $ext_if1 proto { udp, icmp } from any to any keep state
pass out on $ext_if2 proto tcp from any to any keep state
pass out on $ext_if2 proto { udp, icmp } from any to any keep state

#  route packets from any IPs on $ext_if1 to $ext_gw1 and the same for
#  $ext_if2 and $ext_gw2
#pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
#pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any

Perbaiki Grub Ubuntu

sumber : http://allabout.myself.web.id/2008/01/31/grub-loader-linux-hilang-setelah-install-window/

grub> geometry (hd0);
drive 0×80: C/H/S = 9729/255/63, The number of sectors = 156301488, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0×7
Partition num: 4, Filesystem type unknown, partition type 0×7
Partition num: 5, Filesystem type unknown, partition type 0×7
Partition num: 6, Filesystem type unknown, partition type 0×82
Partition num: 7, Filesystem type is ext2fs, partition type 0×83

Pada partisi diatas terlihat bahwa partisi nomor 7 yang menggunakan linux, lalu ketik:

grub> root (hd0,7);

untuk menjadikan GRUB Loader-nya berada di MBR, ketik;

grub> setup (hd0);
Checking if “/boot/grub/stage1? exists… yes
Checking if “/boot/grub/stage2? exists… yes
Checking if “/boot/grub/e2fs_stage1_5? exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 17 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,7)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.

sumber : http://csdir.org/

=====================================
11 - Basics of the common UNIX and Linux text editors.
=====================================

Here we go with the text editors vi, ed and emacs.
ed is just explained for historical reasons.

———————————————-
Most commonly used VI commands
———————————————-

Here we go with the vi commands, these are unlogical but still good to know
because all computers doesn’t have emacs, joe, pico and so on.
Solaris / SunOS comes default with vi as only text editor.
Vi has 2 basic modes, command mode and edit mode, you change between them
by pressing the Esc button, and to start to edit a file you must have a
free line, which you get by pressing, Esc followed by `o`.
vi is bound to be the hardest and most confusing text editor to learn,
and it has LOTS of commands, I included just a few of the most used
commands. Read the rest of this entry »

Centrino logo?

Sumber : http://firefar.wordpress.com/2008/04/13/centrino/

Beberapa minggu yang lalu saat dikelas aku sedang menggunakan laptop, tiba2 datang teman ku yang berinisial R H, dimana RH ini cukup pandai dan juga mengajar di EVO. Dia melihat laptop ku, lalu berkomentar:
RH : Koq belinya yang centrino, bukan Core2Duo?
Far : Hmm, Apa yang kamu tahu tentang centrino?
RH : Ya setahu gw centrino kan uda lama dan bentar lagi ketinggalan zaman. Harusnya lo beli yg Core2Duo…
Far : ooo.. (dalam hati bilang: sok tau bgt nih anak..)
Percakapan selesai. Akhirnya aku lihat logo centrino di laptop ku dan berfikir “sepertinya intel sudah membuat banyak logo yang menyesatkan”. Sekarang akan aku bahas mengenai logo centrino di Intel. Read the rest of this entry »

« Previous Entries