Skip to main content

A Quick Config for wvdial

wvdial is a PPP Dialer, which you can use for dialing your dial-up modems

  1. Connect your gsm modem to your pc via usb
  2. Now check whether your modem has connected or not
    issue this command on the terminal lsusb
  3. Now run wvdialconf , which will automatically create the wvdial.conf files with the necessary data about your gsm device
  4. Now you need to edit the wvdial.conf file
    1. vim /etc/wvdial.conf
    2. add this line Init3 = AT+CGDCONT=1,"IP","here write your access point"
    3. Remove ; infront of Phone,Username and Password 
    4. Add your username and password after deleting <your username="username"> and <your password="password">
    5. Add the number to dial after Phone=
      Eg: Phone=*99#
    6. Now save the file by issuing the command :wq in command mode of the vim
  5. Now to Connect to Internet using your gsm modem, issue this command on the terminal
    sudo wvdial 
NB : You may need root privilege to perform the above mentioned tasks. Prepend sudo before each command or switch user with sudo su command first


Comments

Popular posts from this blog

Developing .NET Applications with Mono in Linux

Mono is a Cross Platform, Open Source .NET development framework Install MonoDevelop IDE Go to terminal sudo apt-get install monodevelop To run asp.net application you'll need a webserver with asp.net support XSP is a simple web server written in C# that can be used to run asp.net applications sudo apt-get install mono-xsp2 Now You are ready to go Applications->Programming->MonoDevelop and start developing .NET applications from your ubuntu To develop VB.NET applications sudo apt-get install mono-vbnc Lots of other packages and plugins are also available for mono. Try them by yourself. And enjoy the freedom of OpenSource