LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-29-2017, 03:16 AM   #1
SimonWh
Member
 
Registered: May 2017
Posts: 46

Rep: Reputation: Disabled
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
 
Old 05-29-2017, 04:14 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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*
 
Old 05-29-2017, 05:43 AM   #3
SimonWh
Member
 
Registered: May 2017
Posts: 46

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-29-2017, 04:17 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
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
 
Old 05-29-2017, 04:27 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
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
 
Old 05-30-2017, 12:27 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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
 
Old 05-30-2017, 12:47 AM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
I think it needs firmware.
Not in my experience.
 
Old 05-30-2017, 02:35 AM   #8
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
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.
 
Old 05-30-2017, 06:10 AM   #9
SimonWh
Member
 
Registered: May 2017
Posts: 46

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-30-2017, 02:35 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

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

Thanks for the update.
 
Old 05-31-2017, 09:20 PM   #11
Barkester
Member
 
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67

Rep: Reputation: Disabled
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.
 
Old 05-31-2017, 09:40 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,800

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The OP already reported that the device was now working as expected
 
Old 06-01-2017, 10:20 AM   #13
SimonWh
Member
 
Registered: May 2017
Posts: 46

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



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
modem-switch-wireless router - NO? dvp1964 Linux - Networking 2 10-05-2011 08:36 AM
modem to router to switch to PCs evil_empire Linux - Newbie 8 09-12-2009 05:05 AM
server <--network switch> modem maxsanders Linux - Networking 6 05-03-2007 07:02 PM
Problem with router/modem/switch Tux_Phoenix Linux - Networking 3 12-20-2005 02:33 PM
Speedtouch modem not working after switch to Xorg bugsbunny Slackware 1 05-31-2004 10:32 AM

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

All times are GMT -5. The time now is 01:14 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
Open Source Consulting | Domain Registration