<head> Urang Nang Handak Tahu
Wednesday, September 03, 2008
Orek-orekan Loadbalancing Menggunakan Router Linux
Orek-orekan Loadbalancing Menggunakan Router Linux

by: Onno W. Purbo

- insert ubuntu disc
- boot
install a command line system

$ sudo passwd root

# su -

# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 10.0.148.48
netmask 255.255.255.0

auto eth1
iface eth1 inet static
address 192.168.0.222
netmask 255.255.255.0

auto eth2
iface eth2 inet static
address 192.168.1.222
netmask 255.255.255.0

# vi /etc/apt/source-list
deb ftp://192.168.0.1/pub/edgy-repo1/ edgy main restricted
deb ftp://192.168.0.1/pub/edgy-repo2/ edgy universe
deb ftp://192.168.0.1/pub/edgy-repo3/ edgy universe
deb ftp://192.168.0.1/pub/edgy-repo4/ edgy universe multiverse
# apt-get update

# apt-get install openssh-server
# /etc/init.d/ssh restart

# vi /etc/timezone
Asia/Jakarta

---------- iproute2 ------------------------------------------------

/sbin/ip link set lo up
/sbin/ip link set eth0 up
/sbin/ip link set eth1 up
/sbin/ip link set eth2 up

/sbin/ip route flush table adsl
/sbin/ip route flush table rtrwnet
/sbin/ip route flush table internet

/sbin/ip addr add 127.0.0.1/8 brd 127.0.0.255 dev lo

/sbin/ip addr add 192.168.1.222/24 brd 192.168.1.255 dev eth2
# /sbin/ip addr add 10.0.148.48/24 brd 10.0.148.255 dev eth0
/sbin/ip addr add 192.168.0.222/24 brd 192.168.0.255 dev eth1

/sbin/ip route add 127.0.0.0/8 dev lo
/sbin/ip route add 10.5.148.0/24 via 10.0.148.254 dev eth0
/sbin/ip route add 192.168.0.0/24 dev eth1
/sbin/ip route add 44.132.33.0/24 via 192.168.0.10 dev eth1
/sbin/ip route add 192.168.11.0/24 via 192.168.0.10 dev eth1
/sbin/ip route add 125.160.6.0/24 via 192.168.1.1 dev eth2
/sbin/ip route add 202.159.32.0/24 via 192.168.1.1 dev eth2

/sbin/ip rule add prio 10 table main
/sbin/ip rule add prio 20 table adsl
/sbin/ip rule add prio 30 table rtrwnet
/sbin/ip rule add prio 40 table internet

/sbin/ip route del default table main
/sbin/ip route del default table adsl
/sbin/ip route del default table rtrwnet
/sbin/ip route del default table internet

/sbin/ip rule add prio 20 from 192.168.1.0/24 table adsl
/sbin/ip route add default via 192.168.1.1 dev eth2 src 192.168.1.222 proto static table adsl
/sbin/ip route append prohibit default table adsl metric 1 proto static

/sbin/ip rule add prio 30 from 10.0.148.0/24 table rtrwnet
/sbin/ip route add default via 10.0.148.254 dev eth0 src 10.0.148.48 proto static table rtrwnet
/sbin/ip route append prohibit default table rtrwnet metric 5 proto static

# Set up load balancing gateways
/sbin/ip rule add prio 40 table internet
/sbin/ip route add default proto static table internet \
nexthop via 192.168.1.1 dev eth2 weight 1 \
nexthop via 10.0.148.254 dev eth0 weight 10

# Setup routing to ISPs
/sbin/ip route add 202.138.236.0/24 proto static table internet \
nexthop via 192.168.1.1 dev eth2 weight 10 \
nexthop via 10.0.148.254 dev eth0 weight 1


----------- iptables -----------------------------------------------

/bin/echo 1 > /proc/sys/net/ipv4/ip_forward

/sbin/iptables -F
/sbin/iptables -P INPUT DROP
/sbin/iptables -A INPUT -p tcp -i eth1 --destination-port 25 -s ! 192.168.0.1 -j DROP

/sbin/iptables -A INPUT -i eth1 -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp -s 0/0 --dport 25 -j ACCEPT
/sbin/iptables -A INPUT -i eth2 -p tcp -s 0/0 --dport 25 -j ACCEPT
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A INPUT -p tcp -i eth0 -j REJECT --reject-with tcp-reset
/sbin/iptables -A INPUT -p tcp -i eth2 -j REJECT --reject-with tcp-reset
/sbin/iptables -A INPUT -p udp -i eth0 -j REJECT --reject-with icmp-port-unreachable
/sbin/iptables -A INPUT -p udp -i eth2 -j REJECT --reject-with icmp-port-unreachable

/sbin/iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to 192.168.1.222
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 10.0.148.48



----------- /etc/iproute2/rt_tables --------------------------------

120 adsl
121 rtrwnet
123 internet

Labels:

 
posted by banjar-hack at 8:50 AM | Permalink | 0 comments
Sunday, August 31, 2008
Update Offline Nod32
Update Offline sih bisa aja, ikuti langkah dibawah ini

1. Install NOD32 atau ESS di komputer yang terhubung ke internet, supaya bisa update online
2. Pergi ke folder tempat install NOD32 atau ESS, defaultnya sih C:\Program Files\ESET\ESET Smart Security\ (kalo untuk ESS, untuk NOD32 rasanya juga sama)
3. copy semua file .dat dari folder itu.
4. Kembali ke NOD32 atau ESS yang mau diupdate secara offline
5. Pergi ke folder tempat install NOD32 atau ESS
6. copykan file .dat tadi ke folder tersebut
7. restart komputer

Posted by: "Liko BlueXâ„¢" liko_gs@yahoo.com (forum yogyafree-perjuangan)

Labels:

 
posted by banjar-hack at 3:57 AM | Permalink | 0 comments
Saturday, January 19, 2008
HP Maintenance Message Reset Methods
To clear the Maintenance Service Message from the LCD display:

HP IIISi Printers:

1. Press ONLINE until the light goes off
2. Hold down MENU until PCL CONFIG MENU appears
3. Press the MENU key until SERVICE MSG=ON* appears
4. Press the + or - key to change display to SERVICE MSG=OFF
5. Press ENTER/RESET MENU key to turn message off, the * should appear, then press ONLINE

HP 4Si Printers:

1. Press ONLINE until the light goes off
2. Press MENU until CONFIG MENU appears
3. Press the ITEM key until SERVICE MSG=ON* appears
4. Press the + or - key to change display to SERVICE MSG=OFF
5. Press the ENTER key to turn message off, the * should appear, then press ONLINE

HP 5Si:

1. Press MENU key 4 times for CONFIG MENU
2. Press ITEM to display SERVICE MESSAGE=OFF
3. Press ENTER
4. Press ONLINE

HP 4000/4050/4100/5000 Printers:

1. Turn the printer off
2. Hold down the left side of the ITEM and VALUE +/- keys, turn the printer on and wait until RESET MAINTENANCE COUNT is displayed and then release the keys

HP 4500/4550 Printers:

1. Turn the printer off
2. Hold down the CANCEL JOB and SELECT keys and turn the printer on, then wait until the display goes blank and the three LED's come on
3. Press the right side of the MENU key, then press the SELECT key
4. You will enter SERVICE MODE after the normal test completes
5. Press the ITEM key until the FUSER MAINTENANCE COUNT appears
6. Press VALUE +/- to change to zero
7. Press SELECT to save
8. Press GO; the printer should return to READY

HP 8000/8100/8150 Printers:

1. Press the MENU button until the display reads CONFIGURATION MENU
2. Press the ITEM button until the display reads SERVICE MESSAGE = ON/OFF
3. Select OFF*
4. Press SELECT to save
5. Turn printer off
6. Hold the VALUE MINUS and ITEM MINUS buttons while turning the printer back on Hold buttons down until display reads RESET MAINT/COUNTand then release both buttons

HP 9000 Printers:

1. Turn the printer off
2. Press and hold the CHECK key
3. Power on the printer
4. Release the CHECK key after all three lights come on The display should read SELECT LANGUAGE.
5. Press the up arrow until MAINTENANCE KIT is displayed, then press the CHECK key again and the maintenance kit count has been reset

HP Color LaserJet 4500/4550 Printers (TRANSFER KIT RESET):

1. Press the MENU button until the RESETS MENU is displayed
2. Press the ITEM button until TRANSFER KIT SELECT IF DONE is displayed
3. Press the SELECT button
4. Press the GO button to return to READY

HP Color LaserJet 4600 Printer (IMAGE TRANSFER KIT (ETB) RESET):

1. After Maintenance is performed, the display should read NEW TRANSFER KIT =
2. Press the down arrow to highlight YES, then press the CHECK button to reset Or enter CONFIGURE DEVICE in menus, choose RESETS then RESET SUPPLIES, choose NEW TRANSFER KIT and select

HP Color LaserJet 4600 Printer (FUSER KIT RESET):

1. After Maintenance is performed, the display should read NEW FUSER KIT =
2. Press the down arrow to highlight YES, then press the CHECK button to reset Or enter CONFIGURE DEVICE in menus, choose RESETS then RESET SUPPLIES, choose NEW FUSER KIT and select

HP Color LaserJet 8500/8550 Printers (TRANSFER KIT RESET):

1. Press the MENU button until the RESETS MENU is displayed
2. Press the ITEM button until RESET TRANSFER LIFE COUNT is displayed
3. Press the SELECT button to reset, then GO to return to READY

HP Color LaserJet 8500/8550 Printers (FUSER KIT RESET):

1. Press the MENU button until the RESETS MENU is displayed
2. Press the ITEM buton until RESET FUSER LIFE COUNT is displayed
3. Press the SELECT button to reset

Taken From Indo-reset

Labels:

 
posted by banjar-hack at 7:09 AM | Permalink | 0 comments
Reset Printer BJC 1000 Serie
BJC 1000 Serie

1: Remove Cartridge2: Unplug the AC Power Cord
3: Hold down the RESUME button
4: Release RESUME after plugging in the AC Power cord.
5: Press the RESUME once within
5 seconds and release the RESUME .
6: Press and HOLD RESUME for two seconds or more and release it.
7: Press and HOLD RESUME for two seconds or more and release it.
8: Unplug AC Power Cord to set data.

Taken From Indo-reset

Labels:

 
posted by banjar-hack at 7:08 AM | Permalink | 0 comments
Reset BJC-2000 BJC-2100
BJC-2000 BJC-2100

1. Remove the Cartridge
2. Unplug the AC Power Cord
3. Close Front access panel
4. Hold down the RESUME/RESET button and plug in the AC power cord
5. Release RESUME/RESET after plugging in the AC Power cord.
6. Press the RESUME/RESET once within
7. Seconds and release the RESUME/RESET .
8. Press and HOLD RESUME/RESET for two seconds or more and release it.
9. Press and HOLD RESUME/RESET for two seconds or more and release it.
10.Unplug AC Power Cord to set data.

Taken From Indo-Reset

Labels:

 
posted by banjar-hack at 7:04 AM | Permalink | 0 comments
Reset Pixma iP1700/1300
1. Turn off printer
2. Hold down Resume button and press Power button.
3. Keep holding down Power button and let Resume button go.
4. Press Resume button 2 times then let BOTH buttons go.
5. Green lights will flash and then stop blinking.
6. When green lights are solid, press the Resume button 4 times.
7. Press the Power button and the printer should turn off, if not,
press the Power button once more.
8. Your printer should respond as normal.

Taken From Indo-Reset

Labels:

 
posted by banjar-hack at 6:57 AM | Permalink | 0 comments
Reset PIXMA IP1000
Waste Ink Counter Reset Manual for Service mode
Step 1:
1. Turn off the printer. And disconnect the printer cable.
2. Press and hold the POWER button, turn on the printer.
3. The indicator (L.E.D.) should be green.
4. Press and release the RESUME button , the indicator (L.E.D.) should be orange.
5. Press and release the RESUME button again, the indicator (L.E.D.) should be green.
6. Release both buttons.

Step 2 :
Software for Permanant (1st method)
1. Reconnect the USB cable and turn ON your Printer
2. Open "General Tools for iP1000"
Download:
http://rapidshare.com/files/27790261/iP1000_Service_Tool.rar

3. Select (USB PORT)
4. Choose (SET DESTINATION 1)

Taken From Indo-Reset

Labels:

 
posted by banjar-hack at 6:56 AM | Permalink | 0 comments