Leena, The files from udev/rules.d are picked up by the udev background process on attaching the USB device. You don't have to invoke the 70-huawei-ec121.rules file manually. If your setup is right, you should see /dev/ttyUSB0 device after inserting the modem. After this, run "wvdialconf /etc/wvdial.conf" to setup your device. You could refer to https://help.ubuntu.com/community/DialupModemHowto to setup the modem after usb_modeswitch is in place.
Also refer to,
http://snippets.aktagon.com/snippets/95-3G-connection-with-Linux-and-Option-...
for the step by step guide to get usb_modeswitch working. HTH
regards, Harish
On Mon, Dec 1, 2008 at 7:48 AM, Leena Mulye leena@itforchange.net wrote:
Thanks Harish.
l no luck yet :-( ...i am unable to get the connection for relaince EC121......
While going thr' other related post-
http://www.rimweb.in/forums/lofiversion/index.php/t16166.html
I tried to do following to get Reliance USB card EC121 connected on my laptop, which has UBUNTU Hardy 8.04. If you can quickly scan thr' it and let me know where I am going wrong that will be great.
Installed USB_modeswitch
copied usb_modeswitch to /bin/usb_modeswitch location
copied usb_modeswitch.conf file to /etc/
created file called 70-huawei-ec121.rules in /etc/udev/rules.d/
file contents:
# Huawei E121 Mobile Broadband
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1411" RUN+="/bin/usb_modeswitch"
I am confused as to where are we saying to take this particular file from rules to follow? "70-huawei-ec121.rules" from rules, which in turn will point to location to run usb_modeswitch?
While connecting previous Reliance USB cards I have done wvdial.conf
and from terminal we run it as $wvdial cdma
In above case how the wvdial.conf will look like?
Mine is like this:
[Dialer Defaults]
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Username = my ph no (i have the correct no here)
Init1 = ATZ
Password = passwd here
Modem = /dev/ttyUSB0
Baud = 460800
Dial Command = ATDT
[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Stupid mode = 1
Init2 = ATE0V1&D2&C1S0=0 +IFC=2,2
is this correct?
After this when i run command
$ lsusb
Huawei card is showing there
but wvdial and wvdialconf giving this:
--> 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
root@leena-laptop:/home/leena# wvdialcobf
bash: wvdialcobf: command not found
root@leena-laptop:/home/leena# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
And how to start running data card? What is the command?
Thanks.
Leena
Harish Singh wrote:
Leena,
Sorry for not replying sooner. I was away on the weekend.
I suspect you might have to install usb_modeswitch for Reliance datacard on your system. I did not need to do this on my BSNL usb modem.
Let me know if you need help.
regards,
Harish
On Sun, Nov 30, 2008 at 10:36 AM, Leena Mulye leena@itforchange.net wrote:
Hi Harish,
Thanks for the reply. Will try these changes in my .config file and see. Just wondering if you required to also install usb_modeswitch for your USB data card to be recongnized by the comp?
Thanks, Leena
Harish Singh wrote:
Vinay,
The configuration for my USB modem from BSNL on Ubuntu is working. The wvdial.conf file should be as below. After you copy this to /etc/wvdial.conf you'll need to run the wvdialconf again to get the setup right.
[Dialer Defaults] Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem Phone = #777 ISDN = 0 Username = my username Init1 = ATZ Password = my password Modem = /dev/ttyUSB0 Baud = 460800 Auto DNS = off Auto Reconnect = on dns = 208.67.222.222 dns = 208.67.220.220 Stupid Mode = 1
regards,
Harish
On Fri, Nov 28, 2008 at 11:17 AM, vinay sreenivasa vinay@itforchange.net wrote:
HI all,
We are trying to connect a Reliance data card (new model - EC121) to Ubuntu 8.04 and we are not able to. I have used reliance other USB cards before with linux and configuring it was not a problem.I've pasted below the details of the things we tried, can you guys please help us? The Main problem is that modem is not getting reconized. This is due to the fact that device has usb storage to store windows driver etc. as well as modem. Due to this Linux kernel drivers get confused.
We tried using USB mode switch too, but it didnt work. Can you please let us know if what we are doing is correct?
checked $ lsusb gedit:11314): GnomeUI-WARNING **: While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. root@leena-laptop:/home/leena# lsusb Bus 007 Device 001: ID 0000:0000 Bus 006 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam Bus 006 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 004 Device 004: ID 12d1:1411 Huawei Technologies Co., Ltd. Bus 004 Device 003: ID 045e:0084 Microsoft Corp. Basic Optical Mouse Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000
then tried to do modprobe root@leena-laptop:/home/leena# modprobe usbserial vendor=0x12d1 product=0x1411 root@leena-laptop:/home/leena# but gving me nothing.
I updated wvdial.conf with following info [Modem0] Modem = /dev/ttyUSB0 Baud = 115200 SetVolume = 0 Dial Command = ATDT Init1 = ATZ FlowControl = Hardware (CRTSCTS) [Dialer cdma] Username = my Phone Number Password = and Password Phone = #777 Stupid Mode = 1 Inherits = Modem0
then thr' terminal tried to connect to card by $ wvdial cdma (gives me following) --> WvDial: Internet dialer version 1.60 --> Warning: section [Dialer cdma] does not exist in wvdial.conf. --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory
Problem here is modem not getting reconized. This is due to the fact that device has usb storage to store windows driver etc. as well as modem. Due to this Linux kernel drivers get confused. Then I searched more on problem got to know about "usb_modeswitch", http://www.draisberghof.de/usb_modeswitch/ Tried steps there but still nothing is working for me. Has anyone tried to use reliance EC121 for internet connection pl. help...
Vinay Sreenivasa IT for Change 91-98805-95032 vinay@itforchange.net
http://itforchange.net http://india.is-watch.net/ http://is-watch.net
fsug-bangalore-request@mm.gnu.org.in wrote:
Send FSUG-Bangalore mailing list submissions to fsug-bangalore@mm.gnu.org.in
To subscribe or unsubscribe via the World Wide Web, visit http://mm.gnu.org.in/cgi-bin/mailman/listinfo/fsug-bangalore or, via email, send a message with subject or body 'help' to fsug-bangalore-request@mm.gnu.org.in
You can reach the person managing the list at fsug-bangalore-owner@mm.gnu.org.in
When replying, please edit your Subject line so it is more specific than "Re: Contents of FSUG-Bangalore digest..."
Today's Topics:
- Re: my mail id (naveen mudunuru)
- Re: my mail id ( Rakesh ?????? )
- Re: my mail id (renuka prasad)
- Re: my mail id ( Rakesh ?????? )
- Re: my mail id (Anivar Aravind)
- Re: my mail id (renuka prasad)
Message: 1 Date: Thu, 27 Nov 2008 06:36:14 +0530 From: "naveen mudunuru" naveenmudunuru@gmail.com Subject: Re: [FSUG-Bangalore] my mail id To: "Free Software Users Group - Bangalore" fsug-bangalore@mm.gnu.org.in Message-ID: 218b833f0811261706o5016d6f5k2a1062c27f82c238@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Dear Prabodh,
First to start with, i would suggest you gather some students and conduct sessions to make them understand "what is free software". let them organise into free software advocates in the college and then you can plan various activities. the students themselves can arrange topics of interest. there are lot of people in this group who can help u in handling these sessions.
FSUG-Bangalore mailing list FSUG-Bangalore@mm.gnu.org.in http://mm.gnu.org.in/cgi-bin/mailman/listinfo/fsug-bangalore