LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to switch USB modem (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-switch-usb-modem-4175606872/)

SimonWh 05-29-2017 03:16 AM

How to switch USB modem
 
Hello To all of you,
I am new to linux, and find some things a bit different from windows.
I need some help to install a Huawei rooter that I have been using for internet. I believe that the system is seeing it as mass storage, so I need to switch it.
I am seeing the following:
ID 12dl:14dc Huawei technologies.
Can you please tell me what command to type to change to a modem.
Thanks for your help
Simon

ferrari 05-29-2017 04:14 AM

Welcome to LinuxQuesions.org. You should probably post the distribution details as well. Normally usb-modeswitch is used to help get the modem device switched automatically. A quick search online suggests that the 14dc product ID is consistent with the modem device being active (as opposed to the storage device).

For example
https://gist.github.com/plieningerwe...6612dbd72701db

Are there any associated ttyUSB* device nodes present?
Code:

ls -l /dev/ttyUSB*

SimonWh 05-29-2017 05:43 AM

Hi
Thanks for that
This is what I am seeing
simon@simon-desktop ~ $ lsusb
Bus 002 Device 003: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 12d1:14dc Huawei Technologies Co., Ltd.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I can access the modem through it's IP address, but cannot connect to internet, so do not know what the problem is?
Regards
Simon

ferrari 05-29-2017 04:17 PM

Quote:

I can access the modem through it's IP address, but cannot connect to internet, so do not know what the problem is?
That's a different issue ;)

When connected, report back with the output from the following commands...
Code:

ip address
Code:

ip route
Code:

grep "name" /etc/resolv.conf

jefro 05-29-2017 04:27 PM

Are you saying you have a 3G/4G usb LTE type modem? Is this a usb modem that also has a sd card in it or a simple usb dongle type of modem.

This part lost me. Huawei rooter

AwesomeMachine 05-30-2017 12:27 AM

12d1:14dc is a two-part code for USB devices. The first part is the manufacturer. The second part is the model.

I believe what you have is a cellular modem. I think it needs firmware. http://www.modemunlock.com/huawei-li...tallation.html

ferrari 05-30-2017 12:47 AM

Quote:

I think it needs firmware.
Not in my experience.

tshikose 05-30-2017 02:35 AM

Hi SimonWh,

Can you share with us the exact model of Huawei device you are using?
As to jefro, it seems to me that it is USB GSM related device.

SimonWh 05-30-2017 06:10 AM

Hello,
It is a Huawei 6c16 router 4g modem with wifi.
For info it has started working on it's own.
I have No idea why
Thanks for all the help

jefro 05-30-2017 02:35 PM

Most times we'd like to know the reason but .... it is best to have it working. :)

Thanks for the update.

Barkester 05-31-2017 09:20 PM

Connections are better here but back when I lived in Cambo, I used Huawei with sim card.

I found that they weren't at all standardized and some were just unknown to Linux. No drivers yet. My answer was to try different ones 'till one got the ribbon. Took three tries that time.

The only real disadvantage to Linux is that sometimes we must wait a bit for a programmer with the spare time and the exact model to make that rare driver and share.

Good news though is 3g modems ain't new tech so get an older one and your odds are real good.

Got my last one at a pawn shop where I cut the deal to let me trade models if it didn't perform. I've also done this with other hardware. Bluetooths (blueteeth?), modems, joysticks, etc,. Anything with drivers, I cut the same deal.

Works for me. Good luck.

ferrari 05-31-2017 09:40 PM

The OP already reported that the device was now working as expected ;)

SimonWh 06-01-2017 10:20 AM

I believe it found it's own driver, I left it attached to the computer and to internet via telephone line.
We use both. It was after I left it like this over night that it started working.
Thanks all for the help


All times are GMT -5. The time now is 11:12 AM.