Subscribe via E-mail 
Subscribe to SMS updates: Send JOIN TECHB to 567678

Making something to work on Linux will sometimes becomes hassle. It will be even frustrating if the manufacturer don’t have support for linux. My fellow blogger Thejesh have written an “How to” on making Reliance netconnect USB card to work on Linux. Here it goes, completely extracted from his post (http://thejeshgn.com/2008/01/12/reliance-netconnect-usb-card-on-linux-howto/):

=============================================
1. Execute everything as root ( usually su in Ubuntu)
2.Check your card is recognized by the kernel
Code:
# cat /proc/bus/usb/devices
Output:
…..
…..
T: Bus=02 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#= 4 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
S: Manufacturer=Huawei Technologies
S: Product=Huawei Mobile
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=pl2303
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=pl2303
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
…..
…..
This depends on which company modem you are using. Mine is ZTE. Please check on the box for details. And then get the corresponding vendor and product id.

3.Now modprobe the driver
Code:
# modprobe usbserial vendor=0×12d1 product=0×1001

4.Should get something like this with dmesg
Code:
# dmesg
Output:
[ 2315.412106] usbcore: registered new interface driver usbserial
[ 2315.412508] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 2315.461938] usbcore: registered new interface driver usbserial_generic
[ 2315.461945] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 2315.480382] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[ 2315.480414] pl2303 2-6:1.0: pl2303 converter detected
[ 2315.480608] usb 2-6: pl2303 converter now attached to ttyUSB0
[ 2315.480620] pl2303 2-6:1.1: pl2303 converter detected
[ 2315.480691] usb 2-6: pl2303 converter now attached to ttyUSB1

5.Now edit your wvdial.conf file
Code:
# vi /etc/wvdial.conf
Add the following to that file
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = You Phone Number Here
Password = Your Password … usually same as your phone number
Phone = #777
Stupid Mode = 1
Inherits = Modem0

6.Now run wvdial
Code:
# wvdial cdma
–> WvDial: Internet dialer version 1.56
–> 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 Sat Mar 3 22:55:20 2007
–> Pid of pppd: 24314
–> Using interface ppp0
–> local IP address 220.226.50.126
–> remote IP address 97.239.2.10
–> primary DNS address 202.138.103.100
–> secondary DNS address 202.138.96.2

Thats it … you are now connected

7. In Ubuntu … this can be done @ System->Administration->Networking.Ensure that your internet traffic goes through your “Modem” by selecting the ppp.You should be able to browse now….

Please have your queries & comments on Thej’s blog to have quick response as I don’t know much about this.


Not found what you are looking for? Try Searching!

6 Responses to “Having Reliance Netconnect USB card to work on Linux”

  1. well working on linux is a lot of hassle i admit~~but its free~~i would still stick to windows~~~its more user friendly

  2. few things to add
    1. there’s also gnome-ppp, pretty good tool. Its easier for a novice to use that instead of configuring wvdial.conf
    2. I have a zte MG880 from Reliance and my device is detected as
    vendor=0×19d2 product=0xfffd
    3. You can add the following to /etc/modules, to make ubuntu detect the modem automatically in subsequent reboots
    usbserial vendor=0×19d2 product=0xfffd

  3. I became a big time fool all the while i was trying foolish ideas like the one you are giving here. Thank god I just ended up a post on Ubuntu Forums. Why the hell can’t you stop trying to be a geek and just try to configure the Wireless modem thereal simple way as it is done.

    Here’s the link if you really want to configure the reliance datacard on Ubuntu.

    http://ubuntuforums.org/showth.....ost4929133

  4. Hi,
    Thanks for the info posted here, I could start my Reliance Data Card. I am using FC4. I get the following output when I run wdial cdma. But still I am unable to browse the net.
    Output of wdial cdma:
    WvDial: Internet dialer version 1.54.0
    –> 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 Thu Jun 5 17:01:05 2008
    –> pid of pppd: 3328
    –> Using interface ppp0
    –> local IP address 123.239.179.211
    –> remote IP address 220.224.134.78
    –> primary DNS address 202.138.97.193
    –> secondary DNS address 202.138.96.2

    Kindly guide ASAP.
    Thanks

  5. @Pam
    Please comment your query at thej’s blog as mentioned in the post. URL is also posted in the post :)

  6. my reliace data card is also connecting and showing primary and secondary DNS, but the net is not connected. Browser showing me Offline mode.
    modem was detected and connected, but net is not working.
    please give me some suggestion

Trackbacks/Pingbacks

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.Tech Bangalore reserves rights to remove or moderate comments if found improper.