rss
twitter
  •  

Age of Empire II color issue on Windows 7

| Posted in Tech-News |

1

There’s a color issue with Age of Empires 2 on Windows 7. You will get a corrupted color in game. Its not a driver issue or some directx compatibility. I think its just because of the Aero theme’s poor handling of colors.

So how to fix it? simply..

  1. Change to Windows Classic Theme
  2. Open the resolution changer window (Right click on your desktop, and select “Change Resolution”)
  3. Run Age of Empire game.

Now the color problem has gone.

Sounds silly?? nope.. IT WORKS!
Believe me, it really works..

VN:F [1.7.2_963]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.2_963]
Rating: 0 (from 0 votes)

Google has raise the invitation for Google Wave

| Posted in Tech-News |

3

Today i have new wave from Google. Yeah, they raise the invitation to use. Now i have a plenty invitation to invite others.

gwave-invitation

Now i really like to share here.
Anyone?

VN:F [1.7.2_963]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.2_963]
Rating: 0 (from 0 votes)

Google Wave Invitation

| Posted in Tech-News |

4

Google Wave
On 30 September 2009, Google released their new product named “Google Wave“. Unfortunately, its still a “Preview Release”. which means, you must have the invitation from Google Team or other user who already has the Google Wave account.

Otherwise, you can request invitation from Google by this page:
https://services.google.com/fb/forms/wavesignup/

for Developers, you can request here:
https://services.google.com/fb/forms/wavesignupfordev/

google-wave

I requested for Google Wave invitation since early october. Luckily, a few days ago Google has sent me the invitation. And they gave me some invitations to share too.

I think i’m gonna share some invitations here. If you donate me of course.. LOL…

VN:F [1.7.2_963]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.2_963]
Rating: 0 (from 0 votes)

Create Permanent Static Route with Two Lan Card

| Posted in Tech-News, ubuntu |

0

I want to create routing for my two Lan Card. First Lan Card (eth0) for Internet access, and second Lan Card (eth1) for my Intranet. So when i access internet, it will route to my eth0 by default. otherwise, with eth1 for intranet access.

Public (eth0):
IP: 201.102.21.201
Netmask: 255.255.255.241
Gateway: 201.102.21.1

Intranet (eth1):
IP: 10.1.10.24
Netmask: 255.255.255.0
Gateway: 10.1.10.1

Basic command for adding route on Linux:

route add [-net|-host] <IP/Net> netmask <Mask> gw <Gateway IP> dev <Int>X

And this is what we do:

route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.1.10.1 dev eth1
route add -net default netmask 0.0.0.0 gw 201.102.21.1 dev eth0

To check the route, simply type “route” with no arguments

route

The output will seen like this:

Kernel IP routing table
Destination     Gateway         Genmask            Flags  Metric Ref    Use Iface
201.102.21.201  *               255.255.255.241     U      1          0        0 eth0
10.1.10.24           *               255.255.255.0          U      1          0        0 eth1
link-local             *               255.255.0.0              U    1000     0        0 eth0
10.0.0.0         10.1.10.1       255.0.0.0                  UG    0          0        0 eth1
default           201.102.21.1    0.0.0.0                   UG    0          0        0 eth0

Now, to keep this route persistent, add this lines to file /etc/networking/interfaces

up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.1.10.1 dev eth1
up route add -net default netmask 0.0.0.0 gw 201.102.21.1 dev eth0

Restart networking to confirm the changes

sudo /etc/init.d/networking restart

Other method, Create a file called defaultroute in /etc/init.d and make it executable (chmod +x /etc/init.d/defaultroute).
Add the route commands there and do this:

update-rc.d defaultroute defaults 99

.

VN:F [1.7.2_963]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.2_963]
Rating: 0 (from 0 votes)

Restore Ubuntu Boot Loader

| Posted in Programming, Tech-News, ubuntu |

1

To repair your Ubuntu GRUB, you need Ubuntu LiveCD, boot from this CD, and open a terminal. Be a root, by typing “sudo su” and enter your password.

Find the partition which your Ubuntu system is installed.

# fdisk -l

On my machine, my Ubuntu partition is on /dev/sda3, so i’ll use this for example.

Create a mountpoint for this:

# mkdir /media/rootgrub
# mount /dev/sda3 /media/rootgrub

Check if your partition is the correct partition

# ls /media/rootgrub

if the output is not like this, then you have the wrong partition

bin dev home lib mnt root srv usr boot etc initrd lib64 opt sbin sys
var cdrom initrd.img media proc selinux tmp vmlinuz

unmount the partition if have the wrong one, then mount the others. To make sure you have the correct partition, run ls /media/root/boot, which should output something like this :

config-2.6.18-3-686     initrd.img-2.6.18-3-686.bak    System.map-2.6.18-3-686
grub lost+found          vmlinuz-2.6.18-3-686             initrd.img-2.6.18-3-686
memtest86+.bin

Now when everything is ok, install the Grub:

# sudo grub-install –root-directory=/media/rootgrub /dev/sda

If you have some warning, try this:

# sudo grub-install –root-directory=/media/rootgrub /dev/sda –recheck

Change /dev/sda to other partition you want to install Grub on. If all goes fine, you will see the output like this:

Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install’.

(hd0) /dev/sda

Restart to your harddrive (not to LiveCD) and see, your GRUB should be AUTOMAGICALLY appear!

VN:F [1.7.2_963]
Rating: 9.0/10 (1 vote cast)
VN:F [1.7.2_963]
Rating: +1 (from 1 vote)