[Ilugc] your kppp troubles

  • From: sudharsh@xxxxxxxxx (Sudharshan S)
  • Date: Wed Aug 17 06:05:57 2005

hi,
i assume ur using a tataindicom cdma connection heres how to configure 
ur internet in detail
Login as root (this is important)
create a file called wvdial.conf using a text editor in 'etc/', The full 
path name should be like this, '/etc/wvdial.conf
Copy everything below the horizontal line
*******************
[*Modem0]                                                               *
*Init2 = AT+CRM=1
Baud = 115200
FlowControl = Hardware (CRTSCTS)
Init1 = ATZ*
*Modem = /dev/ttyS0*  //This is the device reference, ttyS0 stands for 
port 1, ttyS1 for port 2, and so on
*Phone = #777    *      //the formula is ttySX where X=port no -1, ex, 
if i use port 2 then I have to use ttyS1
*Password = internet*
*Dial Command = ATDT*
*SetVolume = 0*
*[Dialer cdma]  *//This is the dialer part, like the executable you get 
in windows, and could be of any name                         
*Phone = #777*
*Username = internet *                                    
*Password = internet*
*Inherits = Modem0* //Inherits modem settings    
*Stupid Mode = on  *//This is absolutely NECESSARY without it modem 
won't initialize!
******************
//End of Script
//You can also create many dialers in the same file
*********************
After this is done you have to create a file called 'resolv.conf' using 
a text editor. This resolves the Tata Indicom DNS Server
This file also should be created in the /etc folder and the full path 
will go as '/etc/resolv.conf
The contents of the file are as follows and copy everything below
******************
*nameserver 203.197.12.30
nameserver 202.54.6.50 //this is for indicom isp. if u r using reliance 
this may change
********************
*Thats It, now we have to run the command within Terminal as 'wvdial 
<the dialer name>' to connect to the internet which in this case would 
be 'wvdial cdma'. To make things easy for the lazy ones even a short cut 
of this command on the desktop could be created.
This will work, also, sometimes you might get device busy errors for 
which you should set the 'Modem for next' option on the phone
*_The line 'Stupid Mode = on' is absolutely MANDATORY!
_regards
Sudharshan S
*

Other related posts: