LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2013, 07:22 AM   #1
sekarlinux
Member
 
Registered: Dec 2011
Posts: 48

Rep: Reputation: Disabled
Airtel E1731 Huawei modem device not detected in RHEL 6


Hi Friends,

I have tried to use Airtel USB modem device not detected as modem in RHEL6

Product id : 12d1
Vendor id : 1446

This SIM card type of USB modem. So please let me know the usb_modeswitch rules for converting from usb-storage to usb modem in the boot level.

I have tried other CDMA USB modem which is having same product id and vendor id that is converted into modem properly since USB convert rule in 61-option-modem-modeswitch.rules under /lib/udev/rules.d/

ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"

But my Airtel E1731 is SIM card type and not CDMA so it is nor working. So please advice me the rule.

Thanks
 
Old 07-24-2013, 09:18 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
Did you run this command?
Quote:
# lsusb
Can you see your modem in the list?

When you run following command
Quote:
# wvdialconf /etc/wvdial.conf
Quote:
Do you get this error?
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
If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
Have you added vendor id and product id of your usb modem in modprobe?
Quote:
# sudo modprobe usbserial vendor=0xVID product=0xPID
You will get vid and pid from output of command lsusb

If not add them and run
Quote:
# wvdial
if it shows modem name like /dev/ttysomething/
it means it is connected. Make a new connection using mobile broadband.
Try to connect to internet.

If not
Now paste the out put.
 
Old 07-24-2013, 12:29 PM   #3
sekarlinux
Member
 
Registered: Dec 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
When we run this command modprobe usbserial vendor=0x12d1 product=0x1446 it says, No drivers found, hardware detached before like this...

---------- Post added 07-24-13 at 11:00 PM ----------

Yes. When we run wvdial command it says there is no modem found
 
Old 07-25-2013, 02:10 AM   #4
eklavya
Member
 
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
Post your output of lsusb. Not complete , the lines in which shows the details of your Huawei modem .
 
Old 07-25-2013, 07:41 AM   #5
sekarlinux
Member
 
Registered: Dec 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
Bus 002 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
 
Old 07-25-2013, 10:14 AM   #6
eklavya
Member
 
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
Once again try to run this.
Quote:
# sudo modprobe -r usbserial
# sudo modprobe usbserial vendor=0x12d1 product=0x1446
Now run
Quote:
# wvdial
or
Quote:
# wvdialconf /etc/wvdial.conf
Now it should detect the modem.
I haven't tried this on RHEL but I tried this on CentOS (A clone of redhat) and it was perfectly working there.

Take a look at these links too.
http://www.techonia.com/530/install-...b-modem-centos
This is for slackware but your problem is described here
http://www.linuxquestions.org/linux/...weiec152_modem
 
Old 07-25-2013, 12:17 PM   #7
sekarlinux
Member
 
Registered: Dec 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
Actually i ran this command usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1446 and it was converted into modem and it was mapped as well.

But it is not working when unplug/plug automatically. Every time it is required to run this command once i plugged. Can we make this conversion automatically once we plugged dongle into machine?
 
Old 07-26-2013, 01:57 AM   #8
eklavya
Member
 
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
You can write a script for it that whenever you plug in the modem, it will run the script.

Create a new udev rules file in /etc/udev/rules.d/

Take help from here,
http://www.redhat.com/magazine/002dec04/features/udev/
http://ekuric.wordpress.com/2011/08/...ng-udev-rules/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Huawei E1731 doesn't dial successfully b56r1 Linux - Newbie 1 05-10-2013 02:35 AM
USB modem can be detected but device cannot be opened eryn Linux - Kernel 4 12-29-2009 09:33 PM
how to install HUAWEI (ETS 2558) WIRELESS CDMA MODEM using RHEL 5 Masood Awan Linux - Newbie 1 07-03-2009 12:10 PM
failed to connect net on fedora 10 with airtel gprs with nokia n73 modem krisdkol Linux - Newbie 0 06-21-2009 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration