Sunday, August 12, 2012

Reliance Netconnect and Ubuntu 12.04 issues


I switched to Ubuntu 12.04(LTS), Precise Pangolin a month or so back. It indeed has been a pleasurable experience since then.

The recent problem I faced with it was to use Reliance Netconnect with it. The process of making a new connection is pretty simple. But I did not realize that you need to install usb-modeswitch
In absence of this package, the connection to the internet is sporadic. It looks as if the system is not recognizing the dongle. 

1.   download usb-modeswitch from here

2.  Go to the directory in which its downloaded and run the following command in the terminal
sudo make install
 3. Now run the following command
sudo gedit /etc/usb_modeswitch.conf 
this will open gedit. paste the following text in it and save the file

# Configuration for the usb-modeswitch package, a mode switching tool for 
# USB devices providing multiple states or modes
 # This file is evaluated by the wrapper script "usb_modeswitch" in /lib/udev 
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter) 
# Everything else counts as "disable"
 # Disable automatic mode switching globally (e.g. to access the original install storage) DisableSwitching=0 
# Enable logging (results in an extensive report file in /var/log named "usb_modeswitch_")
 EnableLogging=1 
# Huawei, newer modems 
DefaultVendor= 0x12d1 
DefaultProduct=0x1446 
TargetVendor= 0x12d1 
TargetProduct=140b 
CheckSuccess=5
 
Now run the following command and it will again open gedit and paste the above text in it again and save it

sudo gedit /etc/usb-modeswitch.conf
 
4. Make sure you restart the system and then insert the dongle and go to the
network manager on the top panel and click on 'Edit Connections...' 
5. Click on 'Mobile Broadband' tab and then click on 'Add'.

6. You should see your dongle preselected in the drop down under
 'Create a connection for this mobile device'. Click 'Continue'.

7. Choose your country and continue

8. Select the service provider (Reliance in my case) and click continue

9. Confirm the settings and click on Apply"
10. Next window will show you the name of the connection. Set it to whatever you like.
In the 'Mobile Broadband' tab set Number to be #777 and your own username and password.
 Click 'Save' and you are good to go. 
(Tip: Username is your reliance number and usually password is the same as username 
unless you have changed it. :) )

If you did not check the 'Connect Automatically' box, you would have to connect manually
from the network manager  

 
I referenced a few links to get this up and running for myself. The one that really helped was:
 http://harbhag.wordpress.com/2010/09/14/reliance-netconnect-broadband-on-ubuntu/
 
As mentioned in the above link, I tried using wvdial package but that stopped my connection from 
working completely.  But everythign worked well once wvdial was removed. 
Hence I have not added it to this post.
 
Also, the usb-modeswitch-data link didn't work for me and I couldn't get that package. 
But it looks like usb-modeswitch was enough to get this problem resolved. 
  
 
 
 

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete