My Self....

My photo
Kerala, India
From the Great Peringode in Palakkad District , Completed My B.sc In Electronics From CAS VAttamkulam (IHRD),

Friday, 27 November 2009

HOW TO CONFIGURE LG LSP 340-E CDMA Phone/Modem (Serial Cable) In UBUNTU.....?


HOW TO CONFIGURE LG LSP 340-E CDMA Phone/Modem (Serial Cable) In UBUNTU.....?




Hi friends,
As a newer in the world of LINUX its a question that I search the past 2 Months , Until this night I got the answer ...... And this is an effort for my followers....Who seek the same.....

IMPOTENT: Its not sure to get the result as by me,when you give each command at the first time. As a newer, I humbly request you enter the same command five or more times until you get the result...I'm sure you will be the final winner.



  1. Set Your handsets Mode to “ALLWAYS MODEM” (Check it continuously because it may reset Automatically) and Baud rate to “115200” {Menu →Additional ->  Rx Mode -> Always Data}




  2. Login to Ubuntu using your User name and password




  1. Applications → Accessories → Terminal




  1. Type “ sudo wvdialconf /etc/wvdial.conf ” and enter




  1. That will request for your password type it and Enter




  1. That will lead you towards a window That enquirers for a modem . If not please check your connection and your phone settings are right.


Please note from here, in which port your modem is situated. It may Be in COM 1 [ In Linux ttyS0] or in COM 2 [ In Linux ttyS1].

    7.  Type “ sudo gedit /etc/wvdial.conf ” and enter   


     8.  That will Lead to a Text Editor
      Modify Its Data as like:-
        1. Init2 = AT+CRM=1
        2. Enter User name,Password and Phone Number As given by UR Provider  (The phone number May be #777, Remove all “ ; ” ), Add a Line at last             “ Stupid Mode = 1
     9. Replace ### with your User name and Password and Save it . Then Close that window and return   to the Command line.


  1. Type “ sudo wvdial ” and Enter





  1. You will get a window , Which indicates your local IP, Primary DNS and Secondary DNS. Note the two DNS Address.




  1. Repeat Step 7 And Replace the data as follows


[Dialer Defaults]
Modem = /dev/ttyS0 (May be S1, As by Ur port)
Baud = 115200
Dial Command = ATDT
Init1 = ATZ
Init2 = AT+CRM=1
Flow Control = Hardware (CRTSCTS)
User name = ###
Password = ###
Phone = #777
Stupid Mode = 1

And save it .


  1. Type “ sudo gedit /etc/resolv.conf ” and enter


Check the DNS Addresses with You Gained from step 11, If any Mistake Correct and save it.


  1. Everything are OK then Type “ sudo wvdial ” and Enter.




  1. You will get a window like this


Minimize This window and start Browsing ...... Be happy...


  1. To Disconnect the net Maximize the window and press “Ctrl+C”



****************************Ullas(ullasperingode@gmail.com)****************************