[ssug-malappuram] Installing Reliance Netconnect USB Modem

  • From: "Mahesh M" <maheshmukundan@xxxxxxxxx>
  • To: "Malappuram SSUG" <ssug-malappuram@xxxxxxxxxxxxx>, Plus <plus-discuss@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 28 May 2007 12:40:17 +0530

Installing the usb modem provided by the Reliance is very easy.

###    First, plug-in the modem. Check that the modem has been detected.

       cat /proc/bus/usb/devices

   It should print something like this..

   T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 15 Spd=12  MxCh= 0
   D:  Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
   P:  Vendor=12d1 ProdID=1001 Rev= 0.00        <----  Required for
*modprobing*
   S:  Manufacturer=Huawei Technologies         <----  It may differ
depending on modem
   S:  Product=Huawei Mobile             <----  Its what we want.. !
   S:  SerialNumber=HUAWEI EC3X1
   C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
   I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
   E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
   E:  Ad=8a(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
   E:  Ad=0b(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
   I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
   E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
   E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms


   There may be information about other usb devices connected to your
system.

###    Then, modprobe the driver...

       modprobe usbserial vendor=0x12d1 product=0x1001


   I think that Debian Etch does all this automatically... you got to just
configure the wvdial

###    wvdial is the dialer that connects you to the ISP. It can be
configured in the following way... (make sure you are root)

       vim /etc/wvdial.conf        (use your favourite editor)

   In the end just add the following...

       [ModemReliance]
       Modem = /dev/ttyUSB0
       Baud = 115200
       SetVolume = 0
       Dial Command = ATDT
       Init1 = ATZ
       FlowControl = Hardware (CRTSCTS)

       [Dialer myconnection]
       Username = You Phone Number Here
       Password = Your Password ... usually same as your phone number
       Phone = #777
       Stupid Mode = 1
       Inherits = ModemReliance

   Save it and quit the editor..

###    For connecting to net just run wvdial in the terminal.

       wvdial myconnection

   You will get the following (It may not be exacty like this...)

       --> WvDial: Internet dialer version 1.55
       --> Cannot get information for serial port.
       --> Initializing modem.
       --> Sending: ATZ
       ATZ
       OK
       --> Modem initialized.
       --> Sending: ATDT#777
       --> Waiting for carrier.
       ATDT#777
       CONNECT 230400
       --> Carrier detected.  Starting PPP immediately.
       --> Starting pppd at Mon May 28 12:05:08 2007
       --> Pid of pppd: 24559
       --> Using interface ppp0
       --> local  IP address 220.226.25.101
       --> remote IP address 220.224.135.45
       --> primary   DNS address 202.138.103.100
       --> secondary DNS address 202.138.96.2

   The last 4 lines mean that you are online.... :-)
   ***Do not close the terminal***

###    Disconnecting is quite easy. Just press ctr + c in the terminal where
the wvdial is         running. That is just stop the wvdial. You will get
the following in the terminal...

       Caught signal 2:  Attempting to exit gracefully...
       --> Terminating on signal 15
       --> Connect time 0.9 minutes.
       --> Disconnecting at Mon May 28 12:06:02 2007

###     You may also configure the application launcher Modem Monitor. Add
it to the panel. Right         click on it and goto its properties.
       Phone Number : #777
       User Name:    Your phone no.
       Password :    Your password.

   Then in *modem* tab

       Modem Port:  /dev/ttyUSB0
       Dial Type:   Tones

   I think it will work.



--
Mahesh

It takes 43 muscles to frown and 17 to smile,
But it doesnt take any to sit there with a dumb look on your face...
http://maheshmukundan.blogspot.com/

Other related posts: