Jump to content



Photo
- - - - -

Reliance Netconnect Usb Card On Linux - Howto


  • Please log in to reply
30 replies to this topic

#1 Jungle Boy

Jungle Boy

    Newbie

  • Members
  • Pip
  • 3 posts
  • Full Name: Jungle Boy
  • City: Bangalore
  • Handset: Huawei - EC325

Posted 03 March 2007 - 11:34 PM

Reliance Netconnect USB card on Linux - Howto
=============================================
The following worked for me on Ubuntu amd64 but should work
for all the distros.

Execute everything as root

Check your card is recognized by the kernel

Code:
# cat /proc/bus/usb/devices

.....
.....
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
.....
.....


Now modprobe the driver

Code:
# modprobe usbserial vendor=0x12d1 product=0x1001

Should get something like this with dmesg
Code:
# dmesg
[ 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

Now edit your wvdial.conf file

Code
# vi /etc/wvdial.conf

[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

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
Ensure that your internet traffic goes through your "Modem"
In Ubuntu ... this can be done @ System->Administration->Networking

Enjoy :o)

Dunno how to make this sticky ... if anyone can, please do it

#2 Arun

Arun

    Thinking Bigger, Thinking Better !

  • Administrator
  • PipPipPipPipPipPip
  • 5,612 posts
  • Full Name: Arun Kumar D
  • City: Trivandrum
  • Network:Reliance CDMA
  • Handset: - Select Handset -
  • Handset - II: - Select Handset -
  • Other Handset:Samsung Galaxy S3

Posted 03 March 2007 - 11:44 PM

Dunno how to make this sticky ... if anyone can, please do it


Done ! Thanks for sharing your findings !
Please use the [ Posted Image Report ] button (beneath every post) to report an issue with the post/topic to a moderator

#3 ujjwal

ujjwal

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: ujjawal rastogi
  • City: Lucknow
  • Handset: Huawei - EC325

Posted 06 March 2007 - 03:31 AM

Dunno how to make this sticky ... if anyone can, please do it


Done ! Thanks for sharing your findings !

hello sir,
can u please help me out with the driver for huawei ec325 for macbook....i cannot connect to net using dis card can u suggest me any way to do dis ...plzzz help me out

#4 Jungle Boy

Jungle Boy

    Newbie

  • Members
  • Pip
  • 3 posts
  • Full Name: Jungle Boy
  • City: Bangalore
  • Handset: Huawei - EC325

Posted 07 March 2007 - 12:45 AM

I am not much aware of MacOS . I think it uses a BSD kernel. Google "EC325 BSD" and you may land up with something.

If your MAC is a new one, it would be using a intel processor. You can always install windows and your card would work fine. Else follow the steps below with http://mirror.in.th/...esktop-i386.iso

If its an old PowerPC based MAC, you can use

http://mirror.in.th/...top-powerpc.iso

Ubuntu is one of the flavours of Linux Operating System. the above images are live discs - that is you can boot into this system without having to install on your hard disk. Just download it (Sorry for the catch 22 here ;o)) and burn it on a CD and boot using the CD ... and follow the steps in first post ... your card should work fine.

A live disc is very slow and the above step would only be useful for surfing. Moreover, until you know how to access your hard disk, you wont be able to download and store anything permanently. Well, you can always install it on ur system once you get comfortable with it.

Sorry for all the techie jargon. In case you do not understand something, feel free to ask

#5 blazing_bruce

blazing_bruce

    Newbie

  • Members
  • Pip
  • 9 posts
  • Full Name: Karthikeyan
  • City: Madurai
  • Handset: Huawei - EC325

Posted 23 March 2007 - 12:37 PM

It worked GREAT in Ubundu... I couldnt find Modem = /dev/ttyUSB0 ... Help in finding an exact modem in Centos(RedHat Distors)
Wanna learn to hack?
Learn Hacking from SecureSlash.com

#6 Eldergeek

Eldergeek

    Member

  • Members
  • PipPip
  • 12 posts
  • Full Name: Elder
  • City: Mumbai
  • Handset: LG RD 2530

Posted 23 April 2007 - 12:26 AM

Hello frnds,
4-5 days before I bought a HUAWEI EC 325 Card.. and i need to connect to web through this netconnect usb card... I have installed the software in winxp[32-bit] and its running cool... but in the other hand i have installed redhat enterprise linux 4.0 and i want to know that how i can connect to web via this usb card... the web world guys told me that u cant connct to web in linux through this usb card... so i am very very sad now :grin: :( ... what i will do now... is the above process can solve my prob?? btw what is the command to disconnect frm net ... Jungle guy didnt mention the command to disconnect frm net.. can u plz share that command... and plz tell me what procedure i should follow to install net in lnx enterprise plz..

waiting

#7 ravikumarv

ravikumarv

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: Raviumar
  • City: Hyderabad
  • Handset: Huawei - EC325

Posted 07 June 2007 - 04:40 PM

Reliance Netconnect USB card on Linux - Howto
=============================================
The following worked for me on Ubuntu amd64 but should work
for all the distros.

Execute everything as root

Check your card is recognized by the kernel

Code:
# cat /proc/bus/usb/devices

.....
.....
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
.....
.....


Now modprobe the driver

Code:
# modprobe usbserial vendor=0x12d1 product=0x1001

Should get something like this with dmesg
Code:
# dmesg
[ 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

Now edit your wvdial.conf file

Code
# vi /etc/wvdial.conf

[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

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
Ensure that your internet traffic goes through your "Modem"
In Ubuntu ... this can be done @ System->Administration->Networking

Enjoy :) )

Dunno how to make this sticky ... if anyone can, please do it


Hi,
I've done as have mentioned above and everything is fine.

But i'm unable to connect to net.

Do i need to any ethernet driver for wireless, as i did not see any driver installed in my system.
(i dont have driver instlled for ethernet driver. )

#8 Jungle Boy

Jungle Boy

    Newbie

  • Members
  • Pip
  • 3 posts
  • Full Name: Jungle Boy
  • City: Bangalore
  • Handset: Huawei - EC325

Posted 22 July 2007 - 12:22 AM

I think you are not able to connect because your your network traffic is being connected through your other ethernet devices and not your modem. You need to disable all the other network devices so that your internet traffic is routed through your modem :) . You can see your network devices through

$ ifconfig

They are generally named eth*

to disable your devices, just execute

$ ifdown eth0

to disable eth0

The above worked for me. My networking knowledge is on the weaker side. So am not sure if it would work for everyone.

@ravikumarv:
You won't be able to see your modem through "ifconfig" until you connect using "wvdial". In case you need help, please copy/paste the output of atleast "wvdial". Just saying "It Ain't Working" isn't gonna be very helpful :)

#9 kvs

kvs

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: kivs
  • City: - Not Selected-
  • Handset: - Select Handset -

Posted 29 July 2007 - 05:25 PM

I use a USB, HuaweiEC325 reliance netconnect modem on ubuntu :lol: . The settings mentoned above worked for me :GirandoOjos: , but for one slight problem. I cant surf webpages ;) . Chat via GAIM works, email and pop3 via thunderbird works, DNS works, except for the web pages. The only pages i can open are www.export.gov, www.trade.gov, and a few others (mostly .gov). I find this weird. Anyone have a clue about what the problem is? I also checked whether i can reach to websites by telnetting to port 80 of websites, I can. The firewall is down, so that is not the issue. any pointers? Eth0 and other unrelated interfaces have also been disabled, the route is set fine, the gateways are okay, i can ping anyplace i want. Just the damn webpages won't come through. :NOTriste:

What is the new netbooster thing being setup on netconnect? I know it's a squid proxy+dns cache for windows, any other settings I need to know? Is it the problem?

Help! ;)

#10 nirajsahay

nirajsahay

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: Niraj Sahay
  • City: New Delhi / Delhi
  • Handset: Not Listed

Posted 29 September 2007 - 11:11 PM

Today I bought a Reliance ZTE CDMA Data Modem (MG880) and this these steps worked fine on my SLED 10 SP1 desktop.. Thanks for a nice tutorial.

#11 nageshkinge

nageshkinge

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: nagesh narhari kinge
  • City: - Not Selected-
  • Handset: Huawei - EC325

Posted 31 October 2007 - 12:12 AM

hi to all
i have a problem
i done all the steps as mentioned above i connected to internet but i still unable to browse the web.
i m using the FEDORA CORE 7
please help me to solve this problem

#12 ArunKr

ArunKr

    Newbie

  • Members
  • Pip
  • 1 posts
  • Full Name: Arun Kumar
  • City: - Not Selected-
  • Handset: - Select Handset -

Posted 30 November 2007 - 04:51 PM

Reliance Netconnect USB card on Linux - Howto
=============================================
The following worked for me on Ubuntu amd64 but should work
for all the distros.

Execute everything as root

Check your card is recognized by the kernel

Code:
# cat /proc/bus/usb/devices

.....
.....
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
.....
.....


Now modprobe the driver

Code:
# modprobe usbserial vendor=0x12d1 product=0x1001

Should get something like this with dmesg
Code:
# dmesg
[ 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

Now edit your wvdial.conf file

Code
# vi /etc/wvdial.conf

[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

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
Ensure that your internet traffic goes through your "Modem"
In Ubuntu ... this can be done @ System->Administration->Networking

Enjoy :o )

Dunno how to make this sticky ... if anyone can, please do it



Hi Guys,

I m running Slackware Linxu 11.0, Netconnect modem is recognized at usb port, writen wvdial.conf file, but i do'nt find wvdial in my distro.
can you please help me out wheredo i find wvdial app.

Thanks

Arun Kumar

#13 shiva-

shiva-

    Newbie

  • Members
  • Pip
  • 2 posts
  • Full Name: Shiva
  • City: Bangalore
  • Handset: Huawei - EC325

Posted 02 December 2007 - 07:56 PM

Hello frnds,
4-5 days before I bought a HUAWEI EC 325 Card.. and i need to connect to web through this netconnect usb card... I have installed the software in winxp[32-bit] and its running cool... but in the other hand i have installed redhat enterprise linux 4.0 and i want to know that how i can connect to web via this usb card... the web world guys told me that u cant connct to web in linux through this usb card... so i am very very sad now :( :( ... what i will do now... is the above process can solve my prob?? btw what is the command to disconnect frm net ... Jungle guy didnt mention the command to disconnect frm net.. can u plz share that command... and plz tell me what procedure i should follow to install net in lnx enterprise plz..

waiting



To disconnect press Ctrl+C on the same terminal from where the wvdial cmd is executed :winko:

#14 shiva-

shiva-

    Newbie

  • Members
  • Pip
  • 2 posts
  • Full Name: Shiva
  • City: Bangalore
  • Handset: Huawei - EC325

Posted 04 December 2007 - 02:28 PM

hi to all
i have a problem
i done all the steps as mentioned above i connected to internet but i still unable to browse the web.
i m using the FEDORA CORE 7
please help me to solve this problem


Hi... I also had the same problem.... The alternative solution is to use KPPP. It works fine with this. You have to configure KPPP with the same parameters as that of /etc/wvdial.conf :GirandoOjos:

#15 hemanttalwelkar@gmail.com

hemanttalwelkar@gmail.com

    Newbie

  • Members
  • Pip
  • 2 posts
  • Full Name: Hemant Talwelkar
  • City: Pune
  • Handset: Huawei - EC325

Posted 20 February 2008 - 02:42 PM

Reliance Netconnect USB card on Linux - Howto
=============================================
The following worked for me on Ubuntu amd64 but should work
for all the distros.

Execute everything as root

Check your card is recognized by the kernel

Code:
# cat /proc/bus/usb/devices

.....
.....
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
.....
.....


Now modprobe the driver

Code:
# modprobe usbserial vendor=0x12d1 product=0x1001

Should get something like this with dmesg
Code:
# dmesg
[ 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

Now edit your wvdial.conf file

Code
# vi /etc/wvdial.conf

[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

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
Ensure that your internet traffic goes through your "Modem"
In Ubuntu ... this can be done @ System->Administration->Networking

Enjoy :o )

Dunno how to make this sticky ... if anyone can, please do it



hi
thanks...
do you know how to send sms programatically through Huawei Ec325 using at commands...
I tried in Hyper Terminal of windows but sms at comands are not working...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users