Re: driver for huawei EC321 CDMA card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amol,

The following things worked for me in FC-5.

First  modprobe the driver

# 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
If not connected test with ping IP's, if not pinged then add DNS ip's to  /etc/resolv.conf and restart.

Regards,
Ravikumar

On Jan 24, 2008 6:59 PM, amol verule <amol.debian@xxxxxxxxx> wrote:
hi to all
i am using kernel 2.6.21
i am trying to use my huawei EC321 CDMA card..
#lsusb
Bus 007 Device 001: ID 0000:0000 
Bus 006 Device 006: ID 12d1:1001 
Bus 006 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000 
Bus 005 Device 001: ID 0000:0000 
Bus 003 Device 004: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 003 Device 001: ID 0000:0000 
Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000
as per doing googling i got that driver for this is usbserial...which is already running then lso it is not detected how to make it detective??

#lsmod
Module        Size  Used by
pl2303                 22916  0
ppp_async              12928  0
ppp_generic            26772  1 ppp_async
slhc                    9856  1 ppp_generic
rfcomm                 40344  2
l2cap                  27264  5 rfcomm
bluetooth              52964  4 rfcomm,l2cap
capability              7304  0
commoncap               9344  1 capability
nvram                  11016  1
uinput                 11136  1
ppdev                  11140  0
lp                     13480  0
ipw2100                69424  0
ipv6                  253472  19
acpi_cpufreq           10888  1
cpufreq_conservative     9864  0
cpufreq_performance     5760  0
cpufreq_powersave       5504  0
cpufreq_stats           8736  0
cpufreq_ondemand       10380  1
freq_table              7936  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
option                 12416  0
usbserial              32872  2 pl2303,option
fuse                   42772  1
i915                   25088  3
drm                    74516  4 i915
joydev                 11968  0
irtty_sir               9216  0
sir_dev                14724  1 irtty_sir
pcmcia                 34988  0
snd_intel8x0m          17804  0
snd_pcm_oss            42656  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_intel8x0           32284  1
snd_ac97_codec         98852  2 snd_intel8x0m,snd_intel8x0
ipw2200               144456  0
ac97_bus                6016  1 snd_ac97_codec
nsc_ircc               19600  0
ieee80211              33608  2 ipw2100,ipw2200
ieee80211_crypt         8576  1 ieee80211
irda                  117432  2 sir_dev,nsc_ircc
yenta_socket           27020  2
rsrc_nonstatic         14720  1 yenta_socket
pcmcia_core            36372  3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse                38792  0
serio_raw               9220  0
snd_pcm                71812  4 snd_intel8x0m,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              22404  1 snd_pcm
i2c_i801               11536  0
snd                    47716  9 snd_intel8x0m,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9824  1 snd
snd_page_alloc         11528  3 snd_intel8x0m,snd_intel8x0,snd_pcm
crc_ccitt               5888  2 ppp_async,irda
parport_pc             27812  1
parport                34632  3 ppdev,lp,parport_pc
iTCO_wdt               12964  0
iTCO_vendor_support     7172  1 iTCO_wdt
intel_agp              25116  1
agpgart                31176  3 drm,intel_agp
evdev                  11776  6
pcspkr                  6528  0
tg3                   107268  0





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux