Archive

Posts Tagged ‘wvdial’

Connecting Zantel’s Z-Connect modem to Internet in Linux(Ubuntu)

December 27th, 2009

Z-Connect is one of the fastest wireless modem in Tanzania. Connecting it in Linux was a challenge. Here is the configuration file to connect to the Internet in Linux. I am using Ubuntu.

  • In your terminal give the command

#wvdialconf

  • Edit the file /etc/wvdial.conf with your favorite text editor and overwrite the entire contents with the following

Init2 = AT+CRM=1
Dial Command = ATM1L3DT
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = “@zantel.com”
Init1 = ATZ
Password = ” ”
Modem = /dev/ttyUSB0
Baud = 519600

  • Now come to the terminal and type the command

#wvdial

Enjoy Browsing.

Bash, Internet, Linux, Ubuntu ,

Problem when using wvdial

June 10th, 2008

When using wvdial for connecting to Internet through a Airtel gprs, with a gprs enabled mobile, if the wvdial program continuously tries connecting and fails …. Add the following line in the /etc/wvdial.conf file

Init3 = AT+CGDCONT=1,””,”airtelgprs.com”

where airtelgprs.com is the accesspoint of Airtel

Hence the etc/wvidal.conf will look like

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

Connecting Internet ,

Connecting to Internet through Airtel GPRS

June 10th, 2008

For connecting to Internet through Airtel GPRS, proceed the following steps

Step 1: use the command wvdialconf to configure the modem

wvdialconf /etc/wvdial.conf

step 2: If the previous step is sucessfull, the model of mobile will be displayed…

Edit the file /etc/wvdial.conf to change the following lines to (remove the semicolons in front)

Phone = *99***1#
Username = ” “
Password = ” ”

This dialup number works only for Airtel India. May differ accordingly for other opperators.

step 3: use wvdial command to connect

wvdial /etc/wvdial.conf

This will connect giving the Primary DNS, Secondary DNS, Local IP, Remote IP, if successful.

Enjoy Surfing.. This same procedure is to be followed even for connecting through any other dialups, using internal or external modem in the PC

Connecting Internet , ,