Thursday, July 9, 2009

My New Tech Blog

Posted by @HKw@! at 8:37 AM 0 comments
Hi

i have migrated my tech blog to www.techkaki.com

I have update all the latest post to www.techkaki.com

Feel free, just drop by my new blog and leave comment la.

Tuesday, May 12, 2009

The Internet Explorer icon is missing from your desktop

Posted by @HKw@! at 7:27 PM 0 comments
The Internet Explorer icon might be missing after either you upgrade the Internet Explorer version to 7, or installed through Windows updates.When you try to use the Desktop Items dialog box in Windows XP or the Desktop Icon Settings dialog box in Windows Vista to add the Internet Explorer icon, there is no Internet Explorer check box.

To resolve the issue, follow these steps:

Click Start>Run Type regedit click ok

Navigate to the following registry key from left pane

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]

double-click {871C5380-42A0-1069-A2EA-08002B30309D} key (if exist)

if not exist, add new registry key {871C5380-42A0-1069-A2EA-08002B30309D}



Enter dword value as 0 to enable the Internet Explorer icon on the Desktop.right click on desktop and click “Refresh”.

References

Network Places: {208D2C60-3AEA-1069-A2D7-08002B30309D}
My Computer: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents: {450D8FBA-AD25-11D0-98A8-0800361B1103}
Internet Explorer: {871C5380-42A0-1069-A2EA-08002B30309D}
Recycle Bin: {645FF040-5081-101B-9F08-00AA002F954E}

I hope this post will help urs :-)

Thursday, May 7, 2009

How to set time and date using unix command

Posted by @HKw@! at 11:55 PM 0 comments
date
Date displays the date and time of the system, used by root it can also be used to change the date and time of the system.

If you just enter:

date

You will get the date of the system, like this;

Fri May 18 19:36:53 MYT 2009

You can set the date by using root user:

Usage:

date nnddhhmm[[cc]yy][.ss]

Note:

  • nn = month of the year (01 to 12)
  • dd = day of the month (01 to 31)
  • hh = hour of the day (00 to 23)
  • mm = minute of the hour (00 to 59>
  • cc = The first to digits of the year
  • yy = The last two digits of the year
  • .ss = The seconds
Example:

date --set 06:00 ;sets the time to 6:00AM

OR

hwclock

hwclock is a tool for accessing the Hardware Clock. You can display the current time, set the Hardware Clock to a specified time, set the Hardware Clock to the System Time, and set the System Time from the Hardware Clock.

SYNOPSIS

hwclock -r or hwclock --show
hwclock -w or hwclock --systohc
hwclock -s or hwclock --hctosys
hwclock -a or hwclock --adjust
hwclock -v or hwclock --version
hwclock --set --date=newdate
hwclock --getepoch
hwclock --setepoch --epoch=year

Example of change date and time.

hwclock --set --date='08/18/07 21:08:40' --localtime

How to add DNS address on Ubuntu

Posted by @HKw@! at 2:01 AM 0 comments
If you want to make use of specific DNS, modify the following file /etc/resolv.conf

sudo vi /etc/resolv.conf

Add the following line to resolve.conf

nameserver xxx.xxx.xxx.xxx (xxx = DNS address)
nameserver xxx.xxx.xxx.xxx

How to change Ubuntu Server from DHCP to Static IP

Posted by @HKw@! at 1:42 AM 0 comments
In Ubuntu, all the IP Address is store on /etc/network/interfaces file. So, i have to open this file by using vi to add the Static IP to this file.

Here are steps

1.
sudo vi /etc/network/interfaces


2.
auto eth0
iface eth0 inet dhcp

this 2 statement show that your Ubuntu server was in DHCP. Enter the following statement to set the IP Address

auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

after save it. You should able to use the IP address already.
 

My Tech Blog Copyright 2009 Reflection Designed by Ipiet Templates Image by Tadpole's Notez