LinuxQuestions.org
Help answer threads with 0 replies.
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, 06: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, 08:18 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
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, 11:29 AM   #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, 01:10 AM   #4
eklavya
Member
 
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
Post your output of lsusb. Not complete , the lines in which shows the details of your Huawei modem .
 
Old 07-25-2013, 06: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, 09:14 AM   #6
eklavya
Member
 
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
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, 11:17 AM   #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, 12:57 AM   #8
eklavya
Member
 
Registered: Mar 2013
Posts: 633

Rep: Reputation: 141Reputation: 141
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 01:35 AM
USB modem can be detected but device cannot be opened eryn Linux - Kernel 4 12-29-2009 08:33 PM
how to install HUAWEI (ETS 2558) WIRELESS CDMA MODEM using RHEL 5 Masood Awan Linux - Newbie 1 07-03-2009 11:10 AM
failed to connect net on fedora 10 with airtel gprs with nokia n73 modem krisdkol Linux - Newbie 0 06-20-2009 11:57 PM

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

All times are GMT -5. The time now is 03:17 AM.

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
Open Source Consulting | Domain Registration