wvdial configuration
A lot of my friends still asking how to connect to internet using their Linux box. Personally I always use wvdial to connect to the internet using my GPRS connection. To make a connection, I have to modify the wvdial.conf file that is located in /etc/wvdial.conf
This is the content of my wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Username = xlgprs
Password = proxl
Baud = 460800
[Dialer m8]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Username = m8
Password = m8
Baud = 460800
[Dialer telkominstan]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = 080989999
Username = telkomnet@instan
Password = telkom
Baud = 460800
Carrier Check = No
[Dialer pleki]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Username = telkomnet@flexi
Password = telkom
Baud = 460800
The [Dialer Defaults] is the main connection that I usually use. It uses XL GPRS. [Dialer m8] is for connection using Mobile-8’s Fren. [Dialer telkominstan] is for connecting to telkomnet instan and [Dialer pleki] is for connection using Telkom Flexi.
Please make sure you change the Modem parameter to suit your system. You can download my wvdial.conf in here and copy it into your /etc/ directory. And please make sure you change the Modem parameter to suit your system.
Update:
I forgot to tell you how to use the configuration file ![]()
With the above configuration to use the default configuration, which is connecting to XL GPRS just type:
$ wvdial
To use other connection just type
$ wvdial <the_dialer_name>
Example:
to connect using Mobile-8’s Fren:
$ wvdial m8
to connect to Telkomnet Instan:
$ wvdial telkominstan
to connect using Telkom Flexi:
$ wvdial pleki
If you can’t browse the internet after you make a connection, make sure you turn off the other network adapters, in my system I have to bring the wireless adapter (eth1) down by typing:
$ sudo ifdown eth1
After bringing the eth1 down, you have to re-connect. So it’s better to bring the network adapters down first before making any connection.
About this entry
You’re currently reading “wvdial configuration,” an entry on Complicated Mind
- Published:
- 18.02.07 / 3:24 pm
- Category:
- Ubuntu

22 Comments
Jump to comment form |