How to connect Reliance netconnect +(Huawei EC156) in ubuntu

I tried to connect a new reliance netconnect in ubuntu…i used the usual wvdial method but it was a failure…when i tried to connect using wvdial i got the error message that /dev/ttyUSB0 does not exist…



i tried lsusb and dmesg…This were the outputs





dmesg output



on dmesg output i can see the data card is detected as cdrom device…

from lsusb output i got the product and vendor id of the data card 12d1:1505

cd  /etc/usb_modeswitch.d

Create a new config file named 12d1:1505

copy and paste the following content to the file

DefaultVendor= 0x12d1 

Save the file..Then issue the following command from /etc/usb_modeswitch.d

sudo usb_modeswitch -I -W -c 12d1\:1505

you can see the device get detected and can see a description like this

USB description data (for identification)
Product: HUAWEI Mobile
Serial No.: �������������������
Looking for active driver …
OK, driver found (“usb-storage”)
OK, driver “usb-storage” detached
Setting up communication with interface 0 …
Using endpoint 0x08 for message sending …
Trying to send message 1 to endpoint 0x08 …
OK, message successfully sent
Resetting response endpoint 0x87
Resetting message endpoint 0x08
USB error: could not clear/halt ep 8: Broken pipe
Error resetting endpoint: -32
USB error: could not release intf 0: No such device
Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

After this try to connect using normal wvdial method or if its is configured it may connect automatically or try a restart it will fix it

Happy Hacking……. 🙂

Configure Reliance Netconnect/BSNL EVDO on Ubuntu 10.04

Firstly we need to install these packages usb-modswitch, usb-modswitch-data

Open up Terminal,and type the following

 $sudo apt-get install -yq usb-modeswitch usb-modeswitch-data wvdial

Then we need to edit wvdial.conf file,type this in the Terminal

$sudo gedit /etc/wvdial.conf

Type the following in the file opened,be sure to add your phone number

Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer netconnect]
Username = your device phone number
Password = password usually the device phone number
Phone = #777
Stupid Mode = 1
Inherits = Modem0

close the editor and reboot the system,now to connect you need to type

 $sudo wvdial netconnect
sudo modprobe usbserial vendor=0x19d2 product=0xfffd