Installing modems On LINUX

Published: by

  • Categories:

Installing modems can be a bit tricky on LINUX as windows users are more used to GUI stuff..

I even met some people who said that modem cant be installed because there are no drivers for LINUX… :D

First You need to install "wvdial" package.

The package manager will select the dependencies automatically but if thats not the case, following are the required packages:-

  1. libuniconf
  2. ibwvstreams
  3. libxplc
  4. wvdial

Now, in this example I will install a LG-350T modem(distrubuted by TATA INDICOM in INDIA) on ubuntu 9.10.

Prerequisites are that you should have the manual for the modem which should be provided by the compant..

Here goes the procedure:-

  1. $sudo wvdialconf /etc/wvdial.conf This command autodetects the settings of your modem which can be wrong. :-(

  2. $sudo vim /etc/wvdial.conf Now, we will edit the configuration file of the modem..

  3. Change the contents of wvdial.conf file to:

[Dialer Defaults]
Modem = /dev/ttyACM0
Modem Type = USB Modem
Baud = 115200
Phone = #777
Username = internet
Password = internet
Dial Command = ATDT
Init1 = ATZ
Init2 = AT+CRM=1
FlowControl= Hardware (CRTSCTS)
Stupid Mode = 1
Carrier Check = no
  1. $sudo wvdial

The internet should be connected & remember not to close the terminal otherwise internet will disconnect. To disconnect kill the process by pressing "Ctrl+C".

You can also see the video on youtube which I uploaded..