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]