Wednesday, September 30, 2009

Using wvdial in fedora

Using Internet through modem in earlier versions of Fedora[core 11 automatically detects modem] was very painful.The pre-installed softwares KPPP dont detect your Mobile phone modems most of the times.So I 'Google'd and here's a simple solution I found for using modem manually.

First become super user.

[firaz@localhost ~]$ su
Password:

Then edit the wvdial.conf using the command:

[root@localhost firaz]# gedit wvdial.conf


now replace the existing all texts with the following lines :

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"ip","gpinternet"
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = ABC
Password = XYZ
Stupid Mode = 1


After editing save the modified text and now get exited using this command:
[root@localhost firaz]#Ctrl+C

Now simply dial :
[root@localhost firaz]#wvdial


It should work.

Note that : APN is "gpinternet" for Bangladeh.Change it as per your service provider.Other parameters remain the same.Another notable things that Nokia, Samsung & Motorolla dont cause problems to be detected as modems when dialled.But Chinese modems [for example MobiData & Vodafone V715 made by Huwei] aren't dectected any responsed while dialled.

No comments:

Post a Comment