Tuesday, April 19, 2011

How to configure BIND(DNS) server in RHEL5

What is DNS ?

DNS stands for Domain Name Service/Server.Now what is the use of Dns server in a network .Now again a question comes in our mind that is wheather we use dns in a workgroup or in a client server design of network, so the right answer is we can use dns in any network design.

Now the main concern is what is dns all about or why one should go for dns in a network design
.

DNS is actually a name database which store name to ip records.Name can be a computer name,website name or alias or cname etc.


Now to configure DNS or BIND server in RHEL5 first you need to install some packages in your RHEL pc.

list of packages are:-

1. bind-9.2.2.P3-9.i386.rpm (version depends on your rhel you are using.)
2. bind-chroot* (* means any version number depend Rhel you are using).


Now to install these packages you need to use rpm command or yum if you have yum sever in your network or on local system.

rpm command will be like as follows:-

rpm -ivh bind-9.2.2.P3-9.i386.rpm

rpm -ivh bind-chroot*

Monday, January 24, 2011

How to run internet in RHEL5 using mobile phone (nokia ,samsung etc)

In windows we can use pcsuite or ovi software from nokia or some other softwares to configure your mobile phone to work as a modem and run internet over PC.But if your PC has RHEL5 or some other Linux OS then how you can use your phone to connect to internet and run internet on PC.So Iam giving you steps how to configure your linux pc to use your nokia or some other mobile phone as a modem and connect to internet .Wvdial is the utility which is use to do this.


1.Login with root and run the following command:

wvdialconf /etc/wvdial.conf

this command detect your phone as a modem and create the wvdial.conf file.

2. Now open this file with the following command

vim /etc/wvdial.conf

and do the following entry with your phone connection service provider settings:-


[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM1
ISDN = 0
Phone = *99***1#
Username = a
Password = b

Monday, January 10, 2011

How to use Find command in RHEL 5

Find Command in actually use to search out any file or directory depends on what searching directory (path) you define,if u dont define any searching directory (path) than your current working directory (cwd) will be lookout.

Syntax of FIND command is :--

find [path] [expression]