thanks Arun for refering to the link....it is related to same problem I am facing.

I know you have not used EC121....but has anynody else on this list tried out steps from following link:
http://www.ae.iitm.ac.in/pipermail/ilugc/2009-January/045551.html

I tried to carry out the steps and still not successful in getting modem recognized... just wanted to check last two steps if I am doing it correct. I am new to linux and may not have understood commands well. hoping to get help here

1. Download the program usb_modeswitch from

which I did

2. Extract the binary usb_modeswitch

I did following:

   tar jxf usb_modeswitch-0.9.7.tar.bz2
   cd usb_modeswitch-0.9.7
   sudo cp usb_modeswitch /usr/sbin
   sudo cp usb_modeswitch.conf /etc

4. Add the following lines to /etc/usb_modeswitch.conf
added these DefaultVendor=  0x12d1
DefaultProduct= 0x1411
to .conf and saved under # Huawei E169 ---- *I have doubt here,is this correct?*

########################################################
# Huawei E169
#
# Contributor: Dale Lane

;DefaultVendor=  0x12d1;
;DefaultProduct= 0x1001
DefaultVendor=  0x12d1
DefaultProduct= 0x1411
# choose one of these:
;DetachStorageOnly=1
HuaweiMode=1


########################################################

5. Create the following two files under /etc/udev/rules.d               *I have 
doubt here*
since rules.d is directory, I created file named '99-huawei_00.rules' in rules.d
cut pasted what was written in the post:as follows
99-huawei_00.rules
----------------------------

SUBSYSTEM=="block", \
ACTION=="add", \
SYSFS{idVendor}=="12d1", \
SYSFS{idProduct}=="1411", \
OPTIONS="ignore_device"

99-huawei_01.rules
---------------------------

SUBSYSTEM=="usb", SYSFS{idProduct}=="1411", SYSFS{idVendor}=="12d1",
RUN+="/sbin/mydevice_switch.sh"

6. Create a script named mydevice_switch.sh under /sbin              *  I have 
doubt here too!!!*
under folder sbin I created .sh file as gedit mydevice_switch.sh and copied the code from post and saved it. Is this how to create a .sh file. are all other files under sbin folder .sh? but then they were green in color and didn't show .sh extn, only file I created showed it.
#!/bin/sh
/usr/sbin/usb_modeswitch
sleep 1
/sbin/modprobe usbserial vendor=0x12d1 product=0x1411.....am i doing it right 
here?
also gave read/write access.

7. checked /etc/wvdial.conf and added my no., password etc.

now when I connect card and type 'wvdial' it still gives following:
r...@leena-laptop:/# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory

Can anyone who had followed this post please let me know where I am going 
wrong....why wouldn't it work.

THis post was very thorough and thanks for listing it, as I said I am new to 
linux hence would have made some mistakes.


THanks,
Leena



Arun Khan wrote:
On Wednesday 13 May 2009, Leena wrote:
HI all,

I am struggling to get reliance datacard (EC121) to work with Ubuntu.
I have worked with older reliance cards before (EC325, silver color
one) and have had no issues with it.
for those I used to coonect through Gnome-ppp and make required
changes in wvdial.conf and that was sufficient to get EC325 working.
BUt now when I tried same steps with new reliance card (EC121) first
of all modem is not getting recognized by the system.

No, I don't have an EC-121 but ...
I Google searched and found this link that might be helpful.
<http://www.ae.iitm.ac.in/pipermail/ilugc/2009-January/045551.html>

-- Arun Khan


_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/


--
Leena Mulye
IT for Change
Bridging Development Realities and Technological Possibilities
http://ITforChange.net http://IS-Watch.net
http://Inida.IS-Watch.net
Tel:+91-80-2665 4134,2653 6890
Fax:+91 80 4146 1055

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to