Thursday 31 January 2013

Extract .rar files in Ubuntu

Hi unrar is the application used to extract .rar files,
install unrar
sudo apt-get install unrar

to extract commands

e             Extract files to current directory
x             Extract files with full path

root@system# unrar e file.rar
root@system# unrar x file.rar
Read More

Monday 28 January 2013

DNS query Says Refused

First Check is there any Firewall enable.

#iptables -L

In that DNS 53 is allowing or not.

If it is not allowing add following rule in /etc/sysconfig/iptables (IN FORWARD )

-A INPUT -m state --state NEW -m tcp -p tcp --dport 53 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 53 -j ACCEPT

And then restart iptables

# service iptables restart

now check 

# nslookup sample

------ IF still giving the Refused.

Now check on the /etc/named.conf

allow-query { localhost; }

change this to

allow-query { <your-network> ; }  ex:
Read More

Wednesday 23 January 2013

Change Resolution in RDesktop Application

to change resolution for rdesktop
root@server1 # rdesktop -g 1024x728
Read More

Wednesday 9 January 2013

Delete all entries in route table in Linux

To Delete or Clear or Flush route table in Linux use below command
[root@sys ~]# ip route flush table main
Read More
Here We Write The Problems we face at different situations and Solutions to those problems.