Tuesday, March 22, 2011

install lilo bootloader

apt-get install lilo


sudo gedit /etc/lilo.conf


isi lilo.conf -+ spt ini tinggal disesuaikan :)

# sample /etc/lilo.conf

large-memory
lba32
boot=/dev/sda
prompt
timeout = 60
bitmap =/boot/debian.bmp
change-rules
reset
compact

image = /boot/vmlinuz-2.6.32-21-generic
 label = linux
initrd = /boot/initrd.img-2.6.32-21-generic
root = /dev/sda6

image = /boot/memtest86+.bin
 append = "console=ttyS0,115200n8"
 label = memtest

other = /dev/sda1
label= winXP

other = /dev/sda4
label= freeBSD

simpan
jalankan diterminal
lilo
pastika tidak ada error


untuk menghapus lilo

lilo -u

apt-get remove --purge lilo

update-grub

restart

Wednesday, March 16, 2011

wmp11

 1. Same as above, extract WMP11 installer using WinRAR or PowerArchiver from wmp11-windowsxp-x86-enu.exe
   2. In the extraction folder, install (run) wmp11.exe and then restart Windows.
   3. Next, again in the extraction folder, install umdf.exe, wmdbexport.exe and wmfdist11.exe and then restart Windows.
   4. Using WinRAR or PowerArchiver, extract the contents of wmp11.exe
   5. Locate the update folder from the extraction from wmp11.exe and run update.exe inside the update folder.

ping is not recognized as an internal or external command

This error may occur due to messed computer path.To resolve the problem:

  1. Open a Command Prompt and type: Set .
  2. You should see included: Path C:\WINDOWS\system32.
  3. To correct the path, on your system go to Start>right-click My Computer>click Properties.
  4. Click the Advance tab.
  5. Click the Environment Variables button, and select the Path variable listed under System Variables.
  6. When editing it should include: %SystemRoot%\system32.
  7. Which translates to something like: C:\WINDOWS\system32.
  8. Each entry included in the path must be separated by a semicolon.
  9. Try executing the Ping/Telnet command now from the command prompt.
  10. The same will also work for Telnet and other commands.

Wednesday, March 9, 2011

iptables error

iptables -t nat -A POSTROUTING -o eth0:2 -j MASQUERADE
Warning: weird character in interface `eth0:2' (No aliases, :, ! or *).

gunakan

iptables -t nat -A POSTROUTING -o eth0-2 -j MASQUERADE

desktop cube compiz

ip alias

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.0.255
gateway 192.168.2.1 ##----- ip modem

auto eth0:2
iface eth0:2 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255

How To Quickly Disable Network Manager In Ubuntu 10.04 Lucid Lynx

http://www.liberiangeek.net/2010/08/quickly-disable-network-manager-ubuntu-10-04-lucid-lynx/


sudo apt-get purge network-manager network-manager-gnome