Create a new resolv file in /etc/
Type: vi /etc/resolv.conf
Configure the /etc/resolv.conf file to point to a valid name server. For example: If the name server is in 192.168.15.1, add the following line
nameserver 192.168.15.1
Save the file and restart the network by
typing: /sbin/service network restart
Test it by ping www.google.com
Friday, November 28, 2008
How to enable Linux /sbin/ commands to use universally in any directory?
if you just want it temporarily, just run this:
Code:
PATH=$PATH:/sbin
If you want it permanently, add that line to your ~/.bashrc. (~ normally means the /root/ directory)
Code:
PATH=$PATH:/sbin
If you want it permanently, add that line to your ~/.bashrc. (~ normally means the /root/ directory)
Thursday, November 27, 2008
Toyota Axio Special Edition X - Sport Rims selection
Monday, November 24, 2008
Sunday, November 23, 2008
Places I been to in China
Hotel I stayed before - www.homeinns.com
Food I ate before - www.bananaleaf.com.cn
Food I ate before - www.bananaleaf.com.cn
Subscribe to:
Posts (Atom)