LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Airtel E1731 Huawei modem device not detected in RHEL 6 (https://www.linuxquestions.org/questions/linux-newbie-8/airtel-e1731-huawei-modem-device-not-detected-in-rhel-6-a-4175470736/)

sekarlinux 07-24-2013 06:22 AM

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

eklavya 07-24-2013 08:18 AM

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.

sekarlinux 07-24-2013 11:29 AM

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

eklavya 07-25-2013 01:10 AM

Post your output of lsusb. Not complete , the lines in which shows the details of your Huawei modem .

sekarlinux 07-25-2013 06:41 AM

Bus 002 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)

eklavya 07-25-2013 09:14 AM

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

sekarlinux 07-25-2013 11:17 AM

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?

eklavya 07-26-2013 12:57 AM

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/


All times are GMT -5. The time now is 10:01 PM.