How to configure a Dial-Up device on linux?
Its not easy task like windows to connect yourself to internet via a Dial-Up modem using Linux OS. But it can be make easy by configuring wvdial. so what is wvdial???… nothing it is just pre-installed package for specially dial-ups. So here is the trick how to configure dial-up device on linux.
The configuration file of the wvdial /etc/wvdial.conf contains the first line [Dailer Defaults] and all the configuration is done under this.
So lets configure your dial-up step by step:
- connect your modem device (e.g mobile phone or usb gsm dongle)
- run the command: usbprobe
- now you can check device by command: ls /dev it will show a list
- If you are using bluetooth find in list like rfcomm0 or rfcomm1 etc.
- If you have cable or usb connection find like ttyACM0 or ttyACM1 etc.
- now device is properly connected, and turn to change wvdial.conf
- open wvdial.conf and put the following code:
- [Dailer Defaults]
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 SO=0&C1&D2+FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”www”
ISDN = 0
Modem Type = Analog Modem
Area Code =
Phone = *99***1#
Ask Password = 0
Dial Command = ATDT” just make change at first line at /dev/rfcomm0 , as your device.and in fifth line AT+CGDCONT=1,”IP”,”www” the www will be your acess point name
and IP will be network ip. to change www by your network ASP is important.”
After all save file, reboot system, and now just run a command: wvdial