wvdial is a PPP Dialer, which you can use for dialing your dial-up modems
- Connect your gsm modem to your pc via usb
- Now check whether your modem has connected or not
issue this command on the terminallsusb - Now run
wvdialconf, which will automatically create thewvdial.conffiles with the necessary data about your gsm device - Now you need to edit the
wvdial.conffile vim /etc/wvdial.conf- add this line
Init3 = AT+CGDCONT=1,"IP","here write your access point" - Remove ; infront of
Phone,UsernameandPassword - Add your username and password after deleting
<your username="username">and<your password="password"> - Add the number to dial after
Phone=
Eg:Phone=*99# - Now save the file by issuing the command
:wqin command mode of the vim - Now to Connect to Internet using your gsm modem, issue this command on the terminal
sudo wvdial
sudo before each command or switch user with sudo su command first 
Comments
Post a Comment