setup USB modem in Linux

Tue, January 24th 2012, 10:32 AM

Forum Post

Marnush khan
Member@Technical

Join Date: November 2011
Posts: 18


   This post is about how to setup a mobile broadband connection in Linux BACKTRACK

     **important note- This post is on USB modems that do not accept memory cards** 

  Scenario:

    OS:Linux Backtrack
    Modem:Any USB modem that do not accept external memory card/flash card


  Steps:

    1.)Plugin in the USB modem 

    2.)open console and type   "wvdialconf" which creates /etc/wvdial.conf  a configuration file

    3.)Now open the to  edit the wvdial.conf file using text editors like nano,gedit etc
 
    4.) now write the following lines  

                                                       Init1 = ATZ
                                                       Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
                                                       Modem Type = Analog Modem
                                                       Phone = *99#
                                                       ISDN = 0
                                                       Password = pass  (your modem password)
                                                       New PPPD = yes
                                                       Dial Command = ATDT
                                                       Username = user  (your modem username)
                                                       Modem = /dev/ttyUSB0
                                                       Baud = 9600
                                                       Stupid Mode = 1         


   5.) Now save the wvdial.conf and in the console type wvdial the output will be as the following screenshot

                        

                                                         
                 Now do not close the above console,it is connected to the internet.Open your browser and browse!!!!!!

                To disconnect gracefully press "ctrl +c "  

              
  In the next post i will be explaining how to configure USB 3g modem with memory card/flash card !! 
   
  

About the Member

Marnush khan
Marnush is currently a Member of the Technical Team of the Blog

Social Plugins




Advertisement

Copyright 2011 - Innobuzz Knowledge Solutions (P) Limited | All Rights Reserved.
<img src='https://graph.facebook.com/100000443476459/picture'/><a href='http://www.facebook.com/dharmlal.dangi'>Dharmlal Dangi</a> <BR> dear sir, how can we connect our mobile in backtrack4 or 5. <BR> February 7 at 10:55am<HR>