Connect to internet by USB modem Huawei E3372
I installed Ubuntu 14.04 in the new Lenovo notebook IP B50-80 , the installation was no problem, but I just found out that you can not connect a USB modem Huawei E3372 (T-Mobile Czech Republic- service provide name). Notebook modem recognizes, but only as a CD drive.
http://
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Vladimir Vojta
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
The usb_modeswitch package should handle the switch from the CD mode into modem mode of such Huawei USB devices.
To get some diagnostic information please perform the following steps:
unplug the device, wait half a minute, re-insert the device, wait half a minute again and issue the following commands in a terminal window:
uname -a
lsb_release -crid
dpkg -l | grep modeswitch
lsusb
dmesg | tail
Revision history for this message
|
#2 |
Every time when I joined Huawei USB modem appeared window with information:
Error mounting /dev/sr1 at /media/
mount: special device /dev/sr1 does not exist
Here is a list of desired commands from the terminal:
lenovo@
Linux Lenovo-B50-80 3.16.0-46-generic #62~14.04.1-Ubuntu SMP Tue Aug 11 16:27:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
lenovo@
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
lenovo@
ii usb-modeswitch 2.1.1+repack0-
ii usb-modeswitch-data 20140327-1 all mode switching data for usb-modeswitch
lenovo@
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
Bus 002 Device 005: ID 0cf3:3004 Atheros Communications, Inc.
Bus 002 Device 002: ID 5986:0652 Acer, Inc
Bus 002 Device 008: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lenovo@
[ 2319.508411] usbcore: registered new interface driver huawei_cdc_ncm
[ 2320.331176] scsi 5:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
[ 2320.331204] scsi 4:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 2320.334536] sr1: scsi-1 drive
[ 2320.334668] sr 4:0:0:0: Attached scsi CD-ROM sr1
[ 2320.334736] sr 4:0:0:0: Attached scsi generic sg2 type 5
[ 2320.335024] sd 5:0:0:0: Attached scsi generic sg3 type 0
[ 2320.339256] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 2320.492194] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 2320.514730] ISOFS: changing to secondary root
lenovo@
Thank you for help. :-)
Revision history for this message
|
#3 |
Two items:
1. you seem to have an entry in your /etc/fstab configuration file that instructs the system to mount any CD that it can find, and this interferes with the programs to handle the Huawei modem.
What is the output of
cat -n /etc/fstab
2. according to the output of lsusb ("... 12d1:1506 ...") the usb_modeswitch program has already switched the Huawei device from CD mode into modem mode.
what is the output of
ls -l /dev/ttyu* /dev/ttyU*
If this still doesn't work, you could try manually installing the latest usb-modeswitch and usb-modeswitch-data packages. There is some change for the Huawei E3372 in the latest version.
Revision history for this message
|
#4 |
Hello, there are outputs of commands:
lenovo@
1 # /etc/fstab: static file system information.
2 #
3 # Use 'blkid' to print the universally unique identifier for a
4 # device; this may be used with UUID= as a more robust way to name devices
5 # that works even if disks are added and removed. See fstab(5).
6 #
7 # <file system> <mount point> <type> <options> <dump> <pass>
8 # / was on /dev/sda2 during installation
9 UUID=36dd88fd-
10 # /boot/efi was on /dev/sda1 during installation
11 UUID=D3F4-5616 /boot/efi vfat defaults 0 1
12 # swap was on /dev/sda3 during installation
13 UUID=b5184f22-
lenovo@
ls: nelze přistoupit k /dev/ttyu*: Adresář nebo soubor neexistuje
ls: nelze přistoupit k /dev/ttyU*: Adresář nebo soubor neexistuje
Translations of czech informations in output:
nelze přistoupit k - You can not proceed to the
Adresář nebo soubor neexistuje - No such file or directory
Thank you for help. :-)
Revision history for this message
|
#5 |
Apparently there are some problems / bugs with the newest Huawei modems in older versions of usb-modeswitch. The newest version of the software which is available for wily has already got some changes that hopefully will help.
It should be possible to install that newest version also on your trusty system.
Try the following:
open a terminal and issue the commands
wget http://
wget http://
sudo dpkg -i usb-modeswitch_
Then reboot, try using your Huawei modem and report the outcome.
If you get any error message please provide its full text.
Revision history for this message
|
#6 |
Hello,
I send the whole list of orders that I had done.
lenovo@
--2015-09-02 19:48:14-- http://
Překládám launchpadlibrar
Navazuje se spojení s launchpadlibrar
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 51622 (50K) [application/
Ukládám do: „usb-modeswitch
100%[==
2015-09-02 19:48:18 (118 KB/s) – „usb-modeswitch
lenovo@
--2015-09-02 19:48:50-- http://
Překládám launchpadlibrar
Navazuje se spojení s launchpadlibrar
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 32066 (31K) [application/
Ukládám do: „usb-modeswitch
100%[==
2015-09-02 19:48:54 (29,8 KB/s) – „usb-modeswitch
lenovo@
[sudo] password for lenovo:
dpkg: error processing archive usb-modeswitch_
nelze přistoupit k archivu: Adresář nebo soubor neexistuje
dpkg: ohledně usb-modeswitch-
usb-modeswitch-data porušuje usb-modeswitch (<< 2.2.2)
usb-modeswitch (verze 2.1.1+repack0-
dpkg: error processing archive usb-modeswitch-
instalace balíku usb-modeswitch-data by porušila balík usb-modeswitch a
dekonfigurace není povolena (mohlo by pomoci --auto-deconfigure)
Při zpracování nastaly chyby:
usb-modeswitch_
usb-modeswitch-
********
Here is a translation error messages dpkg command:
dpkg: error processing archive usb-modeswitch_
can not access archive: No such file or directory
dpkg: regarding usb-modeswitch data_20150627-
modeswitch-
usb-modeswitch (version 2.1.1 + repack0-1ubuntu1) is present and installed.
dpkg: error processing archive usb-modeswitch-
installation package usb-modeswitch-data would violate the package usb-modeswitch and
deconfiguration is not permitted (this could help --auto-deconfigure)
Errors were encountered while processing:
usb-modeswitch_
usb-modeswitch-
********
Then I reboot notebook, I tried to used my USB Huawei modem and I connect my notebook without any errors to internet. :-)
USB modem Huawei is still in the launcher shown as CD drive.
I do not know what happened, because commands dpkg most likely not implemented, but the connection to the internet works.
Thank you for help. :-)
Revision history for this message
|
#7 |
It seems that wget has changed the file name.
The correct command would have been
dpkg -i usb-modeswitch_
But if everything is working well, you need not try that.
Revision history for this message
|
#8 |
Manfred Hampl thank you for help! :-)