Wednesday, December 30, 2009

Installing modems On LINUX

             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

4. $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..


  1. hey its better to use pppd which comes with linux by default ........thus you don't need any packages pre installed......just make a chatscript for your connection and its dunn.......

  2. hey.. i was wondering since a year now, about how i can get my dial-up modem going in linux.. not these datacards, but the old old internet connections dat used 2 (and still do) run on phone lines, those that make creepy noise if u pick up d phone n listen... du hv any idea? ppl told me thr r no drivers available 4 that. i evn tried using wvdial but it wont detect the modem since its not usb.

  3. I think there are ofcoarse drivers for that modems too. The reason why wvdial was not detecting your modem was may be the driver was not automatically loaded into the kernel. You need to "modprobe" it manually.